vscode TodoTree 配置

在VScode中打开setting.json 文件
刚打开时候是这样子的:

{
    "files.associations": {
        "bitset": "cpp",
        "cctype": "cpp",
        "clocale": "cpp",
        "cmath": "cpp",
        "csignal": "cpp",
        "cstdarg": "cpp",
        "cstddef": "cpp",
        "cstdio": "cpp",
        "cstdlib": "cpp",
        "cstring": "cpp",
        "ctime": "cpp",
        "cwchar": "cpp",
        "cwctype": "cpp",
        "array": "cpp",
        "atomic": "cpp",
        "strstream": "cpp",
        "*.tcc": "cpp",
        "chrono": "cpp",
        "complex": "cpp",
        "cstdint": "cpp",
        "deque": "cpp",
        "list": "cpp",
        "unordered_map": "cpp",
        "vector": "cpp",
        "exception": "cpp",
        "algorithm": "cpp",
        "functional": "cpp",
        "ratio": "cpp",
        "system_error": "cpp",
        "tuple": "cpp",
        "type_traits": "cpp",
        "fstream": "cpp",
        "initializer_list": "cpp",
        "iomanip": "cpp",
        "iosfwd": "cpp",
        "iostream": "cpp",
        "istream": "cpp",
        "limits": "cpp",
        "memory": "cpp",
        "new": "cpp",
        "ostream": "cpp",
        "numeric": "cpp",
        "sstream": "cpp",
        "stdexcept": "cpp",
        "streambuf": "cpp",
        "thread": "cpp",
        "cfenv": "cpp",
        "cinttypes": "cpp",
        "utility": "cpp",
        "typeindex": "cpp",
        "typeinfo": "cpp",
        "string": "cpp"
    }
    
}

打开 setting.json 把下面的配置多出来的项目复制粘贴进来就可以了即可。
注意:配置中的 “files.associations”: 这一项是下面的配置的最后一项,把这项之前的插入进该配置中就可以了。

{
    "doxdocgen.generic.paramTemplate": "@param[in] {param} ",
	"todo-tree.highlights.defaultHighlight": {
	"icon": "alert",
	"type": "text",
	"foreground": "red",
	"iconColour": "green"
	},
	"todo-tree.general.tags": [
	"?",
	"!",
	" Step ",
	"TODO"
	],
	"todo-tree.highlights.customHighlight": {
	" Step ": {
	"foreground": "#7CFC00",
	"icon": "question",
	"iconColour": "green",
	"type": "text-and-comment",
	"hideFromTree": true
	},
	"?": {
	"foreground": "yellow",
	"icon": "question",
	"iconColour": "yellow",
	"type": "text-and-comment"
	},
	"!": {
	"foreground": "red",
	"icon": "issue-opened",
	"iconColour": "red",
	"type": "text-and-comment"
	},
	"TODO": {
		"foreground": "#B62599",
		"icon": "question",
		"iconColour": "red",
		"type": "text-and-comment"
		}
	},
	"todo-tree.general.revealBehaviour": "highlight todo",
	"todo-tree.tree.showCountsInTree": true,
	"todo-tree.filtering.excludeGlobs":[
	"**/*.txt",
	"**/*.md"
	],
	"files.associations": {
		"*.cc": "cpp",
		"vector": "cpp",
		"thread": "cpp",
		"mutex": "cpp",
		"*.tcc": "cpp",
		"deque": "cpp",
		"list": "cpp",
		"string": "cpp"
	}
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值