The new IDE 2.0 editor no longer supports the CTL+"/" macro to comment in/out blocks of code.
pert
March 3, 2021, 4:18pm
3
Also working for me on both Windows 10 and Ubuntu. Which operating system are you using @rebrown21 ?
FYI, on a Mac, use Option-Shift-A
pert
March 14, 2021, 8:53pm
5
Thanks @esp32croft ! I'm not very knowledgeable about macOS. Was the different key binding chosen due to Option + / already being used by the system? Or is that a standard macOS convention for block commenting?
I see some related discussion here (but nothing about this specific key binding):
opened 07:50PM - 19 Oct 19 UTC
closed 09:51AM - 12 Dec 19 UTC
type: enhancement
os: macos
**Describe the bug**
The short cuts used are non standard.
**Expected behavi… or**
Examples:
- [x] Command + W = Close Window (fixed in https://github.com/eclipse-theia/theia/pull/6635)
- [x] Command + , = Preferences (fixed in https://github.com/eclipse-theia/theia/pull/6620)
- [x] Command + Shift + S = Save As (fixed in https://github.com/eclipse-theia/theia/pull/6620)
I was recently experimenting with VSCode and Platform before I discovered this v2 IDE. It was there that I found the block comment key-combination.
My unruly complex project works fine under both versions of the Arduino IDE but I was having problems getting the code to compile under VSCode so I think I'll stay here
system
Closed
July 13, 2021, 11:12pm
7
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.
Keyboard shortcuts can now be customized by the user via the IDE's File > Advanced > Keyboard Shortcuts :
arduino:main
← arduino:atl-1118--customize-keybindings
opened 09:50AM - 17 Mar 21 UTC
The default keybindings may be reasonable for beginners, but PRO users expect th… e keybindings to be customizable, as they are in other editors.
In this PR:
- add the `theia/keymap` packages that let users change the default keybindings to their preference (see image below)
<img width="600" alt="image" src="https://user-images.githubusercontent.com/1636933/111651587-a5eebd00-8806-11eb-887a-0df114c39a2f.png">
- refactor the settings menu: from a single entry it's now submenu containing both the settings and the keymap actions to open the relevant functionalities (see images below)
<img width="400" alt="image" src="https://user-images.githubusercontent.com/1636933/111651477-8ce60c00-8806-11eb-9f7a-99a7aac0ca81.png">
(window version)
<img width="400" alt="image" src="https://user-images.githubusercontent.com/1636933/111659300-68416280-880d-11eb-9ea8-cd79033b4939.png">