Home Download Buy Blog Forum Support

Can no longer type "{"

Can no longer type "{"

Postby firefusion on Mon Oct 26, 2009 3:27 pm

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?
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Can no longer type "{"

Postby jps on Mon Oct 26, 2009 9:59 pm

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.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Can no longer type "{"

Postby firefusion on Tue Oct 27, 2009 6:41 am

Hi,

the console shows...

Code: Select all
No such snippet Packages/PowerUser/Snippets/curly_braces.sublime-snippet
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Can no longer type "{"

Postby jps on Tue Oct 27, 2009 8:37 am

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:

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


Delete this line and '{' should return to normal.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Can no longer type "{"

Postby firefusion on Tue Oct 27, 2009 9:14 am

Found it. Thanks.
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Can no longer type "{"

Postby EJ12N on Tue Oct 27, 2009 9:17 pm

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 :)
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 25 guests