Skip to content

Instantly share code, notes, and snippets.

@appleboy
Last active July 25, 2017 09:39
Show Gist options
  • Save appleboy/23bb5eb1129eb25c542130c7717f27ea to your computer and use it in GitHub Desktop.
Save appleboy/23bb5eb1129eb25c542130c7717f27ea to your computer and use it in GitHub Desktop.
Visual Studio Code editor setting
// Place your settings in this file to overwrite the default settings
{
// Controls if the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.
"editor.formatOnPaste": true,
// Control the cursor animation style, possible values are 'blink', 'smooth', 'phase', 'expand' and 'solid'
"editor.cursorBlinking": "solid",
// Controls the font family.
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
// Controls after how many characters the editor will wrap to the next line. Setting this to 0 turns on viewport width wrapping (word wrapping). Setting this to -1 forces the editor to never wrap.
"editor.wordWrap": 0,
// Controls the font size.
"editor.fontSize": 16,
// 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,
// Zoom the font of the editor when using mouse wheel and holding Ctrl
"editor.mouseWheelZoom": false,
// Controls whether the editor should render whitespace characters
"editor.renderWhitespace": true,
// Controls auto save of dirty files. Accepted values: "off", "afterDelay", "onFocusChange". If set to "afterDelay" you can configure the delay in "files.autoSaveDelay".
"files.autoSave": "onFocusChange",
// Controls whether the editor should render indent guides
"editor.renderIndentGuides": true,
// Run 'go build'/'go test' on save.
"go.buildOnSave": false,
// Flags to `go build`/`go test` used during build-on-save or running tests. (e.g. ['-ldflags="-s"'])
"go.buildFlags": [],
// Run Lint tool on save.
"go.lintOnSave": true,
// Specifies Lint tool name.
"go.lintTool": "golint",
// Flags to pass to Lint tool (e.g. ['-min_confidenc=.8'])
"go.lintFlags": [],
// Run 'go tool vet' on save.
"go.vetOnSave": true,
// Flags to pass to `go tool vet` (e.g. ['-all', '-shadow'])
"go.vetFlags": ["-all"],
// Pick 'gofmt', 'goimports' or 'goreturns' to run on format.
"go.formatTool": "gofmt",
// Complete functions with their parameter signature
"go.useCodeSnippetsOnFunctionSuggest": true,
// Specifies the GOPATH to use when no environment variable is set.
"go.gopath": "/Users/mtk10671/git/go",
// Specifies the GOROOT to use when no environment variable is set.
"go.goroot": "/Users/mtk10671/.gvm/gos/go1.8.1",
// Run formatting tool on save.
"go.formatOnSave": true,
// Run 'go test -coverprofile' on save
"go.coverOnSave": false,
// Specifies the timeout for go test in ParseDuration format.
"go.testTimeout": "30s",
// Enable gocode's autobuild feature
"go.gocodeAutoBuild": false,
// The Go build tags to use for all commands that support a `-tags '...'` argument
"go.buildTags": "",
// Points to the php-cs-fixer exectuable.
"phpcsfixer.executablePath": "/usr/local/bin/php-cs-fixer",
// Execute PHP CS Fixer on save
"phpcsfixer.onsave": true,
// PHP CS Fixer level setting (psr0, psr1, psr2, symfony)
"phpcsfixer.level": "psr2",
// List of fixers, @see: http://cs.sensiolabs.org/#usage
"phpcsfixer.fixers": "",
"phpmd.enabled": false,
// Controls the font size in pixels of the terminal.
"terminal.integrated.fontSize": 16,
"sync.gist": "",
"sync.lastUpload": "",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.lastDownload": "",
"sync.version": 262,
"sync.showSummary": true,
"sync.forceDownload": false,
"sync.workspaceSync": false,
"sync.anonymousGist": false,
"workbench.colorTheme": "1337",
"vsicons.projectDetection.autoReload": true,
"sync.host": "",
"sync.pathPrefix": "",
"workbench.iconTheme": "vscode-great-icons",
"typescript.check.npmIsInstalled": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment