How to configure keyboard shortcuts for different keyboard layouts for Google Apps Script code editor menu.

39 views
Skip to first unread message

k9dug

unread,
Apr 2, 2020, 5:19:07 PM4/2/20
to Google Apps Script Community

I am learning Google Apps Scripts, using the code editor as instructed in the Codelabs tutorials. I am using a Norwegian keyboard (Lenovo Thinkpad), so some keyboard shortcuts don't work for me (eg 'Word completion' and 'Toggle comment'). My "/" sits on the number 7 key and requires Shift to reach it. Prefixing these shortcuts with Shift doesn't work.

Any suggestions how I can either:

a) make these shortcuts work?
or
b) assign new key combinations for them?

I don't want to alter keyboard layout. It has to remain as Norwegian.

Thanks.

Kim Nilsson

unread,
Apr 3, 2020, 2:39:31 AM4/3/20
to Google Apps Script Community
The key that is in the same place as the / on a US keyboard works for me.
So, in my case it is the '/* key, just to the left of Enter.
I do Ctrl-' to comment a line.

k9dug

unread,
Apr 3, 2020, 8:14:59 AM4/3/20
to Google Apps Script Community
Thanks Kim, 
I don't know which keyboard type you have, but I decided just to bite the bullet and try various combinations. The one that worked is Ctrl+', using the *' key to the left of the Return key. Not sure why, but I'm happy with that.


Thinkpad-Laptop-Keyboard-Norsk.jpg




Kim Nilsson

unread,
Apr 3, 2020, 8:17:30 AM4/3/20
to Google Apps Script Community
That's the one!
Reply all
Reply to author
Forward
0 new messages