Community
Participate
Working Groups
I'm using the key combination Strg-7 resp. Strg-Shift-/ for commenting and uncommenting blocks of code a lot in the Eclipse java editor. It would be great, if LDT also supports this command. LunarEclipse has this feature, but apparantly also a few more bugs. ;-)
I've just found out, that it is bound to the key "Ctrl-Shift-C". Is there any chance to put it to the standard key "Ctrl-Shift-7"? I was not able to change it to this key combination, why ever.
Hi Marc! It sounds like a bug, since Ctrl+7 works well with other DLTK-based editor such as Ruby. I will investigate... Thanks for the nice feedback, keep on providing it, we appreciate it very much :)
Hi Benjamin, thanks for your fast reply. :-) It's a very strange issue. When I bind the command to something different then Ctrl-Shift-C it's not functioning anymore. I've resetted my keymap to the default values, but it didn't help. I just saw that there is also a default mapping "Ctrl-Shift-/" for "Add Comment Block" which is probably for your plugin (When: Editing in structured Text Editors). But it doesn't function. Even if I bind it to "Ctrl-u". Commenting blocks of code in Java-Code is functioning with "Ctrl-Shift-/" in the same workspace. Is it perhaps caused by the german keymap I'm using? Things like the "/" character are located at a different key on the german keymap.
Hi Marc, I just fixed it. If you update your LDT install, you should now be able to use either Ctrl+Shift+C, Ctrl+7, or Ctrl+/ to trigger the "Toggle Comment" command. Cheers Benjamin –
VERIFIED in 0.1.0.201202041759 on MacOSX 64
Yes, i can also confirm on my german Windows7, thank you very much! :-)
CLOSING as per latest Marc comment.