lukehaas / RunJS

RunJS is a JavaScript playground for macOS, Windows and Linux. Write code with instant feedback and access to Node.js and browser APIs.
https://runjs.app
2.05k stars 45 forks source link

VS Code Shortcut for Block Comments #636

Open JustinTBrown opened 3 months ago

JustinTBrown commented 3 months ago

Hi! New customer here. Really appreciating RunJS so far.

Would it be possible to add the VS Code shortcut (⇧⌥A) for block comments? 🙏🏾

Here's the VS Code / Mac reference sheet: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf

lukehaas commented 3 months ago

Thanks @JustinTBrown. RunJS currently supports Sublime text shortcuts but at some point I'd like to either provide the option to switch to VS Code shortcuts or just switch over entirely to VS Code shortcuts. Until then, I'd prefer to keep it consistent and not mix them. Hope that sounds ok to you.

JustinTBrown commented 3 months ago

Ahh, I didn't realized that you've implemented Sublime Text shortcuts! Now I know I can just reference: https://docs.sublimetext.io/reference/keyboard_shortcuts_osx.html#keyboard-shortcuts-osx.

Thanks!