VSCode commands that should be builtin
MIT License
Contains VSCode commands, that should be builtin!!
Some commands are already builtin or already got covered by another extension? Create an issue! Once I find one of these commands, it will be removed from this extension! So, expect breaking changes.
However, for now, there is no even way to notify you about that!
You can find more experimental and unstable commands/features in vscode-experiments.
openShortcutsOfAnotherPlatform
goToLine
openExtensionFolder
Right click on extension (from sidebar) -> Open Extension Folder.
togglePanelVisibility
renameSymbolAndFile
Renames symbol and (forcefully!) renames file to the same name.
For example:
// 📁 parseSomething.ts
export const parseSomething = () => {}
Position cursor on parseSomething
variable and run this command. It will rename the symbol and file name. (refactor)
// 📁 parseString.ts
export const parseString = () => {}
You can just run it with the same name to quickly turn file name into symbol name:
// 📁 parseString.ts
export const parseSomething = () => {}
After running on parseSomething
:
// 📁 parseSomething.ts
export const parseSomething = () => {}
typescript.updateImportsOnFileMove.enabled
recommended to bealways
Be aware, ctrl+z most probably won't work correctly
managePlatformKeybindings
Add keybindings like ctrlCmd+shift+t
to universal
group and these will be inserted into keybindings.json in normalized way (two different keybindings for different platforms).
deleteAllLeftAfterIndent
I use it as fixed variant of cmd+backspace
shortcut.
removeSurroundingCharacter
const obj = {
'foo',
'barr'
}
Select everything inside brackets, and run this command to remove surrounding symbols of the selection. Then you can quickly type [
to turn it into array.