Chrome Dev Editor (CDE) Default keyboard shortcuts?
I have a lot of fun playing with the new CDE, BUT I couldn't find much documentation there.
Does anyone know the default shortcut key bindings? And secret commands?
I understand that it is based on the Ace editor, but doesn't seem to match the default key bindings:
https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts
What I need NOW is Find and Replace, it is not CtrlR which looks like RUN.
I know creating and maintaining documentation is boring, but at some point a simple reference to the core functionality would be nice. Nice thing to do while it's super cold right now (Canada).
+3
source to share
2 answers
Complicated...
- The way to cross-OS to replace in CDE is to click
Ctrl-F
(Command-F
on Mac) twice. Each subsequent print will alternate between Find and Replace. This is the default behavior of Ace, as seen in his own "Ace kitchen sink" proof-of-concept . - I'm not even sure if it's up to date
Ctrl-R
: I've checked several other IDEs that use Ace and it doesn't work there (Ace own Cloud9, Zed, ...). -
Ctrl-H
works in everything except Mac. Unfortunately, on the Mac, its equivalent isCommand-H
reserved by the system and hides the current window. - I have filed a bug against Chrome Dev editor to do something: https://github.com/dart-lang/chromedeveditor/issues/3803 .
- There is currently no way to see the shortcut bindings in CDE: this is bad and we (CDE team) will fix it soon.
0
source to share
CDE uses the ACE editor. Here are the default bindings for it:
https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts
+1
source to share