Comment 7 for bug 501337

Revision history for this message
Mystilleef (mystilleef) wrote :

Matej,

I just pushed a somewhat untested implementation of JavaScript commenting to the branch. It's in build 565. Still needs a lot of work and polish. But it's the best I could do by the weekend. :-) Please test.

Usage:

1) alt+c (un)comments single lines with "//"
2) Selecting multiple lines and pressing alt+c will (un)comment them with "/* */"
3) If cursor is inside a multiline comment, "/* */", alt+c will try to uncomment it.

There may be many corner cases that I have not handled correctly. Again I haven't tested extensively. So your feedback is appreciated.