Skip to content

Instantly share code, notes, and snippets.

@scottt2
Last active April 9, 2017 02:50
Show Gist options
  • Save scottt2/3bb49b98f00e905b78cf1bcd4b08a758 to your computer and use it in GitHub Desktop.
Save scottt2/3bb49b98f00e905b78cf1bcd4b08a758 to your computer and use it in GitHub Desktop.
My settings.json for VS Code as of 20161017
// Place your settings in this file to overwrite the default settings
// Installed Extensions
// https://marketplace.visualstudio.com/items?itemName=samverschueren.final-newline
// https://marketplace.visualstudio.com/items?itemName=mjmcloug.vscode-elixir
// https://marketplace.visualstudio.com/items?itemName=waderyan.gitblame
// https://marketplace.visualstudio.com/items?itemName=sianglim.slim
// https://marketplace.visualstudio.com/items?itemName=lukehoban.Go
// https://marketplace.visualstudio.com/items?itemName=robinbentley.sass-indented
// https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp
// https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker
// https://marketplace.visualstudio.com/items?itemName=rebornix.Ruby
// +++ Config +++
{
// Appearance
"diffEditor.ignoreTrimWhitespace": false,
"editor.fontFamily": "Menlo",
"editor.fontSize": 13,
"editor.tabSize": 2,
"editor.renderIndentGuides": true,
"editor.renderWhitespace": "boundary",
"editor.rulers": [80, 99, 120],
"files.trimTrailingWhitespace": true,
"window.zoomLevel": 1,
// Behavior
"editor.referenceInfos": false,
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/node_modules/**": true,
"**/bower_modules/**": true,
"**/dist/**": true,
"**/tmp/**": true
},
"search.exclude": {
"**/.git/objects/**": true,
"**/node_modules/**": true,
"**/bower_modules/**": true,
"**/dist/**": true,
"**/tmp/**": true,
"**/.gem/**": true
},
// Extensions
"files.insertFinalNewline": true,
// Formatting
"html.format.indentHandlebars": true,
"html.format.endWithNewline": true,
// Telemetry BS
"telemetry.enableTelemetry": false,
"telemetry.enableCrashReporter": false,
// Terminal
"terminal.integrated.shell.linux": "zsh",
"terminal.external.linuxExec": "terminal",
// Workbench
"workbench.editor.showIcons": true,
// +++ Language Specific Settings +++
// Go
"go.buildOnSave": true,
"go.lintOnSave": true,
"go.vetOnSave": true,
"go.buildTags": "",
"go.buildFlags": [],
"go.lintFlags": [],
"go.vetFlags": [],
"go.coverOnSave": false,
"go.useCodeSnippetsOnFunctionSuggest": false,
"go.formatOnSave": true,
"go.formatTool": "goreturns",
"go.goroot": "/usr/local/go",
"go.gopath": "/Users/tyler/dev/go",
"go.gobin": "/Users/tyler/dev/go/bin",
"go.gocodeAutoBuild": false,
"git.confirmSync": false,
//-------- Code Spell Checker Configuration --------
// Controls the maximum number of spelling errors per document.
"cSpell.maxNumberOfProblems": 100,
// Controls the number of suggestions shown.
"cSpell.numSuggestions": 8,
// The minimum length of a word before checking it against a dictionary.
"cSpell.minWordLength": 4,
// Specify file types to spell check.
"cSpell.enabledLanguageIds": [
"csharp",
"go",
"html",
"javascript",
"javascriptreact",
"json",
"markdown",
"php",
"plaintext",
"text",
"typescript",
"typescriptreact",
"yml"
],
// Enable / Disable the spell checker.
"cSpell.enabled": true,
// Display the spell checker status on the status bar.
"cSpell.showStatus": true,
// Words to add to dictionary for a workspace.
"cSpell.words": [],
// User words to add to dictionary. Should only be in the user settings.
"cSpell.userWords": [],
// Specify paths/files to ignore.
"cSpell.ignorePaths": [
"node_modules", // this will ignore anything the node_modules directory
"**/node_modules", // the same for this one
"**/node_modules/**", // the same for this one
"node_modules/**", // Doesn't currently work due to how the current working directory is determined.
"vscode-extension", //
".git", // Ignore the .git directory
"*.dll", // Ignore all .dll files.
"**/*.dll" // Ignore all .dll files
],
"editor.wordWrap": true,
"editor.minimap.enabled": true,
"workbench.iconTheme": "vs-seti",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment