Keyboard shortcuts on repl IDE
abhisheksingh21 (0)

hello repl users ,
i dont know the keyboard shortcuts for repl IDE
can anyone give me a list of useful keyboard shortcuts to make my life easy while coding .

You are viewing a single comment. View All
Answered by ArchieMaclean (590) [earned 5 cycles]
View Answer
ArchieMaclean (590)

The repl.it editor is built on Monaco, which is the same editor that VS Code is built off of.

So check out the VS Code keyboard shortcuts: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf

Note: Some of these commands won't work, because the browser you're using will have built in shortcuts so sometimes they will trigger different shortcuts, and repl.it has changed a couple (most notably, disabling Ctrl S (save) and changing Ctrl Enter to run repl). Test each one before you use it!

Some of the most useful I use are:
Ctrl Enter: Run repl
Ctrl Shift K: Delete current line
Ctrl Shift Enter: Add line above
Ctrl F: Search
Ctrl H: Search and Replace
Ctrl Shift P: Open quick find commands

The last option displays commands you can use and keyboard shortcuts - I don't know if this an exhaustive list or not.

For Mac, I think you should be able to swap Ctrl for Cmd and it should work, but test this as I am not a Mac user.

Please mark this as the answer if it answered your question :)

ArchieMaclean (590)

@abhisheksingh21 No problem :)

I believe you can mark this as the correct answer? That would help so other people know it's been solved.