Sublime Forum

Sublime hangs in Mac on typing a regex in a scala file


I’m using Sublime Text 3. When I type a string with regex => :SomeString@/ in a .scala file, the sublime gets hanged permanently.

Steps to reproduce:

  1. Create a file named: example.scala

  2. Save the file

  3. Now start typing the following:

  4. Tada!! It’s hanged.



I’ve put in a pull request for the default packages that fixes this issue: You can add this to your sublime text install if you want to have the fix before it’s released in a new build.