Sublime Forum

Sublime Text 2 bug with

#1

I think I’ve found a bug (Windows 7, 32 bits), but I need confirmation.

  1. Create a new Javascript file and save it (this is important);
  2. Write somechars (whatever,ie “abcd”), select them, then press quote '.

The expected output should be:

'abcd'

it is now:

'

If you don’t save the file on step 1, the bug is not here.

0 Likes

#2

Hi sublimator,

Double quotes works fine for me too, only single ones seems to have a problem.

0 Likes

#3

We can do without atm; Jon will certainly fix this very soon.

0 Likes

#4

This is caused by the “Object-Method-String.sublime-snippet” snippet. Its tabTrigger starts with a single quote, which causes a clash with the normal single quote key binding.

0 Likes

#5

Indeed, thanks jps.

0 Likes