Skip to content

Instantly share code, notes, and snippets.

@niklasnson
Last active November 21, 2019 07:27
Show Gist options
  • Save niklasnson/99551b9eb304784838447d63d6c9f772 to your computer and use it in GitHub Desktop.
Save niklasnson/99551b9eb304784838447d63d6c9f772 to your computer and use it in GitHub Desktop.
This is my "settings.json" file for VSCode.
{
// Bugfixing
"keyboard.dispatch": "keyCode",
// Editor settings
"editor.cursorBlinking": "smooth",
"editor.cursorStyle": "block",
"editor.fontLigatures": false,
"editor.fontSize": 12,
"editor.fontWeight": "600",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.lineHeight": 0,
"editor.lineNumbers": "on",
"editor.minimap.enabled": false,
"editor.multiCursorModifier": "alt",
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.autoIndent": false,
"editor.rulers": [
80,
100
],
"editor.detectIndentation": true,
"editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",
"editor.roundedSelection": true,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
},
"editor.quickSuggestionsDelay": 10,
"editor.parameterHints.enabled": true,
//"editor.autoClosingBrackets": true,
"editor.wordBasedSuggestions": true,
"editor.suggestFontSize": 0,
"editor.suggestLineHeight": 0,
"editor.selectionHighlight": true,
"editor.matchBrackets": true,
"editor.trimAutoWhitespace": true,
"editor.wordWrap": "on",
// Workbench settings
"workbench.activityBar.visible": true,
"workbench.editor.enablePreview": true,
"workbench.editor.highlightModifiedTabs": true,
"workbench.fontAliasing": "default",
"workbench.iconTheme": "material-icon-theme",
"workbench.settings.editor": "json",
"workbench.startupEditor": "none",
"workbench.statusBar.visible": false,
"workbench.editor.showIcons": true,
"workbench.colorCustomizations": {
"editor.selectionBackground": "#135564",
"editor.selectionHighlightBackground": "#135564",
"editor.findMatchBackground": "#135564",
"editor.findMatchHighlightBackground": "#556589",
},
// Zenmode settings
"zenMode.centerLayout": false,
"zenMode.hideTabs": false,
// Files settings
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true
},
"files.trimTrailingWhitespace": false,
// Explorer settings
"explorer.openEditors.visible": 0,
// Window settings
"window.zoomLevel": 0,
"window.openFoldersInNewWindow": "on",
"window.restoreFullscreen": true,
"window.restoreWindows": "all",
"window.titleBarStyle": "custom",
// Plugin Configuration
"editor.codeLens": true,
// Message settings
"material-icon-theme.showUpdateMessage": false,
// Ruby settings
"ruby.codeCompletion": "rcodetools",
"ruby.useBundler": true,
// CPP Settings
"C_Cpp.clang_format_fallbackStyle": "Google",
"C_Cpp.clang_format_style": "{ BasedOnStyle: Google, ColumnLimit: 120, BraceWrapping : {BeforeCatch: true, BeforeElse: true}, BreakBeforeBraces: Custom, AllowAllParametersOfDeclarationOnNextLine: false, BinPackArguments: false, BinPackParameters: false, BreakConstructorInitializersBeforeComma: true, ConstructorInitializerAllOnOneLineOrOnePerLine: false, DerivePointerAlignment: false, PointerAlignment: Left, IndentCaseLabels: true, KeepEmptyLinesAtTheStartOfBlocks: true, AlwaysBreakBeforeMultilineStrings: false }",
"C_Cpp.updateChannel": "Insiders",
"breadcrumbs.enabled": true,
// GIT Settings
"git.ignoreLegacyWarning": true,
"gitlens.advanced.messages": {
"suppressGitVersionWarning": true,
}
// Disable usage data and errors to be sent to Microsoft.
"telemetry.enableTelemetry": false,
// Disable crash reports to be sent to Microsoft.
"telemetry.enableCrashReporter": false,
// Disable autoupdates of extensions
"extensions.autoUpdate": false,
// Ignore recommendations related to the file being just edited
// for example opening .java file will prompt to install java extension
"extensions.ignoreRecommendations": true,
// Disable IDE update - need EITTE to privide next version
"update.channel": "none",
// to disable git autofetch, in PD TC there's existing git flow and this behaviour might pollute the flow
"git.autofetch": false,
@niklasnson
Copy link
Author

Needed better colors on search and find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment