I've been using the first one since the last update.
The options are very minimal, but really helpful !! let me know how do you feel using them.
Enabling bracket pair colorization
"editor.bracketPairColorization.enabled": true,
Enabling Auto complete your sentence
"editor.suggest.preview": true,
Sorting code
{
"key": "shift+alt+s",
"command": "editor.action.sortLinesAscending"
}
Running multiple actions using macros
Because this is still not native feature, I'm using the macros extension.
{
"key": "shift+alt+f",
"command": "macros.fixDocumentAndSort",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly && !inCompositeEditor"
}
"macros": {
"eslintFixAndFormatDocument": [
"eslint.executeAutofix",
"editor.action.formatDocument"
],
},
In this binding, vscode is performing two actions
- formatting the document
- fixing eslint issues.
Top comments (0)