phoenix
phoenix copied to clipboard
Support for VScode keybinding
Phoenix should support Vs code key bindings
Add support for settings dropdown in shortcuts panel
The settings dropdown will have the following options
- Reset to defaults
- Use Phoenix Code Shortcuts
- Use VS Code Shortcuts
creating the dropdown
- The code for the shortcuts extension is located in
src/extensionsIntegrated/DisplayShortcutsfolder. - Dropdowns can be created using
DropdownButton. See sample usage inFileFilters.jsfile.
in keybindingManager.js, add a addExtensionKeyMap API that changes the _loadUserKeyMap function such that, we first take all the extension supplied keymaps and then apply the user keymap over it. This is the simplest way to add extension keymap support.
We should also add a removeExtensionKeyMap as the _loadUserKeyMap API can be updated on the fly.