Files
dotfiles/vscode/.config/Code/User/settings.json

290 lines
9.7 KiB
JSON

{
//----------------------------------------------------------------
// appearence
//----------------------------------------------------------------
"workbench.colorTheme": "Atom One Dark",
"workbench.preferredDarkColorTheme": "Atom One Dark",
"workbench.iconTheme": "material-icon-theme",
// "workbench.tree.indent": 10,
"workbench.tree.renderIndentGuides": "always",
"workbench.view.alwaysShowHeaderActions": true,
"workbench.editor.alwaysShowEditorActions": true,
"workbench.colorCustomizations": {
"editor.lineHighlightBackground": "#1073cf2d",
// "editor.lineHighlightBorder": "#9fced11f",
"editorGhostText.foreground": "#7A8E96"
},
"editor.fontFamily": "'JetBrainsMono Nerd Font', 'DejaVu Sans Mono', 'Liberation Mono', 'Noto Mono', 'Ubuntu Mono', 'Droid Sans Mono', 'Droid Sans Fallback', monospace",
"editor.fontSize": 13,
"editor.fontLigatures": true,
"editor.lineHeight": 1.75,
"editor.cursorBlinking": "smooth",
"editor.inlineSuggest.showToolbar": "always",
"editor.mouseWheelZoom": true,
"editor.minimap.maxColumn": 150,
"editor.minimap.renderCharacters": false,
"editor.minimap.showSlider": "always",
"window.title": "${dirty}${activeEditorShort}${separator}${rootName}${separator}${appName}",
"window.titleSeparator": " | ",
"chat.commandCenter.enabled": false,
"window.enableMenuBarMnemonics": false,
"window.restoreFullscreen": true,
"window.newWindowProfile": "По умолчанию",
"window.customTitleBarVisibility": "auto",
"window.commandCenter": false,
"window.menuBarVisibility": "compact",
"debug.toolBarLocation": "docked",
"testing.coverageToolbarEnabled": true,
"material-icon-theme.opacity": 0.8,
"statusbar_command.applicationCommands": [
{
"text": "$(arrow-left)",
"tooltip": "Назад",
"id": "nav-back",
"name": "Назад",
"priority": 1,
"alignment": "left",
"command": "workbench.action.navigateBack"
},
{
"text": "$(arrow-right)",
"tooltip": "Вперёд",
"id": "nav-forw",
"name": "Вперёд",
"priority": 1,
"alignment": "left",
"command": "workbench.action.navigateForward"
}
],
//----------------------------------------------------------------
// workbench
//----------------------------------------------------------------
"workbench.startupEditor": "newUntitledFile",
"workbench.editor.empty.hint": "hidden",
"workbench.editor.pinnedTabsOnSeparateRow": true,
"workbench.editor.revealIfOpen": true,
"workbench.editor.enablePreview": false,
"workbench.editor.defaultBinaryEditor": "hexEditor.hexedit",
// "workbench.editor.historyBasedLanguageDetection": true,
//----------------------------------------------------------------
// editor
//----------------------------------------------------------------
// "breadcrumbs.enabled": false,
"editor.showFoldingControls": "always",
"editor.renderControlCharacters": true,
"editor.wordWrap": "off",
"editor.inlayHints.enabled": "off",
"editor.selectionClipboard": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.scrollbar.horizontal": "hidden",
"editor.scrollbar.vertical": "hidden",
"editor.foldingImportsByDefault": true,
"editor.unicodeHighlight.nonBasicASCII": false,
"editor.inlineSuggest.syntaxHighlightingEnabled": true,
"editor.quickSuggestions": {
"comments": "on",
"strings": "on",
"other": "on"
},
//----------------------------------------------------------------
// terminal
//----------------------------------------------------------------
"terminal.integrated.fontFamily": "JetBrainsMono Nerd Font, MesloLGS NF, Ubuntu Mono",
"terminal.integrated.fontSize": 13,
"terminal.integrated.cursorStyle": "line",
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.mouseWheelZoom": false,
"terminal.integrated.scrollback": 1000000,
"terminal.integrated.enableImages": true,
"terminal.integrated.fontLigatures": true,
"terminal.integrated.shellIntegration.enabled": false,
"terminal.integrated.tabs.focusMode": "singleClick",
"terminal.integrated.tabs.location": "left",
//----------------------------------------------------------------
// files
//----------------------------------------------------------------
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"explorer.expandSingleFolderWorkspaces": false,
"explorer.fileNesting.enabled": true,
"files.autoSave": "onFocusChange",
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"files.associations": {
"*.inc": "php",
"*.desktop": "ini",
"*.env": "env",
".env.*": "env",
},
"files.exclude": {
"**/.git": false
},
"[markdown]": {
"files.trimTrailingWhitespace": false
},
"[lua]": {
"editor.defaultFormatter": "sumneko.lua"
},
"[xml]": {
"editor.defaultFormatter": "DotJoshJohnson.xml"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
// "[awk]": {
// "editor.semanticHighlighting.enabled": true
// }
//----------------------------------------------------------------
// git
//----------------------------------------------------------------
"git.allowForcePush": true,
"git.allowNoVerifyCommit": true,
"git.autofetch": true,
"git.autoStash": true,
"git.enableCommitSigning": true,
"git.inputValidationSubjectLength": null,
"git.confirmSync": false,
"git.branchProtection": [
"master",
"develop",
"dev",
],
"gitPrefix.replacement": "$1: ",
"gitlens.showWelcomeOnInstall": false,
"gitlens.views.repositories.files.layout": "tree",
//----------------------------------------------------------------
// docker
//----------------------------------------------------------------
"docker.volumes.groupBy": "CreatedTime",
//----------------------------------------------------------------
// diffs
//----------------------------------------------------------------
"merge-conflict.autoNavigateNextConflict.enabled": true,
"diffEditor.experimental.showMoves": true,
"diffEditor.ignoreTrimWhitespace": false,
"diffEditor.renderSideBySide": true,
"diffEditor.wordWrap": "off",
"diffEditor.hideUnchangedRegions.enabled": true,
"partialDiff.commandsOnContextMenu": {
"markSection1": true,
"markSection2AndTakeDiff": true,
"diffSelectionWithClipboard": false,
"diffVisibleEditors": true,
"togglePreComparisonTextNormalizationRules": false
},
//----------------------------------------------------------------
// other
//----------------------------------------------------------------
"telemetry.telemetryLevel": "error",
"security.workspace.trust.untrustedFiles": "open",
//----------------------------------------------------------------
// php
//----------------------------------------------------------------
"php.suggest.basic": true,
"php.validate.enable": true,
"php.validate.run": "onType",
"php.completion.autoimport-docblock": "auto-import",
"php.debug.port": [
"9003",
"9000"
],
"php.linkedEditing.variables": true,
"php.problems.excludeGitIgnore": true,
"php.format.rules.arrayInitializersAlignKeyValuePairs": false,
//----------------------------------------------------------------
// golang
//----------------------------------------------------------------
"go.toolsManagement.autoUpdate": true,
//----------------------------------------------------------------
// shell
//----------------------------------------------------------------
"bashIde.highlightParsingErrors": true,
//----------------------------------------------------------------
// ai assistance
//----------------------------------------------------------------
"gigacode.common.contextManager": true,
"gigacode.maxSuggestions": 5,
//----------------------------------------------------------------
// unsorted
//----------------------------------------------------------------
"extensions.ignoreRecommendations": true,
"prettier.tabWidth": 4,
"prettier.semi": false,
"prettier.singleQuote": true,
"prettier.printWidth": 120,
"prettier.arrowParens": "avoid",
"autoscroll.autoEnableForLogs": true,
"nginx-conf-hint.format.align": true,
"nginx-conf-hint.syntax": "sublime",
"emmet.excludeLanguages": [
"markdown",
"php"
],
"redhat.telemetry.enabled": true,
"markdown.extension.toc.unorderedList.marker": "*",
"markdown.extension.toc.levels": "2..4",
"window.customMenuBarAltFocus": false,
"githubLocalActions.workflowsDirectory": ".gitea/workflows",
"privy.model": "custom",
"privy.syntaxHighlighting.useVisualStudioCodeColors": true,
"docker.extension.enableComposeLanguageServer": false,
"[dockercompose]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "advanced",
"editor.defaultFormatter": "redhat.vscode-yaml"
},
"[github-actions-workflow]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
},
"kilo-code.allowedCommands": [
"git log",
"git diff",
"git show"
],
"kilo-code.deniedCommands": []
}