Page 1 of 1
Comment and UnComment Buttons in Code Editor
Posted: Wed Jul 27, 2011 2:19 am
by BarrySumpter
Can we please have Comment and UnComment buttons in the Code Editor?
Re: Comment and UnComment Buttons in Code Editor
Posted: Wed Jul 27, 2011 11:21 pm
by jacque
There's Cmd [ on Windows, Control] - hyphen and shift hyphen. I think most people use that since we're typing in the editor anyway.
Re: Comment and UnComment Buttons in Code Editor
Posted: Wed Jul 27, 2011 11:39 pm
by BarrySumpter
I'm not.
The only time I comment is to comment after checking full script lines.
My hands are off the keyboard and on the phone or on the mouse.
And pasting test scripts.
Anyone know of a way to add an addon to the script exitor.
There was that alternative script editor for rev (I think) but I didn't spend enough time on it to see what it does.
Or maybe the one I'm thinking about is an addon for the IDE and not the script editor.
Re: Comment and UnComment Buttons in Code Editor
Posted: Thu Jul 28, 2011 10:32 pm
by mwieder
Barry-
The glx2 script editor is now an open-source project (
https://bitbucket.org/mwieder/glx2/downloads), and while it supports commenting and uncommenting lines or blocks, it does it in the same way as the IDE's script editor: control-dash or shift-control-dash. There's also a menu item to do this, but since you have to select a block to comment anyway it doesn't seem like that much of a stretch. It *can* be all done with the mouse, though...
Select a block to comment
or
triple-click a line to select the whole line
Select Comment (or Uncomment) from the Script menu (Edit menu in the IDE's script editor)
Re: Comment and UnComment Buttons in Code Editor
Posted: Fri Jul 29, 2011 12:10 am
by BarrySumpter
I still want the comment and uncomment buttons on the script ide command bar.
Or even better, a way to add macros as we see fit.