Skip to content

Instantly share code, notes, and snippets.

@oanhnn
Last active August 27, 2019 09:52
Show Gist options
  • Save oanhnn/176ac2b4c0ca6b8d58aa17423d819001 to your computer and use it in GitHub Desktop.
Save oanhnn/176ac2b4c0ca6b8d58aa17423d819001 to your computer and use it in GitHub Desktop.
VSCode settings
{
"folders": [
{
"path": "..."
}
],
"settings": {
"emmet.includeLanguages": {
"javascript": "html",
"vue": "html",
"vue-html": "html",
"javascriptreact": "html",
"typescript": "html"
},
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
}
{
"explorer.sortOrder": "type",
"blade.format.enable": true,
"breadcrumbs.enabled": true,
"composer.executablePath": "composer",
"editor.suggest.localityBonus": true,
"editor.suggestSelection": "first",
"emmet.includeLanguages": {
"javascript": "html",
"vue": "html",
"vue-html": "html",
"javascriptreact": "html",
"typescript": "html"
},
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "typescript",
"autoFix": true
},
{
"language": "typescriptreact",
"autoFix": true
}
],
"files.associations": {
"*.config": "yaml",
"*.yml": "yaml"
},
"gitlens.codeLens.authors.enabled": false,
"gitlens.codeLens.recentChange.enabled": false,
"gitlens.advanced.messages": {
"suppressFileNotUnderSourceControlWarning": true
},
"go.lintTool": "revive",
"http.proxyStrictSSL": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"php.executablePath": "php",
"php.memoryLimit": "2048M",
"php.suggest.basic": false,
"php.validate.executablePath": "php",
"phpcs.enable": true,
"phpcs.executablePath": "phpcs",
"python.jediEnabled": false,
"terminal.integrated.shell.windows": "bash",
"typescript.updateImportsOnFileMove.enabled": "always",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"window.menuBarVisibility": "default",
"window.titleBarStyle": "custom",
"window.zoomLevel": 0,
"workbench.activityBar.visible": true,
"workbench.colorTheme": "Visual Studio Dark",
"workbench.startupEditor": "newUntitledFile",
// Custom tags for the parser to use
"yaml.customTags": [
"!And",
"!If",
"!Not",
"!Equals",
"!Or",
"!FindInMap",
"!Base64",
"!Cidr",
"!Ref",
"!Sub",
"!GetAtt",
"!GetAZs",
"!ImportValue",
"!Select",
"!Split",
"!Join"
],
// Enable/disable default YAML formatter (requires restart)
"yaml.format.enable": true,
"yaml.validate": false,
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.editor.highlightModifiedTabs": true
}
{
"breadcrumbs.enabled": true,
"editor.suggest.localityBonus": true,
"editor.suggestSelection": "first",
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"explorer.sortOrder": "type",
"files.associations": {
"*.config": "yaml",
"*.yml": "yaml"
},
"gitlens.codeLens.authors.enabled": false,
"gitlens.codeLens.recentChange.enabled": false,
"gitlens.advanced.messages": {
"suppressFileNotUnderSourceControlWarning": true
},
"php.suggest.basic": false,
"php.validate.executablePath": "php",
"terminal.integrated.shell.windows": "bash",
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"window.menuBarVisibility": "default",
"window.titleBarStyle": "custom",
"window.zoomLevel": 0,
"workbench.activityBar.visible": true,
"workbench.colorTheme": "Visual Studio Dark",
"workbench.editor.highlightModifiedTabs": true,
"workbench.startupEditor": "newUntitledFile",
"yaml.format.enable": true,
"yaml.validate": true,
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment