Sublime Forum

Can no longer type "{"

#1

I’m using 1.2.2 with the latest PowerUser and Zen coding installed. I am unable to type the Shift key and key to output and opening curly brace in my code. All other keys work fine including closing curly brace. it is only this that doesn’t work. I’m sure it was working fine before (I don’t use this PC as often to code).

Any ideas?

0 Likes

#2

Presumably because something is bound to ‘{’ … check to see if there are any error messages in the console.

You can try running with a fresh set of packages by deleting %APPDATA%\Sublime Text, that would remove the plugins you’ve got installed though.

0 Likes

#3

Hi,

the console shows…

No such snippet Packages/PowerUser/Snippets/curly_braces.sublime-snippet
0 Likes

#4

Ok, so in one of the Default.subiime-keymap files (likely the one in the power user directory), there’ll be a line along the lines of:

<binding key="{" command="insertSnippet 'Packages/PowerUser/Snippets/curly_braces.sublime-snippet'"/>

Delete this line and ‘{’ should return to normal.

0 Likes

#5

Found it. Thanks.

0 Likes

#6

Thx jps for taking care of that, and my bad, this is no longer in the package, I believe sublime does it by default now, at least it does it in my computer lol :smile:

0 Likes