Skip to content

Instantly share code, notes, and snippets.

@bernardinorafael
Last active March 17, 2024 23:20
Show Gist options
  • Save bernardinorafael/31996ed1b92f0e52dd770a67f5caf259 to your computer and use it in GitHub Desktop.
Save bernardinorafael/31996ed1b92f0e52dd770a67f5caf259 to your computer and use it in GitHub Desktop.
vscode-settings • mar/17
// ----------------------------------------------------
// EMMET ⤵️
// ----------------------------------------------------
"emmet.syntaxProfiles": {
"javascript": "jsx"
},
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
// ----------------------------------------------------
// GO ⤵️
// ----------------------------------------------------
"go.toolsManagement.autoUpdate": true,
"go.formatTool": "gofmt",
"[go]": {
"editor.defaultFormatter": "golang.go",
"editor.autoClosingBrackets": "always",
"editor.indentSize": "tabSize",
"editor.tabSize": 4,
"editor.minimap.enabled": false,
"editor.lineHeight": 24,
"editor.fontSize": 16,
"editor.rulers": []
},
// ----------------------------------------------------
// EDITOR ⤵️
// ----------------------------------------------------
"editor.fontSize": 15.5,
"editor.lineHeight": 24,
"editor.fontLigatures": true,
"editor.scrollPredominantAxis": true,
"editor.wordWrap": "on",
// "editor.cursorSmoothCaretAnimation": "on",
// "editor.fontFamily": "JetBrains Mono",
// "editor.fontFamily": "Fira Code",
// "editor.fontFamily": "Geist Mono",
"editor.guides.indentation": true,
"editor.scrollbar.horizontal": "hidden",
"editor.autoClosingBrackets": "always",
"editor.autoClosingComments": "always",
"editor.autoClosingOvertype": "always",
"editor.autoClosingDelete": "always",
"editor.stickyScroll.enabled": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.renderWhitespace": "trailing",
"editor.wordWrapColumn": 85,
"editor.formatOnSave": true,
"editor.scrollbar.vertical": "auto",
"editor.cursorSmoothCaretAnimation": "off",
"editor.minimap.enabled": false,
"editor.autoClosingQuotes": "always",
"editor.renderLineHighlight": "gutter",
"editor.tabSize": 2,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.tabCompletion": "on",
"editor.quickSuggestions": {
"comments": "off",
"strings": true
},
"editor.smoothScrolling": true,
// ----------------------------------------------------
// JS/TS ⤵️
// ----------------------------------------------------
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.suggest.autoImports": true,
"typescript.updateImportsOnFileMove.enabled": "never",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"typescript.tsserver.log": "normal",
// ----------------------------------------------------
// WORKBENCH ⤵️
// ----------------------------------------------------
"workbench.iconTheme": "symbols",
"workbench.productIconTheme": "fluent-icons",
"workbench.editor.editorActionsLocation": "titleBar",
"workbench.activityBar.location": "top",
"workbench.startupEditor": "newUntitledFile",
"workbench.editor.labelFormat": "short",
"workbench.editor.showTabs": "single",
"workbench.tree.indent": 15,
"workbench.list.smoothScrolling": true,
"workbench.settings.applyToAllProfiles": ["editor.minimap.maxColumn"],
"workbench.layoutControl.enabled": false,
"workbench.editor.empty.hint": "hidden",
"security.workspace.trust.untrustedFiles": "open",
// ----------------------------------------------------
// TERMINAL ⤵️
// ----------------------------------------------------
"terminal.integrated.fontSize": 15,
"terminal.integrated.env.windows": {},
"terminal.integrated.gpuAcceleration": "off",
"terminal.integrated.showExitAlert": false,
// ----------------------------------------------------
// GIT ⤵️
// ----------------------------------------------------
"git.enableSmartCommit": true,
"git.openRepositoryInParentFolders": "always",
"gitlens.codeLens.authors.enabled": true,
"gitlens.codeLens.enabled": true,
"gitlens.views.repositories.includeWorkingTree": true,
"gitlens.codeLens.recentChange.enabled": false,
"[prisma]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "Prisma.prisma"
},
// ----------------------------------------------------
// FILES/FOLDER ⤵️
// ----------------------------------------------------
"files.exclude": {
"**/CVS": true,
"**/.DS_Store": true,
"**/.hg": true,
"**/.svn": true,
"**/.git": true
},
"files.associations": {
".stylelintrc": "json",
"*.tsx": "typescriptreact",
".env.*": "dotenv",
".prettierrc": "json",
".eslintrc": "json",
"*.css": "css"
},
"explorer.compactFolders": false,
"explorer.confirmDelete": true,
"explorer.confirmDragAndDrop": true,
// ----------------------------------------------------
// VIM-MOTIONS ⤵️
// ----------------------------------------------------
"vim.cursorStylePerMode.insert": "line",
"vim.cursorStylePerMode.normal": "block",
"vim.cursorStylePerMode.replace": "block-outline",
"vim.cursorStylePerMode.visual": "block",
"vim.highlightedyank.enable": true,
"vim.useSystemClipboard": true,
// ----------------------------------------------------
// OTHER ⤵️
// ----------------------------------------------------
"update.mode": "start",
"grunt.autoDetect": "on",
"tailwindCSS.emmetCompletions": true,
"tailwindCSS.suggestions": true,
"tailwindCSS.includeLanguages": {
"html": "html",
"javascript": "javascript",
"typescrypt": "typescript",
"css": "css"
},
"auto-rename-tag.activationOnLanguage": ["*"],
"todohighlight.isEnable": true,
"explorer.fileNesting.enabled": true,
// ----------------------------------------------------
// DOCKER ⤵️
// ----------------------------------------------------
"[dockerfile]": {
"editor.defaultFormatter": "ms-azuretools.vscode-docker"
},
"[dockercompose]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// ----------------------------------------------------
// Playwright ⤵️
// ----------------------------------------------------
"playwright.showTrace": false,
"playwright.reuseBrowser": false,
"security.promptForLocalFileProtocolHandling": false,
// ----------------------------------------------------
// Symbols ⤵️ ️
// ----------------------------------------------------
"symbols.hidesExplorerArrows": true,
"symbols.files.associations": {
"*.e2e-spec.ts": "ts-test"
},
"symbols.folders.associations": {
"pages": "folder-sky-code"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment