CTRL + / to comment
Reported by Matt Simpson | September 9th, 2010 @ 08:53 PM
is ctrl + / supposed to comment the current lines I have highlighted?
Comments and changes to this ticket
-
Erik Lundqvist September 9th, 2010 @ 10:26 PM
That's what the rsense plugin uses for code completion, just fyi
-
delisa October 11th, 2010 @ 05:47 PM
I think this one should be taken care of with the commenting plugin: http://github.com/kattrali/text-utils
After a bit of polish, it'll be ready to merge. -
delisa October 25th, 2010 @ 03:11 AM
- State changed from new to resolved
Fixed in d56cf48d385f560f0fe838a9ca169f1c2e4555cf
-
Babar O'Cap November 8th, 2010 @ 01:46 PM
Shortcut
<CTRL>+</>
and<CTRL>+<.>
don't work with the numpad keys (see attachment).Tested on Ubuntu.
Good job Delisa, thank for this plugin !
-
delisa November 10th, 2010 @ 01:37 PM
- State changed from resolved to open
That is odd. It doesn't work for me either. I'll have to take a look.
-
Deleted User November 20th, 2010 @ 05:57 PM
Though this may belong in another ticket, I think the behavior is a little broken.
Redcar 0.8.1 (on a mac)cmd-/ anywhere on a line: works
cmd-/ with multiple full lines highlighted: works
cmd-/ with partial lines highlighted: not so muchReproduce:
redcar /tmp/test.rbif this do_that end
Put the cursor before the 'd' on the second line.
shift-up-arrow one time; you will highlight the blank space on line 2 up to right after the if.
cmd-/ results in:if# this # do_that end
Expected:
# if this # do_that end
-
tim.felgentreff (at student.hpi.uni-potsdam) February 19th, 2011 @ 01:08 PM
- Assigned user set to delisa
Assigning to delisa, because i'd like to have this fixed as well ;)
-
delisa February 19th, 2011 @ 04:35 PM
If I had to take a stab, I'd assume its because SWT detects / and SWT::KEYPAD_DIVIDE differently, and something would have to be changed in the application_swt/menu/binding_translator.rb. I've been really strapped for free coding time lately though.
-
Daniel Lucraft February 19th, 2011 @ 11:11 PM
Interesting, delisa's suggestion sounds plausible.
Kwerle: that is expected behaviour, I carefully duplicated the behaviour from textmate :)
-
Denis September 27th, 2011 @ 12:37 PM
is it possible to detect html tags in html.erb files and comment it in proper way? i.e. <!-- --> instead of #
-
delisa September 27th, 2011 @ 01:47 PM
Actually...yes. I think. It sounds plausible to translate
document.cursor_scope
into a grammar name somehow, or change the comment lib map to use scopes instead of grammars. Anyone else have a thought on this? -
delisa September 27th, 2011 @ 02:46 PM
Ok, after fiddling for a minute, I have a possible solution to this, though it needs a bit of work to ensure it would give desirable results in a majority of cases: https://gist.github.com/1245069
-
Denis September 27th, 2011 @ 03:19 PM
delisa, please guide me how I can test it. if it possible for now.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A programmer's text editor for Gnome.