Sublime Forum

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

#1

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:
    :s@/

  4. Tada!! It’s hanged.

0 Likes

#2

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

3 Likes