Skip to content

Instantly share code, notes, and snippets.

@houhoulis
Last active October 13, 2018 18:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save houhoulis/3049718212f3b5e9d1be42aa10b73c7c to your computer and use it in GitHub Desktop.
Save houhoulis/3049718212f3b5e9d1be42aa10b73c7c to your computer and use it in GitHub Desktop.
ms vs code customizations
{
"[rust]": {
"editor.tabSize": 4,
"editor.insertSpaces": true
},
"bracketPairColorizer.forceUniqueOpeningColor": false,
"bracketPairColorizer.forceIterationColorCycle": false,
"bracketPairColorizer.colorMode": "Consecutive",
//"bracketPairColorizer.scopeLineCSS": ["{color}"],
// Enable usage data and errors to be sent to Microsoft.
"telemetry.enableTelemetry": false,
// Controls if the diff editor shows changes in leading or trailing whitespace as diffs
"diffEditor.ignoreTrimWhitespace": 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 if the editor should automatically close brackets after opening them
"editor.autoClosingBrackets": false,
// Controls the font family.
"editor.fontFamily": "OxygenMono-Regular, Menlo, iosevka term, Fantasque Sans Mono, SpaceMono-Regular, CamingoCode-Regular, Monaco, Klartext Mono, KlartextMono-Light, saxmono, mplus-1m-light, Fira Mono, BitstreamVeraSansMono-Roman, euroference, NK57 Monospace, Noto Mono, ProFont, New, PT Mono, APL385 Unicode, Menlo, Monaco, 'Courier New', monospace",
"editor.font_face_a": "Office Code Pro Light, Aurulent Sans Mono, Lekton04, Bowman, Monaco, Fantasque Sans Mono, Anonymous Pro, Belshaw Donut Robot, monofur, Monaco, Cousine, NK57 Monospace, Hermit Light, Fira Mono, Everson Mono, Pointfree, APL385 Unicode, New, Larabiefont",
// Controls the font size in pixels.
"editor.fontSize": 13,
// Controls the font weight.
"editor.fontWeight": "bold",
// Controls how the editor should render the current line highlight.
// - none
// - gutter
// - line
// - all: Highlights both the gutter and the current line.
"editor.renderLineHighlight": "gutter",
// Controls if the minimap is shown
"editor.minimap.enabled": false,
// Controls if suggestions should automatically show up while typing
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
},
// Controls how the editor should render whitespace characters, possibilities are 'none', 'boundary', and 'all'. The 'boundary' option does not render single spaces between words
"editor.renderWhitespace": "boundary",
// Controls if the editor will scroll beyond the last line
"editor.scrollBeyondLastLine": false,
// The number of spaces a tab is equal to. This setting is overridden based on the file contents when `editor.detectIndentation` is on.
"editor.tabSize": 2,
// Controls whether `editor.tabSize#` and `#editor.insertSpaces` will be automatically detected when a file is opened based on the file contents.
"editor.detectIndentation": false,
// Controls how lines should wrap. Can be:
// - 'off' (disable wrapping),
// - 'on' (viewport wrapping),
// - 'wordWrapColumn' (wrap at `editor.wordWrapColumn`) or
// - 'bounded' (wrap at minimum of viewport and `editor.wordWrapColumn`).
"editor.wordWrap": "on",
// Controls the wrapping column of the editor when `editor.wordWrap` is 'wordWrapColumn' or 'bounded'.
"editor.wordWrapColumn": 120,
// Controls the indentation of wrapped lines. Can be one of 'none', 'same' or 'indent'.
"editor.wrappingIndent": "indent",
// The default language mode that is assigned to new files.
"files.defaultLanguage": "ruby",
"gitlens.blame.avatars": false,
"gitlens.advanced.telemetry.enabled": false,
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true
},
"gitlens.blame.toggleMode": "window",
"gitlens.codeLens.scopes": [
"containers",
"blocks"
],
"gitlens.codeLens.symbolScopes": [
"!11",
"!12"
],
"gitlens.codeLens.authors.enabled": false,
"gitlens.codeLens.recentChange.enabled": false,
"gitlens.heatmap.toggleMode": "window",
"gitlens.recentChanges.toggleMode": "window",
"gitlens.statusBar.alignment": "left",
// // Method to use for code completion. Use `false` to disable or if another extension provides this feature.
// "ruby.codeCompletion": true,
// // Which system to use for formatting. Use `false` to disable or if another extension provides this feature.
// "ruby.format": true,
// // Method to use for intellisense (go to definition, etc.). Use `false` to disable or if another extension provides this feature.
// "ruby.intellisense": true,
// // Path to the Ruby interpreter. Set this to an absolute path to select from multiple installed Ruby versions.
// "ruby.interpreter.commandPath": "ruby",
// // Set individual ruby linters to use
// "ruby.lint": {},
// // Time (ms) to wait after keypress before running enabled linters. Ensures linters are only run when typing has finished and not for every keypress
// "ruby.lintDebounceTime": 500,
// // Defines where the Ruby extension will look to find Modules, Classes and methods.
// "ruby.locate": {
// "exclude": "{**/@(test|spec|tmp|.*),**/@(test|spec|tmp|.*)/**,**/*_spec.rb}",
// "include": "**/*.rb"
// },
// // Path to the bundler executable (used if useBundler is true)
// "ruby.pathToBundler": "bundle",
// // Whether ruby tools should be started using Bundler
// "ruby.useBundler": false
// Path to the solargraph command. Set this to an absolute path to select from multiple installed Ruby versions.
"solargraph.commandPath": "/Users/chouhoulis/.rvm//gems/ruby-2.5.1@vscode/wrappers/solargraph",
// Controls the window title based on the active editor. Variables are substituted based on the context:
// ${activeEditorShort}: the file name (e.g. myFile.txt)
// ${activeEditorMedium}: the path of the file relative to the workspace folder (e.g. myFolder/myFile.txt)
// ${activeEditorLong}: the full path of the file (e.g. /Users/Development/myProject/myFolder/myFile.txt)
// ${folderName}: name of the workspace folder the file is contained in (e.g. myFolder)
// ${folderPath}: file path of the workspace folder the file is contained in (e.g. /Users/Development/myFolder)
// ${rootName}: name of the workspace (e.g. myFolder or myWorkspace)
// ${rootPath}: file path of the workspace (e.g. /Users/Development/myWorkspace)
// ${appName}: e.g. VS Code
// ${dirty}: a dirty indicator if the active editor is dirty
// ${separator}: a conditional separator (" - ") that only shows when surrounded by variables with values
"window.title": "${activeEditorMedium}${separator}${rootPath}${separator}${dirty}",
// Adjust the zoom level of the window. The original size is 0 and each increment above (e.g. 1) or below (e.g. -1) represents zooming 20% larger or smaller. You can also enter decimals to adjust the zoom level with a finer granularity.
"window.zoomLevel": -1,
// "window.titleBarStyle": "native",
"workbench.colorTheme": "Liqube Dark Code",
// Controls the sizing of editor tabs. Set to 'fit' to keep tabs always large enough to show the full editor label. Set to 'shrink' to allow tabs to get smaller when the available space is not enough to show all tabs at once.
"workbench.editor.tabSizing": "shrink",
// Controls if opened editors show as preview. Preview editors are reused until they are kept (e.g. via double click or editing) and show up with an italic font style.
"workbench.editor.enablePreview": false,
// Controls if opened editors from Quick Open show as preview. Preview editors are reused until they are kept (e.g. via double click or editing).
"workbench.editor.enablePreviewFromQuickOpen": false,
"workbench.colorCustomizations": {
"editor.background": "#101018",
// Background color for the highlight of line at the cursor position.
"editor.lineHighlightBackground": "#fca402a8",
// Background color for the border around the line at the cursor position.
// "editor.lineHighlightBorder": "#f3a95f",
},
"editor.tokenColorCustomizations": {
"strings": "#ab84fc", // #cc88cc
"comments": "#6878b7", // #5868a7
"keywords": "#5588aa", // #447799
"abysscomments": "#384887",
"abysskeywords": "#225588"
},
// Controls the default direction of editors that are opened side by side (e.g. from the explorer). By default, editors will open on the right hand side of the currently active one. If changed to open down, the editors will open below the currently active one.
"workbench.editor.openSideBySideDirection": "down",
// Controls which editor is shown at startup, if none is restored from the previous session. Select 'none' to start without an editor, 'welcomePage' to open the Welcome page (default), 'newUntitledFile' to open a new untitled file (only opening an empty workspace).
"workbench.startupEditor": "newUntitledFile",
"workbench.statusBar.visible": true,
"workbench.activityBar.visible": false,
// Controls font aliasing method in the workbench.
// - default: Sub-pixel font smoothing. On most non-retina displays this will give the sharpest text
// - antialiased: Smooth the font on the level of the pixel, as opposed to the subpixel. Can make the font appear lighter overall
// - none: Disables font smoothing. Text will show with jagged sharp edges
// - auto: Applies `default` or `antialiased` automatically based on the DPI of displays.
"workbench.fontAliasing": "auto",
"workbench.sideBar.location": "right"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment