Line commenting shortcut does not work.
The line commenting keyboard shortcut (Ctrl + / in Ubuntu, Cmd + / in Mac) does not work. First I encountered the problem with Mac OSX Lion and now it appeared also in my work computer (Ubuntu 10.10). Both run RStudio 0.95.261. And both have Finnish keyboards.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Josh Paulson on 16 Mar, 2012 12:45 PM
Juuso,
We actually just released a fix for this, can you download the latest build (0.95.263) and let me know if this fixes it.
http://www.rstudio.org/download/desktop
Thanks,
Josh
3 Posted by Juuso Parkkinen on 16 Mar, 2012 01:45 PM
Hi Josh,
Thanks for the answer! Just installed version 0.95.263 on OS X Lion, but unfortunately the problem seems to persist :(
For my work Ubuntu I can't update RStudio myself, need to ask admins the do that and it may take a while. But I'll let you know whether this works for Ubunut or not.
Support Staff 4 Posted by Josh Paulson on 18 Mar, 2012 10:42 PM
Juuso,
This might be a result of the Finnish keyboard then as we've seen a few problems with this using other languages. We're looking into it though and could you do the following quick:
1) Go to the following URL: http://www.quirksmode.org/js/keys.html
2) Scroll to the bottom of the page and select the keydown checkbox
3) press Cmd + / (which is the shortcut that is supposed to work for commenting)
4) Tell us the output
Josh
5 Posted by Juuso Parkkinen on 20 Mar, 2012 07:43 PM
Hi Josh,
The output for pusing CMD + / (CMD + shift + 7) is this:
keydown
keyCode is 91
charCode is 0
keydown
keyCode is 16
charCode is 0
keydown
keyCode is 191
charCode is 0
br, Juuso
Support Staff 6 Posted by Josh Paulson on 20 Mar, 2012 07:56 PM
Juuso,
Thanks and we'll be looking into this as well. I've updated our bug report with this information.
Josh
7 Posted by Juuso Parkkinen on 21 Mar, 2012 02:13 PM
Hi Josh,
Thanks for your help!
I checked this in Ubuntu as well, the output (below) is otherwise the same,
but the first key is of course different (CMD in Mac, Ctrl in PC).
br, Juuso
keydown
keyCode is 17
charCode is 0
keydown
keyCode is 16
charCode is 0
keydown
keyCode is 191
charCode is 0
8 Posted by Simone on 23 Mar, 2012 08:32 AM
Hi,
The same occurs on windows with the new version (0.95.263).
Best,
Simone
keydown
keyCode is 17
charCode is 0
keydown
keyCode is 16
charCode is 0
keydown
keyCode is 55
charCode is 0
Support Staff 9 Posted by Josh Paulson on 23 Mar, 2012 02:12 PM
Simone,
Thanks and we are still looking into this. This information will help! What type of keyboard layout do you have?
Josh
10 Posted by Simone on 23 Mar, 2012 02:50 PM
Hi Josh,
Best,
Simone
Support Staff 11 Posted by Josh Paulson on 23 Mar, 2012 03:38 PM
Nope that is fine, but just wanted to be sure.
Thanks,
Josh
12 Posted by julien.textoris on 14 Apr, 2012 11:27 AM
Hi,
I think i have a similar problem with french keyboard, were the "/" key is located above the ":" key, so if i use a keyboard with a numpad block, there is a "/" key alone and CTRL+/ works, but if i work on my notebook, with no numpad, the combination CTRL+SHIFT+: does not work. The combinaison of keys on my keyboard is :
keydown
keyCode is 17
charCode is 0
keydown
keyCode is 16
charCode is 0
keydown
keyCode is 59
charCode is 0
the rstudio version i use is 0.96.73
Thanks for your help
Julien
Support Staff 13 Posted by Josh Paulson on 14 Apr, 2012 04:00 PM
Julien,
Thanks and I've added this to the bug report as well. We'll be taking a look.
Josh
14 Posted by Jérôme on 15 Apr, 2012 10:01 AM
Hello,
I have exactly the same problem on Debian 6 (amd64) with the swiss french keyboard layout and rstudio 0.95.265. The "/" key is above the "7", so I have to press CTRL+SHIFT+7. The combinaison of keys on my keyboard is :
keydown
keyCode is 16
charCode is 0
keydown
keyCode is 17
charCode is 0
keydown
keyCode is 191
charCode is 0
Thanks a lot
Best regards
Support Staff 15 Posted by Josh Paulson on 15 Apr, 2012 09:06 PM
Thanks for posting and I've added this to the bug report as well.
Josh
Support Staff 16 Posted by Josh Paulson on 25 May, 2012 10:28 PM
Hello everyone,
This finally have been fixed for the commenting and uncommenting shortcut. You can download the new version here:
http://www.rstudio.org/download/desktop
Due to some problems with Qt, the shortcut is now switched to Ctrl + Shift + C. Let us know if you continue to have problems.
http://www.rstudio.org/docs/release_notes_v0.96.html#225
Josh
Josh Paulson closed this discussion on 25 May, 2012 10:28 PM.
Juuso Parkkinen re-opened this discussion on 27 May, 2012 02:18 PM
17 Posted by Juuso Parkkinen on 27 May, 2012 02:18 PM
Great, thanks!
Keep up the excellent work with RStudio!
br, Juuso
Josh Paulson closed this discussion on 27 May, 2012 04:45 PM.