Skip to content

Instantly share code, notes, and snippets.

@enkr1
Last active June 8, 2023 04:02
Show Gist options
  • Save enkr1/b9b6b68d8e873fdd54bf2bfef0a7d43a to your computer and use it in GitHub Desktop.
Save enkr1/b9b6b68d8e873fdd54bf2bfef0a7d43a to your computer and use it in GitHub Desktop.
~/Library/Application Support/Code/User/settings.json
{
"files.autoSave": "afterDelay",
"[php]": {
"editor.defaultFormatter": "bmewburn.vscode-intelephense-client",
"editor.tabSize": 4,
},
"git.autofetch": true,
"workbench.colorTheme": "Material Theme Palenight High Contrast",
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"git.confirmSync": false,
"liveSassCompile.settings.formats": [
{
"format": "expanded",
"extensionName": ".css",
// "savePath": null
"savePath": "~/../css/"
}
],
"liveSassCompile.settings.autoprefix": [],
"liveSassCompile.settings.generateMap": false,
"[scss]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"workbench.editor.enablePreview": true,
"todo-tree.tree.showScanModeButton": false,
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)",
"todo-tree.general.tags": [
"TODO",
"HACK",
"FIXME",
"NOTE",
"REF",
"BUG",
"QUESTION",
"WIP",
"LP",
"NEW",
"DBG",
"REVIEW",
"XXX",
"TEST",
"IDEA",
"[ ]",
"[x]",
],
"todo-tree.highlights.defaultHighlight": {
"icon": "alert",
"type": "text",
"foreground": "grey",
"background": "cyan",
"opacity": 50,
"iconColour": "blue",
"gutterIcon": true
},
"todo-tree.highlights.customHighlight": {
"TODO": {
"icon": "check",
"foreground": "magenta",
"iconColour": "magenta",
},
"FIXME": {
"icon": "bug",
"foreground": "lightgreen",
"iconColour": "lightgreen",
"background": "mediumblue",
},
"NOTE": {
"icon": "bookmark",
"foreground": "#333300",
"iconColour": "white",
"background": "yellow",
},
"REF": {
"icon": "note",
"foreground": "#333300",
"iconColour": "white",
"background": "#FFFF8F",
},
"BUG": {
"icon": "bug",
"foreground": "mediumblue",
"iconColour": "lightgreen",
"background": "lightgreen",
},
"QUESTION": {
"icon": "question",
"foreground": "yellow",
"iconColour": "yellow",
"background": "#333300",
},
"WIP": {
// "icon": "tools",
"icon": "flame",
"foreground": "red",
"iconColour": "red",
"background": "#333300",
},
"FP": {
"icon": "issue-opened",
"foreground": "#E5E7E4",
"iconColour": "red",
"background": "red",
},
// https://www.rapidtables.com/web/color/green-color.html
"NEW": {
"icon": "tag",
"foreground": "white",
"iconColour": "white",
"background": "#00FF7F",
},
// Same as QUESTION
"DBG": {
"icon": "beaker",
"foreground": "yellow",
"iconColour": "yellow",
"background": "#333300",
},
"REVIEW": {
"icon": "tag",
"foreground": "yellow",
"iconColour": "yellow",
"background": "#333300",
},
"IDEA": {
"icon": "rocket",
"foreground": "#ffff00",
"iconColour": "#fff",
"background": "#ffffff10",
},
"TEST": {
"icon": "beaker",
"foreground": "#4bc21f",
"iconColour": "#4bc21f",
"background": "#000000",
},
// https://microsoft.github.io/vscode-codicons/dist/codicon.html
// tag, issue-closed, note, verified, beaker
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"liveServer.settings.donotVerifyTags": true,
"dart.debugExternalLibraries": true,
"dart.debugSdkLibraries": true,
"liveServer.settings.donotShowInfoMsg": true,
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [
80
],
"editor.selectionHighlight": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": false
},
"intelephense.format.braces": "k&r",
"editor.renderControlCharacters": true,
"security.workspace.trust.untrustedFiles": "open",
"thunder-client.codeSnippetLanguage": "powershell",
"terminal.integrated.profiles.osx": {
"bash": {
"path": "bash",
"args": [
"-l"
],
"icon": "terminal-bash"
},
"zsh": {
"path": "zsh",
"args": [
"-l"
]
},
"fish": {
"path": "fish",
"args": [
"-l"
]
},
"tmux": {
"path": "tmux",
"icon": "terminal-tmux"
},
"pwsh": {
"path": "pwsh",
"icon": "terminal-powershell"
},
"dash": {
"path": "/bin/dash"
},
"sh": {
"path": "/bin/sh"
}
},
"terminal.integrated.defaultProfile.osx": "bash",
"editor.inlineSuggest.enabled": true,
"github.copilot.enable": {
"*": true,
"yaml": false,
"plaintext": true,
"markdown": true,
"php": true,
"elixir": true
},
"gitlens.advanced.messages": {
"suppressGitDisabledWarning": true
},
"gitlens.hovers.currentLine.over": "line",
"gitlens.defaultDateFormat": "dddd Do MMM YYYY hh:mm a",
"github.copilot.autocomplete.enable": true,
"github.copilot.list.count": 20,
"github.copilot.inlineSuggest.count": 6,
// "php-docblocker.author": {
// "type": "object",
// "default": {
// "name": "@enkr1",
// "email": "jinghui.pang@pixiumdigital.com"
// },
// "description": "Default author tag"
// },
// https://marketplace.visualstudio.com/items?itemName=neilbrayfield.php-docblocker
"php-docblocker.extra": [
// "@version",
// "@author Pang Jing Hui <jinghui.pang@pixiumdigital.com>"
],
"php-docblocker.functionTemplate": {
"message": {
// "gapAfter": true,
// "gapBefore": true,
},
"extra": {
// "gapAfter": true
},
"param": {
// "gapAfter": true
},
"return": {
"gapBefore": true,
},
"author": {
// NOTE: Once ${###: } is added, it will be tab-able.
"gapBefore": true,
// "content": "@author ${###:Pang Jing Hui} <${###:jinghui.pang@pixiumdigital.com}>"
"content": "@author Pang Jing Hui <jinghui.pang@pixiumdigital.com>"
}
},
"redhat.telemetry.enabled": true,
"dart.debugExternalPackageLibraries": true,
"editor.largeFileOptimizations": false,
"emmet.includeLanguages": {
"phoenix-heex": "html",
// "phoenix-heex": "html-eex",
"HTML (Eex)": "html",
"html-eex": "html",
},
// "files.associations": {
// "*.eex": "eex",
// // "*.heex": "html-eex", // This is what causes the issue
// "config": "git-commit"
// },
// "[phoenix-heex]": {
// "editor.defaultFormatter": "RoyalMist.vscode-eex-format",
// },
// Based on Elixir formatter's style
"editor.insertSpaces": true,
// Note: While it is possible to override this in your VSCode configuration, the Elixir Formatter
// does not support a configurable tab size, so if you override this then you should not use the
// formatter.
"editor.tabSize": 2,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
// Provides smart completion for "do" and "fn ->" blocks. Does not run the Elixir formatter.
"editor.formatOnType": true,
// Misc
"editor.wordBasedSuggestions": true,
"editor.trimAutoWhitespace": true,
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one"
},
"[dockercompose]": {
"editor.defaultFormatter": "ms-azuretools.vscode-docker"
},
"[python]": {
"editor.defaultFormatter": "ms-python.python"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[elixir]": {
"editor.formatOnSave": true,
"editor.rulers": [
99
],
// "editor.defaultFormatter": "JakeBecker.elixir-ls",
},
"editor.comments.ignoreEmptyLines": false,
"intelephense.phpdoc.useFullyQualifiedNames": true,
"intelephense.trace.server": "messages",
"typescript.suggest.paths": false,
"auto-rename-tag.activationOnLanguage": [
"*"
],
"[html-eex]": {
"editor.defaultFormatter": "JakeBecker.elixir-ls"
},
"editor.codeActionsOnSave": {},
"workbench.layoutControl.enabled": false,
"indentRainbow.colorOnWhiteSpaceOnly": true, // false is the default
// For which languages indent-rainbow should be activated (if empty it means all).
"indentRainbow.includedLanguages": [], // for example ["nim", "nims", "python"]
// For which languages indent-rainbow should be deactivated (if empty it means none).
"indentRainbow.excludedLanguages": [
"plaintext"
],
// The delay in ms until the editor gets updated.
"indentRainbow.updateDelay": 100, // 10 makes it super fast but may cost more resources
// Defining custom colors instead of default "Rainbow" for dark backgrounds.
"indentRainbow.colors": [
"rgba(255,255,64,0.07)",
"rgba(127,255,127,0.07)",
"rgba(255,127,255,0.07)",
"rgba(79,236,236,0.07)"
],
// The indent color if the number of spaces is not a multiple of "tabSize".
"indentRainbow.errorColor": "rgba(128,32,32,0.6)",
// The indent color when there is a mix between spaces and tabs.
// To be disabled this coloring set this to an empty string.
"indentRainbow.tabmixColor": "rgba(128,32,96,0.6)",
"gitlens.defaultDateLocale": null,
"gitlens.defaultTimeFormat": null,
"gitlens.defaultDateShortFormat": null,
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"[phoenix-heex]": {
"editor.defaultFormatter": "RoyalMist.vscode-eex-format"
},
"files.associations": {
"config": "vb"
},
"errorLens.exclude": [
"The pattern can never match the type\\.Pattern:\\{nil, _\\}, _filenameType:\\{binary\\(\\), integer\\(\\)\\}, _"
],
"errorLens.excludeBySource": [
"dart(uri_does_not_exist)"
],
// Using the light mode
// "indentRainbow.indicatorStyle": "light",
// we use a simple 1 pixel wide line
// "indentRainbow.lightIndicatorStyleLineWidth": 1,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment