Undocumented IDE KB shortcut

I've only just discovered this handy IDE 1.8.19 hotkey since starting Arduino some two years ago:

<Ctrl + Shift + V> pops up a neat clipboard history showing the last 12 entries. Double-clicking one pastes it to the text cursor position and closes the pop-up.

Couldn't see it documented?

Nor <Ctrl + D> to delete the hovered line without having to select it, which I posted about before. Anyone have any more?

1 Like

Does ALT-CTRL-comma bring up the list of hotkeys? (this is how it is accessed with IDE 2.2.0)

@xfpd Not in 1.8.15

1 Like

No. Anyone know how to show all the shorcuts for 1.8.19?

Fired up 2.2.1. Looks like there are hundreds listed!
Not my <Ctrl + Shift + V> though. And a brief browse shows sveral that differ from those in 1.8.19. Also didn't see an equivalent to my <Crl + D> either.

An OT digression: there's greater grief potential for me, when I eventually make the change, is the thousand or so hotkeys I have assigned to my Macro Express Pro app. The majority are scoped to specific applications (relatively few for Arduino), but over a hundred are global. So lots of possible conflict...

1 Like

(before you proceed... beware of duplicate shortcuts.. I found a few in the unedited list)

You can edit (copy from 1.8, paste to 2.x) all the 2.x shortcuts. Just click on the pencil at the left side of the list, as your mouse hovers over the line.

Most of the shortcuts are shown in the menus. But there are some others that are associated with functionalities not available from the menus, so not documented in that way.

These are the other undocumented Arduino IDE 1.x I am aware of:

  • Ctrl + { jumps from a bracket to the matching one.
  • Ctrl + Enter autocompletes with the last matching variable name.
  • Ctrl + D deletes current line
  • Ctrl + mouse wheel changes the editor font size.
  • Ctrl + Tab switches sketch tabs.

The command is named "Delete Line".

Alternatively, the "Cut" command will delete the entire line at the cursor position if you don't have any text selected (if you do have text selected, it will instead cut the selected text).

Plus my discovery of <Ctrl + Shift + V>.

Didn’t know about that ‘no selection’ feature of <Ctrl + X>, thanks, will try it shortly.

@ptillisch

That didn't work here! The text to be deleted always had to be selected first.

IDE 1.8.19.

The information I shared about the "Cut" command was in response to your Arduino IDE 2.x-specific comment:

So that part of my post was specific to Arduino IDE 2.x.

Surely by "equivalent to my <Crl + D>" you meant an equivalent keyboard shortcut in Arduino IDE 2.x, right?

A lot of this is implemented by Windows itself

Clipboard History I

Clipboard History II

1 Like

You’re right, it was a bit ambiguous, sorry!
I only ran v2 briefly to see the KB list and assumed you were referring to 1.8.19.

Interesting, thanks, I’ll explore when I’m back on the PC tomorrow.

My first thought when that list of a dozen clipboard entries popped up was that it was a Win 10 facility I’d accidentally triggered. But once I’d identified the responsible keys, repeated tests in several other applications and the desktop failed to reproduce it. Only with an IDE sketch active.

I suspect Arduino have used the reserved keys elsewhere, so they use their own 'special keys' to trigger the Windows 'spike' functions.

Confirmed.
It only happens after you've enabled clipboard history in Windows 10/11.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.