Skip to content

Instantly share code, notes, and snippets.

@DungGramer
Created September 23, 2022 09:53
Show Gist options
  • Save DungGramer/2971c3f659cd860db8542bea837aa563 to your computer and use it in GitHub Desktop.
Save DungGramer/2971c3f659cd860db8542bea837aa563 to your computer and use it in GitHub Desktop.
Better comments + todo tree
"better-comments.tags": [
{
"tag": "- [x]",
"color": "#6a6758",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "[x]",
"color": "#6a6758",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "todo",
"color": "#FF8C00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "[ ] todo",
"color": "#FF8C00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "- [ ] todo",
"color": "#FF8C00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "bug",
"color": "#FF2D00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "[ ] bug",
"color": "#FF2D00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "- [ ] bug",
"color": "#FF2D00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "fix",
"color": "#FF2D00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "[ ] fix",
"color": "#FF2D00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "- [ ] fix",
"color": "#FF2D00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "*",
"color": "#98C379",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "WARN",
"color": "#FF8C00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
},
{
"tag": "WARNING",
"color": "#FF8C00",
"strikethrough": false,
"underline": false,
"backgroundColor": "transparent",
"bold": false,
"italic": false
}
],
"todo-tree.tree.scanAtStartup": false,
"todo-tree.highlights.enabled": false,
"todo-tree.general.tags": [
"TODO",
"todo",
"BUG",
"FIX",
"FIXME",
"fix",
"fixme",
"HACK",
"MARK",
"mark",
"WARN",
"WARNING",
"XXX",
"[ ]",
"[x]",
"!!"
],
"todo-tree.general.tagGroups": {
"TODO": ["TODO", "todo"],
"BUG": ["BUG", "FIX", "FIXME", "fix", "fixme"],
"MARK": ["MARK", "mark"]
},
// "todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)",
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS).*(\\n\\s*//\\s{2,}.*)*",
// "todo-tree.regex.regex": "((//|#|<!--|;|/\\*|^)((\\s+(!|\\?|\\*|\\-))?(\\s+\\[ \\])?|(\\s+(!|\\?|\\*)\\s+\\[.\\])?)\\s*($TAGS)\\s*\\:)",
"todo-tree.highlights.customHighlight": {
"TODO": {
"icon": "checklist"
},
"BUG": {
"icon": "bug"
},
"MARK": {
"icon": "bookmark"
}
},
"todo-tree.tree.labelFormat": "${tag:uppercase} ${after} [${filename}]",
"todo-tree.tree.tooltipFormat": "${filename}:[${line}] in ${filepath}",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment