Skip to content

Instantly share code, notes, and snippets.

@beatrizsmerino
Last active April 18, 2024 03:00
Show Gist options
  • Save beatrizsmerino/178d003fd19123dd597afa5a93f5db51 to your computer and use it in GitHub Desktop.
Save beatrizsmerino/178d003fd19123dd597afa5a93f5db51 to your computer and use it in GitHub Desktop.
Settings of Visual Studio Code
{
// SHOW FILES
"files.exclude": {
"**/.git": false
},
// WINDOW
"window.zoomLevel": 1,
// EXPLORER
"explorer.compactFolders": false,
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
// WORKBENCH
"workbench.colorTheme": "Better Solarized Dark Italics",
"workbench.iconTheme": "material-icon-theme",
"workbench.editor.splitInGroupLayout": "vertical",
// TERMINAL
"terminal.integrated.defaultProfile.osx": "zsh",
"terminal.integrated.fontFamily": "'SourceCodePro+Powerline+Awesome Regular'",
"terminal.integrated.fontSize": 14,
"terminal.integrated.inheritEnv": false,
"terminal.integrated.env.osx": {
"FIG_NEW_SESSION": "1"
},
// EDITOR
"editor.accessibilitySupport": "off",
"editor.bracketPairColorization.enabled": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.prettier": true,
"source.fixAll.sortJSON": true,
"source.fixAll.stylelint": true,
},
"editor.fontFamily": "JetBrains Mono, Menlo, Monaco, 'Courier New', monospace",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.detectIndentation": false,
"editor.fontLigatures": true,
"editor.fontSize": 12,
"editor.formatOnSave": true,
"editor.guides.bracketPairs": "active",
"editor.inlineSuggest.enabled": true,
"editor.insertSpaces": false,
"editor.lineHeight": 20,
"editor.linkedEditing": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"editor.suggestSelection": "first",
"editor.tabSize": 4,
"editor.wordWrap": "wordWrapColumn",
// PRETTIER
"prettier.tabWidth": 4,
"prettier.useTabs": true,
// ESLINT
"eslint.format.enable": true,
// GIT
"git.autofetch": true,
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false
},
// GITHUB
"github.copilot.enable": {
"*": true,
"yaml": true,
"plaintext": true,
"markdown": true
},
// HTML
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"html.format.indentInnerHtml": true,
// SASS/SCSS
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"liveSassCompile.settings.autoprefix": [
"> 1%",
"last 2 versions"
],
"liveSassCompile.settings.excludeList": [
"/**/node_modules/**",
"/.vscode/**"
],
"liveSassCompile.settings.formats": [
{
"extensionName": ".css",
"format": "expanded",
"savePath": "/css"
},
{
"extensionName": ".min.css",
"format": "compressed",
"savePath": "/dist/css"
}
],
"liveSassCompile.settings.generateMap": true,
"liveServer.settings.donotShowInfoMsg": true,
"sass.format.deleteEmptyRows": false,
"sass.format.deleteWhitespace": false,
"sass.format.enabled": false,
// JSON
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
// JS
"javascript.updateImportsOnFileMove.enabled": "always",
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "vscode.typescript-language-features"
},
// TYPESCRIPT
"typescript.tsdk": "node_modules/typescript/lib",
"[typescript]": {
"editor.formatOnSave": true
},
// VUE
"[vue]": {
"editor.defaultFormatter": "Vue.volar"
},
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.options.tabSize": 4,
"vetur.format.options.useTabs": true,
"vetur.format.scriptInitialIndent": true,
"vetur.format.styleInitialIndent": true,
"volar.autoCompleteRefs": true,
// PHP
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
},
"php.executablePath": "/Applications/MAMP/bin/php/php7.2.1/bin/php",
"phpfmt.indent_with_space": 2,
"phpfmt.psr1": true,
"phpfmt.psr2": false,
// VSC
"security.workspace.trust.untrustedFiles": "open",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
// EMOJI
"emojisense.languages": {
"markdown": true,
"plaintext": {
"markupCompletionsEnabled": false,
"emojiDecoratorsEnabled": false
},
"scminput": true // language used in the source control commit message box
},
// INCREMENTOR
"incrementor.enums.values": [
[
"false",
"true"
],
[
"const",
"let"
],
[
"rem",
"%",
"em",
"px"
],
[
"flex",
"inline-block",
"block"
],
[
"public",
"private",
"protected"
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment