Skip to content

Instantly share code, notes, and snippets.

@Cdddo
Last active May 28, 2022 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cdddo/ca8b21cbe7f05f4758b856d21e1d4199 to your computer and use it in GitHub Desktop.
Save Cdddo/ca8b21cbe7f05f4758b856d21e1d4199 to your computer and use it in GitHub Desktop.
VS Code Settings for Extensions
{
// Files
"files.associations": { "*.jslib": "javascript" },
// Code Formatting
"editor.bracketPairColorization.enabled": true,
"editor.matchBrackets": "never",
"editor.guides.bracketPairs": "active",
"editor.formatOnType": true,
"editor.formatOnPaste": true,
"omnisharp.organizeImportsOnFormat": true,
// Editor
"workbench.editor.highlightModifiedTabs": true,
"editor.renderControlCharacters": true,
"editor.renderLineHighlight": "all",
"editor.stickyTabStops": true,
"editor.codeLens": true,
"editor.suggest.preview": true,
// Diagnostics
"csharp.suppressHiddenDiagnostics": false,
"omnisharp.enableRoslynAnalyzers": true,
"omnisharp.analyzeOpenDocumentsOnly": true,
"omnisharp.useModernNet": false, // required for Unity since C# extension v1.25.0 (see https://github.com/OmniSharp/omnisharp-vscode/issues/5120)
// Inlay Hints
"editor.inlayHints.enabled": "on",
"csharp.inlayHints.parameters.enabled": true,
"csharp.inlayHints.parameters.forIndexerParameters": true,
"csharp.inlayHints.parameters.forLiteralParameters": true,
"csharp.inlayHints.parameters.forObjectCreationParameters": true,
"csharp.inlayHints.parameters.forOtherParameters": true,
"csharp.inlayHints.parameters.suppressForParametersThatMatchArgumentName": true,
"csharp.inlayHints.parameters.suppressForParametersThatDifferOnlyBySuffix": true,
"csharp.inlayHints.types.enabled": true,
"csharp.inlayHints.types.forImplicitObjectCreation": true,
"csharp.inlayHints.types.forLambdaParameterTypes": true,
// Settings Toggle
"toggle.primarySettingText": "Code Lens",
"toggle.settingState1Text": "Inlays",
"toggle.setting1Title": "editor.inlayHints.enabled",
"toggle.settingState1": "on",
"toggle.settingState2": "off",
"toggle.showStatusbarS1": true,
// Unity Tools
"unity-tools.documentationVersion": "2021.3",
"unity-tools.defaultOrganizationFolders": [
"_PROJECT",
"_SANDBOX"
],
// Unity Event Lens
"unity-event-lens.onlyScenesInBuildSettings": false,
"unity-event-lens.useAccurateParsing": true,
// Error Lens
"errorLens.delay": 750,
"errorLens.enableOnDiffView": true,
"errorLens.gutterIconsEnabled": true,
"errorLens.gutterIconSize": "auto",
"errorLens.gutterIconSet": "defaultOutline",
"errorLens.statusBarIconsEnabled": true,
"errorLens.statusBarIconsAtZero": "removeBackground",
"errorLens.messageBackgroundMode": "message",
// To-do Tree
"todo-tree.general.enableFileWatcher": true,
"todo-tree.general.statusBar": "current file",
"todo-tree.general.tags": [
"BUG",
"FIXME",
"TODO",
"HACK",
"//!",
"//?",
"//*"
],
"todo-tree.highlights.enabled": false,
"todo-tree.highlights.useColourScheme": true,
"todo-tree.highlights.customHighlight": {
"TODO": {
"icon": "check-circle"
},
"//!": {
"icon": "stop"
},
"//?": {
"icon": "question"
},
"//*": {
"icon": "star"
}
},
"todo-tree.highlights.backgroundColourScheme": [
"#E60000", //red
"darkorange",
"gold",
"mediumspringgreen",
"#E60000", //red
"#F5547F", //dark pink
"mediumspringgreen"
],
"todo-tree.tree.buttons.scanMode": true,
"todo-tree.tree.tooltipFormat": "${filename}, line ${line}",
"todo-tree.tree.expanded": true,
"todo-tree.tree.flat": true,
"todo-tree.tree.showCountsInTree": true,
"todo-tree.regex.regexCaseSensitive": false,
// This will make the todo-tree only show todos for files inside
// these directories and ignore all others; you don't want to see
// all the todos from all the random 3rd party scripts in a project
"todo-tree.filtering.includeGlobs": [
"**/_HYPER/**",
"**/_PROJECT/**",
"**/_SANDBOX/**",
"**/Packages/**"
],
// Better Comments
"better-comments.tags": [
{
"tag": "!",
"color": "#E60000", //red
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": true
},
{
"tag": "?",
"color": "#F5547F", //dark pink
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": true
},
{
"tag": "//",
"color": "dimgrey",
"strikethrough": true,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": true
},
{
"tag": "*",
"color": "mediumspringgreen",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": true
},
{
"tag": "bug",
"color": "#E60000", //red
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": true
},
{
"tag": "fixme",
"color": "darkorange",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": true
},
{
"tag": "todo",
"color": "gold",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": true
},
{
"tag": "hack",
"color": "mediumspringgreen",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": true
}
],
// Live Share
"liveshare.launcherClient": "visualStudioCode",
"liveshare.showReadOnlyUsersInEditor": "always",
"liveshare.nameTagVisibility": "Always",
"workbench.colorCustomizations": {
"statusBarItem.warningBackground": "#E5B000"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment