Skip to content

Commit

Permalink
Updated to reflect version 0.0.160, REF: https://github.com/Gruntfugg…
Browse files Browse the repository at this point in the history
…ly/todo-tree, unsure as to why this was working
  • Loading branch information
jonasbn committed Oct 22, 2019
1 parent 2a30865 commit 532584c
Showing 1 changed file with 51 additions and 4 deletions.
55 changes: 51 additions & 4 deletions vscode/todo_tree_extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ This is my configuration used for the above example.

```json
{
"todo-tree.autoRefresh": true,
"todo-tree.defaultHighlight": {
"todo-tree.tree.autoRefresh": true,
"todo-tree.highlights.defaultHighlight": {
"type": "text-and-comment"
},
"todo-tree.customHighlight": {
"todo-tree.highlights.customHighlight": {
"TODO": {
"foreground": "black",
"background": "green",
Expand Down Expand Up @@ -48,7 +48,7 @@ This is my configuration used for the above example.
"type": "tag"
}
},
"todo-tree.tags": [
"todo-tree.general.tags": [
"TODO",
"FIXME",
"REVIEW",
Expand Down Expand Up @@ -82,6 +82,53 @@ And for the foreground and background color in the editor you can use the colour

Do note that for the sidebar the string "orange" actually works (see my configuration above).

You might also find these snippets useful:

```json
{
"todo": {
"scope": "", // all languages
"prefix": "todo",
"body": [
"TODO: $1"
],
"description": "TODO annotation"
},
"fixme": {
"scope": "", // all languages
"prefix": "fix",
"body": [
"FIXME: $1"
],
"description": "Bug/fixme warning"
},
"hack": {
"scope": "", // all languages
"prefix": "hack",
"body": [
"HACK: $1"
],
"description": "Hack warning"
},
"review": {
"scope": "", // all languages
"prefix": "review",
"body": [
"REVIEW: $1"
],
"description": "Review annontation"
},
"reference": {
"scope": "", // all languages
"prefix": "ref",
"body": [
"REF: $1"
],
"description": "Reference annontation"
}
}
```

## References:

- [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.todo-tree)

0 comments on commit 532584c

Please sign in to comment.