Skip to content

Instantly share code, notes, and snippets.

@bernardinorafael
Last active December 22, 2024 14:24
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": "goimports",
"go.editorContextMenuCommands": {
"fillStruct": true,
"removeTags": true
},
"go.enableCodeLens": {
"runtest": true
},
"go.testExplorer.showDynamicSubtestsInEditor": true,
"[go]": {
"editor.defaultFormatter": "golang.go",
"editor.fontLigatures": false,
"editor.autoClosingBrackets": "always",
"editor.tabSize": 2,
},
// ----------------------------------------------------
// EDITOR ⤵️
// ----------------------------------------------------
"editor.renderLineHighlight": "all",
"editor.minimap.scale": 2,
"editor.minimap.renderCharacters": false,
"editor.guides.indentation": true,
"editor.accessibilitySupport": "off",
"editor.fontLigatures": true,
"editor.scrollPredominantAxis": true,
"editor.wordWrap": "on",
"editor.scrollbar.horizontal": "hidden",
"editor.autoClosingBrackets": "always",
"emmet.showSuggestionsAsSnippets": true,
"editor.snippetSuggestions": "bottom",
"editor.autoClosingComments": "always",
"editor.autoClosingOvertype": "always",
"editor.autoClosingDelete": "always",
"editor.wordWrapColumn": 85,
"editor.wordSeparators": "`~!@#$%^&*()=+[{]}\\|;:'\",.<>/?",
"workbench.productIconTheme": "fluent-icons",
// "workbench.colorCustomizations": {
// "editorCursor.foreground": "#fff"
// },
"editor.formatOnSave": true,
"editor.scrollbar.vertical": "auto",
"editor.autoClosingQuotes": "always",
"editor.experimentalWhitespaceRendering": "font",
"editor.lineHeight": 22,
"editor.tabSize": 2,
"editor.fontSize": 18,
"typescript.preferences.importModuleSpecifier": "non-relative",
"editor.parameterHints.enabled": false,
"editor.rulers": [
85
],
"editor.suggestFontSize": 20,
// "editor.fontWeight": "500",
// "editor.fontFamily": "JetBrains Mono",
"editor.fontFamily": "Berkeley Mono",
// "editor.fontFamily": "Fira Code Retina",
// "editor.fontFamily": "Geist Mono",
// "editor.letterSpacing": -0.4,
"editor.suggestSelection": "first",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.tabCompletion": "on",
"editor.quickSuggestions": {
"comments": "off",
"strings": true
},
// ----------------------------------------------------
// JS/TS ⤵️
// ----------------------------------------------------
"javascript.suggest.autoImports": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.suggest.autoImports": true,
"typescript.preferences.preferTypeOnlyAutoImports": true,
"typescript.updateImportsOnFileMove.enabled": "never",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
// "editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
// "editor.defaultFormatter": "biomejs.biome"
},
"typescript.tsserver.log": "off",
"editor.smoothScrolling": true,
"workbench.editor.editorActionsLocation": "hidden",
"workbench.startupEditor": "newUntitledFile",
"workbench.editor.labelFormat": "long",
"workbench.tree.expandMode": "singleClick",
"workbench.tree.stickyScrollMaxItemCount": 3,
"workbench.settings.applyToAllProfiles": [
"editor.minimap.maxColumn"
],
// ----------------------------------------------------
// TERMINAL ⤵️
// ----------------------------------------------------
"terminal.integrated.fontSize": 15,
"terminal.integrated.showExitAlert": false,
"terminal.integrated.fontFamily": "JetBrains Mono",
"terminal.integrated.copyOnSelection": true,
"terminal.integrated.fontWeight": 600,
"terminal.integrated.suggest.quickSuggestions": true,
// ----------------------------------------------------
// GIT ⤵️
// ----------------------------------------------------
"git.enableSmartCommit": true,
"git.openRepositoryInParentFolders": "always",
"gitlens.codeLens.authors.enabled": false,
"gitlens.codeLens.enabled": true,
"gitlens.views.repositories.includeWorkingTree": true,
"[prisma]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "Prisma.prisma"
},
// ----------------------------------------------------
// FILES/FOLDER ⤵️
// ----------------------------------------------------
"files.exclude": {
"**/CVS": true,
"**/.DS_Store": true,
"**/.hg": true,
"**/.svn": true,
"**/.git": true,
"**.idea": true
},
"files.associations": {
".stylelintrc": "json",
"*.tsx": "typescriptreact",
".env.*": "dotenv",
".prettierrc": "json",
".eslintrc": "json",
"*.css": "css"
},
"explorer.confirmDelete": true,
"explorer.confirmDragAndDrop": true,
// ----------------------------------------------------
// VIM-MOTIONS ⤵️
// ----------------------------------------------------
"vim.cursorStylePerMode.insert": "line",
"vim.cursorStylePerMode.normal": "block",
"vim.cursorStylePerMode.visualblock": "line",
"vim.cursorStylePerMode.visual": "line",
"vim.cursorStylePerMode.visualline": "line",
"vim.highlightedyank.enable": true,
"vim.highlightedyank.color": "#a9dc7660",
"vim.highlightedyank.duration": 250,
"vim.cursorStylePerMode.replace": "underline",
"vim.surround": true,
"vim.smartRelativeLine": true,
"vim.useSystemClipboard": true,
"vim.autoindent": true,
"vim.leader": "<space>",
"vim.normalModeKeyBindings": [
{
"before": [
"4"
],
"after": [
"$"
]
}
],
"vim.insertModeKeyBindings": [
{
"before": [
"j",
"k"
],
"after": [
"<esc>"
]
}
],
// ----------------------------------------------------
// 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": [
"*"
],
"explorer.fileNesting.enabled": true,
// ----------------------------------------------------
// DOCKER ⤵️
// ----------------------------------------------------
"[dockercompose]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
// ----------------------------------------------------
// Playwright ⤵️
// ----------------------------------------------------
"playwright.showTrace": false,
"playwright.reuseBrowser": false,
"security.promptForLocalFileProtocolHandling": false,
"symbols.files.associations": {
"*.e2e-spec.ts": "ts-test",
"*.controller.ts": "nest-controller",
"*.module.ts": "nest",
"*.service.ts": "nest-service",
},
"symbols.folders.associations": {
"pages": "folder-sky-code",
"test": "folder-green",
"tests": "folder-green"
},
"diffEditor.ignoreTrimWhitespace": false,
"symbols.hidesExplorerArrows": false,
"extensions.ignoreRecommendations": true,
"gitlens.hovers.avatarSize": 28,
"gitlens.hovers.currentLine.over": "line",
"gitlens.hovers.avatars": false,
"explorer.compactFolders": false,
"npm.enableRunFromFolder": true,
"git.confirmSync": false,
"gitlens.codeLens.recentChange.enabled": false,
"editor.experimentalInlineEdit.fontFamily": "JetBrains Mono",
"editor.quickSuggestionsDelay": 100,
"editor.hover.delay": 500,
"editor.inlayHints.padding": true,
"editor.inlayHints.fontSize": 15,
"git.autofetch": true,
"editor.minimap.enabled": false,
"tailwindCSS.classAttributes": [
"class",
"className",
".*ClassName"
],
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"workbench.editor.highlightModifiedTabs": true,
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"workbench.layoutControl.enabled": false,
"css.lint.unknownAtRules": "ignore",
"go.lintTool": "golangci-lint",
"editor.inlayHints.fontFamily": "JetBrains Mono",
"go.inlayHints.constantValues": true,
"workbench.list.smoothScrolling": true,
"terminal.integrated.gpuAcceleration": "off",
"biome_lsp.trace.server": "messages",
"editor.mouseWheelZoom": true,
"workbench.tree.indent": 18,
"chat.editing.alwaysSaveWithGeneratedChanges": true,
"workbench.iconTheme": "symbols",
"workbench.navigationControl.enabled": false,
"github.copilot.enable": {
"*": false,
"plaintext": false,
"markdown": false,
"scminput": false
},
"workbench.activityBar.location": "top",
"workbench.colorTheme": "Dracula Theme",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment