Reuse keyboard shortcuts from Delphi IDE

Issue #76 open
IAmHardliner created an issue

The Delphi IDE has some cool shortcuts which would be cool if you could support them.

E.g.: Ctrl+Shift+C: Add implementation for function
Ctrl+Shift+UP, Ctrl+Shift+DOWN: Jump between function body and declaration, Jump between uses section
Ctrl+Enter: Open file under curser (uses section)

Comments (7)

  1. Christopher Wosinski repo owner
    • changed status to open

    It makes sense to add these shortcuts as well.

    For the moment you can add an implementation with CTRL+. when the cursor is placed on a method name having the green squiggly line beneath it. You can toggle between declaration and implementation with CTRL+Click or F12. The same shortcut is used to open the unit name under cursor in a uses section.

  2. Martin Liesén

    Please also consider that in Delphi IDE Ctrl+Shift+UP, Ctrl+Shift+DOWN is more relaxed concerning where the cursor must be positioned compared with omnipascal F12.

  3. Log in to comment