summaryrefslogtreecommitdiff
path: root/profiles/main/data/settings.json
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-10-28 22:00:16 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-10-28 22:00:16 +0300
commitb4591e582ed492968255ca187277920539868cd5 (patch)
tree4ba4c39400358f7e69b3188c92cccd4f27be9ede /profiles/main/data/settings.json
parent59048c126fd5a645638d156c49d4da0ecc809bb4 (diff)
profile(main): update -- 2024-10-28T19:00:16.109Z
Diffstat (limited to 'profiles/main/data/settings.json')
-rw-r--r--profiles/main/data/settings.json67
1 files changed, 43 insertions, 24 deletions
diff --git a/profiles/main/data/settings.json b/profiles/main/data/settings.json
index 46b121f..17c6b6b 100644
--- a/profiles/main/data/settings.json
+++ b/profiles/main/data/settings.json
@@ -4,8 +4,10 @@
},
"[go]": {
"editor.codeActionsOnSave": {
- "source.organizeImports": "explicit"
+ "source.organizeImports": "explicit",
+ "source.fixAll": "explicit"
},
+ "breadcrumbs.showEnums": true,
"editor.defaultFormatter": "golang.go",
"editor.formatOnSave": true
},
@@ -18,8 +20,14 @@
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
+ "[json]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
+ "[jsonc]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
"debug.allowBreakpointsEverywhere": true,
- "debug.autoExpandLazyVariables": true,
+ "debug.autoExpandLazyVariables": "on",
"debug.console.fontFamily": "'Fira Code Retina','Droid Sans Mono', 'monospace', monospace",
"debug.console.fontSize": 11,
"debug.console.lineHeight": 14,
@@ -44,30 +52,36 @@
"editor.gotoLocation.multipleTypeDefinitions": "gotoAndPeek",
"editor.guides.bracketPairs": false,
"editor.guides.indentation": false,
- "editor.inlayHints.enabled": "off",
+ "editor.inlayHints.enabled": "on",
"editor.inlayHints.fontSize": 10,
"editor.inlayHints.padding": true,
"editor.inlineSuggest.showToolbar": "always",
+ "editor.largeFileOptimizations": false,
"editor.lineHeight": 1.4,
"editor.minimap.renderCharacters": false,
"editor.minimap.showSlider": "always",
"editor.renderLineHighlight": "all",
"editor.renderWhitespace": "boundary",
- "editor.rulers": [
- 120
- ],
+ "editor.rulers": [80, 120],
"editor.suggest.showStructs": true,
"editor.suggest.showWords": false,
"editor.unicodeHighlight.nonBasicASCII": false,
"editor.wordWrap": "off",
- "fileGroup.groups": {},
+ "explorer.fileNesting.enabled": true,
+ "explorer.fileNesting.patterns": {
+ "*.go": "${capture}_gen.go,${capture}.gen.go",
+ "*.templ": "${capture}_templ.go,${capture}_templ.txt",
+ "go.mod": "go.sum"
+ },
+ "files.autoGuessEncoding": true,
"files.autoSave": "onFocusChange",
"files.exclude": {
"node_modules": true
},
+ "files.simpleDialog.enable": true,
"git.openRepositoryInParentFolders": "never",
"go.enableCodeLens": {
- "references": true
+ "runtest": true
},
"go.inlayHints.compositeLiteralFields": true,
"go.inlayHints.compositeLiteralTypes": true,
@@ -76,10 +90,12 @@
"go.inlayHints.parameterNames": true,
"go.inlayHints.rangeVariableTypes": true,
"go.lintTool": "golangci-lint",
+ "go.lintFlags": ["--fast"],
+ "go.lintOnSave": "package",
"go.toolsManagement.autoUpdate": true,
"gopls": {
"formatting.local": "golang.go",
- // "formatting.gofumpt": true,
+ "formatting.gofumpt": true,
"ui.codelenses": {
"generate": true,
"test": false,
@@ -90,7 +106,8 @@
"ui.diagnostic.staticcheck": true,
"ui.documentation.linksInHover": true,
"ui.navigation.importShortcut": "Definition",
- "ui.semanticTokens": true
+ "ui.semanticTokens": true,
+ "ui.completion.completeFunctionCalls": true
},
"makefile.phonyOnlyTargets": true,
"notebook.output.scrolling": true,
@@ -175,22 +192,24 @@
"editorWhitespace.foreground": "#a3a33a"
},
"workbench.colorTheme": "One Dark Modern",
- "workbench.iconTheme": "vscode-great-icons",
- "workbench.productIconTheme": "icons-carbon",
"workbench.startupEditor": "none",
"workbench.tips.enabled": false,
- "[json]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
+ "explorer.fileNesting.expand": false,
+ "go.addTags": {
+ "promptForTags": true
},
- "editor.largeFileOptimizations": false,
- "[jsonc]": {
- "editor.defaultFormatter": "esbenp.prettier-vscode"
+ "go.removeTags": {
+ "promptForTags": true
},
- "explorer.fileNesting.enabled": true,
- "explorer.fileNesting.patterns": {
- "*.templ": "${capture}_templ.go,${capture}_templ.txt",
- "*.go": "${capture}_gen.go,${capture}.gen.go"
+ "[templ]": {
+ "editor.defaultFormatter": "a-h.templ"
},
- "files.autoGuessEncoding": true,
- "files.simpleDialog.enable": true
-} \ No newline at end of file
+ "workbench.iconTheme": "vscode-jetbrains-icon-theme-2023-auto",
+ "workbench.productIconTheme": "jetbrains-idea-product-icon-theme",
+ "[yaml]": {
+ "editor.defaultFormatter": "redhat.vscode-yaml"
+ },
+ "[typescript]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ }
+}