From d993bc6958517deaf98d893a81e157fae34ded12 Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Wed, 28 Jul 2021 00:30:19 +0200 Subject: First --- code/.config/Code/User/settings.json | 228 +++++++++++++++++++++++++++++++++++ 1 file changed, 228 insertions(+) create mode 100644 code/.config/Code/User/settings.json (limited to 'code') diff --git a/code/.config/Code/User/settings.json b/code/.config/Code/User/settings.json new file mode 100644 index 0000000..ebd8091 --- /dev/null +++ b/code/.config/Code/User/settings.json @@ -0,0 +1,228 @@ +{ + "breadcrumbs.enabled": true, + + "diffEditor.ignoreTrimWhitespace": false, + "diffEditor.renderIndicators": false, + + "editor.acceptSuggestionOnCommitCharacter": false, + "editor.accessibilitySupport": "off", + "editor.dragAndDrop": false, + "editor.emptySelectionClipboard": false, + "editor.fontFamily": "'Hack Nerd Font', 'Hack', 'Source Code Pro', 'Droid Sans Mono', 'Courier New', monospace, 'Droid Sans Fallback'", + "editor.fontSize": 15, + "editor.formatOnPaste": false, + "editor.hover.delay": 200, + "editor.minimap.enabled": false, + "editor.mouseWheelZoom": true, + "editor.multiCursorModifier": "ctrlCmd", + "editor.quickSuggestions": { + "comments": true, + "other": true, + "strings": true + }, + "editor.renderControlCharacters": true, + "editor.renderWhitespace": "boundary", + "editor.roundedSelection": false, + "editor.wordBasedSuggestions": false, + + "explorer.confirmDelete": false, + "explorer.confirmDragAndDrop": false, + + "extensions.ignoreRecommendations": true, + + "files.associations": { + "*.clang-tidy": "yaml" + }, + "files.eol": "\n", + "files.exclude": { + "**/.git": true, + "**/.svn": true, + "**/.hg": true, + "**/.DS_Store": true, + "**/bin": true, + "**/obj": true, + "**/Release": true, + "**/Debug": true, + "**/tidy-build": true, + }, + "files.insertFinalNewline": true, + "files.trimTrailingWhitespace": true, + + "git.detectSubmodules": false, + + "telemetry.enableTelemetry": false, + "telemetry.enableCrashReporter": false, + + "terminal.integrated.cursorBlinking": true, + "terminal.integrated.cursorStyle": "line", + + "update.enableWindowsBackgroundUpdates": false, + + "window.menuBarVisibility": "visible", + "window.newWindowDimensions": "inherit", + "window.openFilesInNewWindow": "default", + "window.restoreWindows": "none", + "window.title": "${dirty}${activeEditorShort}${separator}${rootName}${separator}${appName}", + "window.titleBarStyle": "custom", + "window.zoomLevel": -1, + + "workbench.colorTheme": "dark-plus-syntax", + "workbench.editor.enablePreview": false, + "workbench.editor.enablePreviewFromQuickOpen": false, + "workbench.iconTheme": "material-icon-theme", + "workbench.list.horizontalScrolling": true, + "workbench.list.openMode": "doubleClick", + + "zenMode.centerLayout": false, + + "[lua]": { + "editor.insertSpaces": false, + "editor.autoIndent": "none" + }, + "[yaml]": { + "editor.tabSize": 2, + "editor.insertSpaces": true, + "editor.autoIndent": "none" + }, + + "editor.tokenColorCustomizations": { + "[dark-plus-syntax]": { + "comments": "#6A9955", + "textMateRules": [ + { + "scope": [ + "entity.name.tag.localname.cs", + "punctuation.definition.tag.cs", + "punctuation.terminator.statement.cs", + "source.cs comment.block.documentation.cs punctuation.definition.comment.cs", + "source.cs comment.block.documentation.cs meta.tag.cs punctuation.separator.equals.cs" + ], + "settings": { + "foreground": "#d4d4d4" + } + }, + { + "scope": [ + "entity.name.variable.property.cs", + "entity.name.variable.parameter.cs", + "entity.name.variable.field.cs", + "entity.name.variable.local.cs", + "meta.interpolation.cs variable.other.object.property.cs" + ], + "settings": { + "foreground": "#d4d4d4" + }, + }, + { + "scope": [ + "keyword.other.get.cs", + "keyword.other.set.cs" + ], + "settings": { + "foreground": "#569cd6" + } + }, + { + "scope": [ + "comment.block.c", + ], + "settings": { + "foreground": "#6A9955" + } + }, + { + "scope": [ + "punctuation.terminator.statement.c" + ], + "settings": { + "foreground": "#d4d4d4" + } + }, + { + "scope": [ + "storage.type.c", + ], + "settings": { + "foreground": "#569cd6" + } + }, + ] + } + }, + + // Plugin settings + + // C/C++ + "C_Cpp.default.defines": [ + "TARGET_AMD64", + "TARGET_64BIT" + ], + "C_Cpp.intelliSenseEngine": "Default", + "C_Cpp.workspaceParsingPriority": "high", + + // C/C++ Advanced Lint + "c-cpp-flylint.clang.standard": [ "c++11" ], + "c-cpp-flylint.flexelint.enable": false, + + // Crates + "crates.compatibleDecorator": "✓", + + // GitLens + "gitlens.advanced.messages": { + "suppressCommitHasNoPreviousCommitWarning": false, + "suppressCommitNotFoundWarning": false, + "suppressFileNotUnderSourceControlWarning": false, + "suppressGitVersionWarning": false, + "suppressLineUncommittedWarning": false, + "suppressNoRepositoryWarning": false, + }, + + // Material Icon Theme + "material-icon-theme.folders.color": "#26a69a", + + // C# + "csharp.suppressHiddenDiagnostics": false, + "csharp.suppressDotnetInstallWarning": true, + "csharp.suppressDotnetRestoreNotification": true, + "omnisharp.enableEditorConfigSupport": true, + "omnisharp.enableRoslynAnalyzers": true, + "omnisharp.useGlobalMono": "auto", + "razor.disabled": true, + + // Rust (rls) + "rust.cfg_test": true, + "rust.clippy_preference": "on", + "rust.unstable_features": true, + + // Rust analyzer + "rust-analyzer.inlayHints.enable": false, + + "xmlTools.enforcePrettySelfClosingTagOnFormat": true, + + "cSpell.userWords": [ + "intrinsics", + "unpause", + "bitflags", + "cifs", + "cmus", + "datetime", + "derive", + "dylib", + "emby", + "encoder", + "image", + "jellyfin", + "magick", + "minecraft", + "mutex", + "openssl", + "peekable", + "read", + "serde", + "serilog", + "skia", + "ubyte", + "upnp", + "ushort" + ], +} -- cgit v1.2.3