Home » U++ TheIDE » U++ TheIDE: CodeEditor, Assist++, Topic++ » make comments
make comments [message #22768] |
Wed, 12 August 2009 21:42  |
sapiency
Messages: 56 Registered: September 2008
|
Member |
|
|
Hi,
actually I use rev. 1472 from svn on debian. A few revisions ago I notice a nice feature in the editor
mark a few lines, press "CTRL + '+'" and the block was marked as comment with /* ... */, press the shortcut again the comments were removed.
actually its not available and I cannot find such a option in the dialog to configure the keyboard shortcuts for the ide.
I really enjoyed it. Is it still available, but with another shortcut? Or did you remove it ...
regards
reinhard
|
|
|
|
|
Re: make comments [message #22782 is a reply to message #22779] |
Fri, 14 August 2009 21:21   |
sapiency
Messages: 56 Registered: September 2008
|
Member |
|
|
Novo wrote on Fri, 14 August 2009 06:23 | It is Ctrl +[/] on my laptop ...
It would be nice to find a combination for C++ stile comments too. 
|
ok, that works for me too, but only with linux and when I enabled the option in environment
with windows only "SHIFT + *" works, but it works bidirectional
maybe it was this shortcut and I remember something wrong. I removed ".upp" before I installed the latest version, so I not need to copy the sources to my homedirectory manually ...
@novo:
you can solve your idea with "abbreviations", just create one with one blank and put the "//" to what to do with this
whenever you type " ", Ctrl + "." you geht your "//"
@mr_ped:
I didn't remeber, but after this tests I believe I the option was enabled. by the way, it works in both ways when you mark complete lines, e.g. with "SHIFT + curser down"
reinhard
|
|
|
Re: make comments [message #22786 is a reply to message #22782] |
Sat, 15 August 2009 06:05  |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
sapiency wrote on Fri, 14 August 2009 15:21 |
@novo:
you can solve your idea with "abbreviations", just create one with one blank and put the "//" to what to do with this
whenever you type " ", Ctrl + "." you geht your "//"
|
Thanks. I figured out how to do that in a simpler way (thanks to mr_ped).
Just select a block of text and then hit [/]. If you selected a line block then this operation is bidirectional. This is what I missed for a long time.
[*] and Ctrl+[/] work the same way on my laptop.
Ctrl+[/] for some reason doesn't work on my Windows PC at work.
I think these tricks should be listed in an editor's "How To". Probably they already are but I didn't read it.
Regards,
Novo
|
|
|
Goto Forum:
Current Time: Tue May 13 01:28:30 CEST 2025
Total time taken to generate the page: 0.02540 seconds
|