崇高3中的TodoReview没有找到TODO

Kir*_*ies 3 todo sublimetext sublimetext3

我为崇高3安装了TodoReview,但我无法抓住我的TODO语句.我在python中编码并在这样的语句上面插入一个TODO,

# TODO
print "This is just an example, I also tried varying number of hashes and cases, and typing the #TODO after the statement instead of above"
Run Code Online (Sandbox Code Playgroud)

然后运行时Todo Review: Open files from the command palette,它只读取类似的内容

// Thursday 05/07/15 at 03:03PM - 5 files in 0.03 secs
Run Code Online (Sandbox Code Playgroud)

仅此而已(我的TODO文件是五个打开文件之一).

我的TodoReview:sublime-settings文件看起来像这样.

{
"patterns": {
    "TODO": "TODO[\\s]*?:[\\s]*(?P<todo>.*)$"
},
"patterns_weight": {
},
"exclude_folders": [
    "*.git*"
],
"exclude_files": [
    "*.sublime-workspace",
    "*.sublime-project"
],
"case_sensitive": false,
"render_include_folder": true,
"render_folder_depth": 1,
"render_maxspaces": 50,
"render_header_format": "%d - %c files in %t secs",
"render_header_date": "%A %m/%d/%y at %I:%M%p",
"navigation_forward_skip" : 10,
"navigation_backward_skip" : 10
}
Run Code Online (Sandbox Code Playgroud)

Mik*_*e P 5

它正在寻找TODO:,而不仅仅是TODO.

应该有TodoReview的用户设置; 在首选项 - >包设置中,应该有一个"TodoReview"条目,它将具有默认和用户设置选项.

然后,您可以打开默认设置,复制"模式"键/值对并将其粘贴到用户设置文件中; 根据您的规格编辑模式,您应该好好去!