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.
- Doesn't jump between lines when you enter numbers
- Shows helpful message if you exceeded number of lines
- When you jump to line, keep you screen in center (can be enabled/changed via setting)
Right click on extension (from sidebar) -> Open Extension Folder.
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
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).
I use it as fixed variant of cmd+backspace
shortcut.
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.