Hi everyone! Does anyone know if the shortcut to delete lines in the editor will continue in IDE v2.x? It was Ctrl+D in v1.x but it doesn't work in v2.x. I also can't find any shortcut to delete lines.
Hi @jpc0016. Edit > Cut has a similar behavior in Arduino IDE 2.x. If you have text selected, it will cut that text, but if you don't have any text selected it will cut the entire line the cursor is at.
It uses the standard Ctrl+X keyboard shortcut, but can be customized at File > Advanced > Keyboard Shortcuts.
If you prefer to keep Ctrl+X while also adding a Ctrl+D keyboard shortcut, for some reason there is also a "cut" command in addition to the "Cut" command (note the different capitalization of the first letter. So you could leave "Cut" at the current shortcut and instead set the shortcut for "cut" to ctrl+d
1 Like
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.