Skip to Main Content
Feature Request FR-2295
Product Area
Status CLOSED

4 Voters

Change keyboard shortcuts in APEX Builder, for example to bring up Spotlight Search

morten Public
· Jan 20 2022

Idea Summary
It should be possible to re-map the keyboard shortcuts in the APEX Builder.

Use Case
The default key combination to bring up APEX Spotlight Search is “Ctrl+Quote”, which is not very practical on a non-US keyboard.

This idea has been closed due to the lack of community activity during the period since it was submitted.

Comments

Comments

  • john.snyders APEX Team OP 3.4 years ago

    Ctrl+Quote is a specific case of a general keyboard shortcut remapping.

  • hfluz.jr OP 2.3 years ago

    @john.snyders , what do you mean by general keyboard shortcut remapping? You mean something we can do at our end?

    I ask this because this issue is really annoying me. I just started to use APEX and I like to use spotlight search in other IDEs I use. The “Quote” is mapped to 176 keycode, which doesn't exist in my keyboard layout, so there's no way to use the spotlight search through shortcut.

  • john.snyders APEX Team OP 2.3 years ago

    Yes general keyboard shortcut remapping means a UI that lets the end user change most of the shortcuts (the ones that use apex.actions).

    There may be some other key on your keyboard that generates event.code = 'Quote'. Before we used event.which and will still fall back to that if there is no event.code and in this case the Quote key is 222.

    Last I checked there was no way for JavaScript to know what is printed on a given key.

    If you can create a bookmarklet or plugin or other way of injecting JavaScript you could use code such as the following to set a different key.

    apex.actions.lookup("spotlight-search").shortcut = "Ctrl+Insert";
    apex.actions.update("spotlight-search");