Skip to content

Instantly share code, notes, and snippets.

@ronnymajani
Last active June 1, 2019 08:51
Show Gist options
  • Save ronnymajani/7ddcf3c48011eda84bbf41a8db7eb5f6 to your computer and use it in GitHub Desktop.
Save ronnymajani/7ddcf3c48011eda84bbf41a8db7eb5f6 to your computer and use it in GitHub Desktop.
[VSCode settings for ToDo tree] VSCode settings for ToDo Tree. Setup Regex to only accept the keywords when they're individual words (TEST is ok TESTHI is not) or appended with a colon (TEST:) or prepended with a hastage (#TEST) #vscode
{
"telemetry.enableTelemetry": false,
"gitlens.advanced.messages": {
"suppressLineUncommittedWarning": true
},
"todo-tree.tags":["TODO","FIXME","ERROR","DEBUG","TEST","REMINDER","QUESTION","NOTE"],
"todo-tree.regex": "((//|#|<!--/\\*)\\s*#{0,1}($TAGS):{0,1}((\\x20{1}.*$)|$)|^\\s*- \\[ \\])",
"todo-tree.defaultHighlight": {
"type":"text-and-comment",
},
"todo-tree.customHighlight": {
"TODO": {
// "icon": "check",
"iconColour":"#FFF176",
"foreground": "#FFF176",
},
"FIXME": {
"icon": "issue-opened",
"foreground": "#F44336",
"iconColour": "#F44336"
},
"ERROR": {
"icon": "issue-opened",
"foreground": "#F44336",
"iconColour": "#F44336"
},
"DEBUG": {
"icon": "bug",
"foreground": "#9575CD",
"iconColour": "#9575CD"
},
"TEST": {
"icon": "tools",
"foreground": "#9575CD",
"iconColour": "#9575CD"
},
"REMINDER": {
"icon": "bell",
"foreground": "#FF7043",
"iconColour": "#FF7043"
},
"QUESTION": {
"icon": "question",
"foreground": "#FFF176",
"iconColour": "#FFF176"
},
"NOTE": {
"icon": "comment",
"foreground": "#8D6E63",
"iconColour": "#8D6E63"
},
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment