Home Download Buy Blog Forum Support

Toggle Comments not working with AS3 on Mac

Toggle Comments not working with AS3 on Mac

Postby HaunGO on Fri Feb 03, 2012 7:14 pm

Brand-new to Sublime Test
Toggle Comments doesn't work from neither the EDIT Menu, nor with Keyboard shortcuts.

It DOES work in .js files, and in .html files. but not with .as (ActionScript 3) files.

Please, any help!?

An absolutely FANTASTIC piece of software.. .. i just need to make comments.


Thanks,
HaunGO
 
Posts: 4
Joined: Fri Feb 03, 2012 6:49 pm

Re: Toggle Comments not working with AS3 on Mac

Postby HaunGO on Fri Feb 03, 2012 8:15 pm

OK, so I browsed the forums and found the solution. It involves copying the javascript preferences.

I quote from :http://www.sublimetext.com/forum/viewtopic.php?f=4&p=22546
I went to Preferences | Browse Packages and navigated to Javascript | Comments.tmPreferences which I opened with Sublime.

I then changed the lines (pretending that I did it in one try...)
<key>scope</key>
<string>source.js, source.json</string>

to
<key>scope</key>
<string>source.actionscript.2</string>



Sure enough, simple as that, it works!

Great!
HaunGO
 
Posts: 4
Joined: Fri Feb 03, 2012 6:49 pm


Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 15 guests