Skip to content

Instantly share code, notes, and snippets.

@stevenlr
Created September 8, 2017 09:44
Show Gist options
  • Save stevenlr/c5680566a00d4047bb459ebd2c54148e to your computer and use it in GitHub Desktop.
Save stevenlr/c5680566a00d4047bb459ebd2c54148e to your computer and use it in GitHub Desktop.
VSCode config
{
/*
// Place your snippets for C++ here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
"Print to console": {
"prefix": "log",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
}
*/
"For loop": {
"prefix": "for",
"body": [
"for ($1; $2; $3)",
"{",
"\t$0",
"}"
]
},
"For iterator": {
"prefix": "fori",
"body": [
"for ($1 : $2)",
"{",
"\t$0",
"}"
]
}
}
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+shift+l",
"command": "workbench.action.tasks.runTask"
},
{
"key": "ctrl+oem_comma",
"command": "-workbench.action.openGlobalSettings"
},
{
"key": "ctrl+oem_comma",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+p",
"command": "-workbench.action.quickOpen"
},
{
"key": "ctrl+l",
"command": "center-editor-window.center",
"when": "editorTextFocus"
},
{
"key": "ctrl+oem_period",
"command": "cursorMove",
"when": "editorTextFocus",
"args": {
"to": "viewPortCenter"
}
},
{
"key": "ctrl+shift+oem_comma",
"command": "workbench.action.openGlobalSettings"
}
]
{
// Définit le langage affiché par VSCode.
// Consultez https://go.microsoft.com/fwlink/?LinkId=761051 pour connaître la liste des langues prises en charge.
// Si la valeur change, VSCode doit redémarrer.
"locale":"en"
}
{
"workbench.editor.showIcons": true,
"workbench.iconTheme": "vs-seti",
"editor.fontSize": 12,
"editor.renderWhitespace": "boundary",
"editor.minimap.enabled": true,
"editor.minimap.renderCharacters": true,
"editor.mouseWheelZoom": true,
"editor.cursorBlinking": "smooth",
"editor.showFoldingControls": "always",
"files.associations": {
"*.gl": "glsl"
},
"terminal.integrated.shell.windows": "C:\\Windows\\Sysnative\\cmd.exe",
"python.linting.enabledWithoutWorkspace": false,
"telemetry.enableTelemetry": false,
"telemetry.enableCrashReporter": false,
"typescript.check.npmIsInstalled": false,
"C_Cpp.intelliSenseEngine": "Default",
"workbench.startupEditor": "newUntitledFile",
"workbench.editor.enablePreview": true,
"window.zoomLevel": 0,
"git.confirmSync": false,
"gitlens.codeLens.enabled": false,
"editor.smoothScrolling": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment