Commenting of block/line not working

Answered

I'm using eclipse keymap.

Whenever I select a code block and Ctrl + Shift + 7 it puts a "7" next to the line number.

Whenever I press Ctrl + 7 I jump to these lines. It seems like a weird bug. 

 

0
2 comments
Avatar
Permanently deleted user

Update:

It seems as "Bookmarks" are using the keymap Ctrl + Shift + (0-9) and Ctrl + (0-9).

And comment shortcuts uses Ctrl + Shift + Slash and Ctrl + Slash.

Now this is a little weird since on my keyboard layout (Nordic) these commands are identical key presses.

I solved this by removing the keybinding Ctrl + Shift + 7 and Ctrl + 7 on bookmarks and changed the keymaps on commenting to these instead.

0

Thanks, this helped me ... it was some odd behaviour one is ctrl shift 7, while the other is ctr + (shit 7), which i guess are the same.

 

i just added another command for comment of 2 buttons ctrl and plus on italian, which is near enter. i suppose 2 buttons are better for comments

0

Please sign in to leave a comment.