Created
May 15, 2019 01:38
-
-
Save redaphid/2b9cb013f0d79be69a035e84e120753c to your computer and use it in GitHub Desktop.
vscode let me pick when to autocomplete!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "tab", | |
"command": "tab", | |
"when": "editorTextFocus && !editorReadonly && !editorTabMovesFocus" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "editor.emmet.action.expandAbbreviation", | |
"when": "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "insertSnippet", | |
"when": "editorTextFocus && hasSnippetCompletions && !editorTabMovesFocus && !inSnippetMode" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "jumpToNextSnippetPlaceholder", | |
"when": "editorTextFocus && hasNextTabstop && inSnippetMode" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "acceptSelectedSuggestion", | |
"when": "suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "insertBestCompletion", | |
"when": "atEndOfWord && !hasOtherSuggestions && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "insertNextSuggestion", | |
"when": "hasOtherSuggestions && textInputFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"window.zoomLevel": 1, | |
"atomKeymap.promptV3Features": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"csharp.referencesCodeLens.enabled": false, | |
"editor.minimap.enabled": false, | |
"workbench.iconTheme": "vscode-icons", | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"files.eol": "\n", | |
// Controls if quick suggestions should show up while typing | |
"editor.quickSuggestions": { | |
"other": true, | |
"comments": false, | |
"strings": false | |
}, | |
// Controls if suggestions should be accepted on 'Enter' - in addition to 'Tab'. Helps to avoid ambiguity between inserting new lines or accepting suggestions. The value 'smart' means only accept a suggestion with Enter when it makes a textual change | |
"editor.acceptSuggestionOnEnter": "off", | |
// Controls the delay in ms after which quick suggestions will show up. | |
"editor.quickSuggestionsDelay": 10, | |
// Controls if suggestions should automatically show up when typing trigger characters | |
"editor.suggestOnTriggerCharacters": true, | |
// Controls if pressing tab inserts the best suggestion and if tab cycles through other suggestions | |
"editor.tabCompletion": "off", | |
// Controls whether sorting favours words that appear close to the cursor | |
"editor.suggest.localityBonus": true, | |
// Controls how suggestions are pre-selected when showing the suggest list | |
"editor.suggestSelection": "recentlyUsed", | |
// Enable word based suggestions | |
"editor.wordBasedSuggestions": true, | |
// Enable parameter hints | |
"editor.parameterHints.enabled": true, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment