goofansu
2012-11-20 10:37:48 +08:00
问一下,我用了这个插件为什么找不出任何todo
配置如下:
{
"folders":
[
{
"path": "/Users/suyejun/bitbucket/sns/app"
}
],
"todo":
{
"patterns": {
"TODO": "TODO[\\s]*?:+(?P<todo>.*)$",
"NOTE": "NOTE[\\s]*?:+(?P<note>.*)$",
"FIXME": "FIX ?ME[\\s]*?:+(?P<fixme>\\S.*)$",
"CHANGED": "CHANGED[\\s]*?:+(?P<changed>\\S.*)$"
},
"folder_exclude_patterns": [
],
"file_exclude_patterns": [
]
},
"settings": {
"tab_size": 2
}
}
在文件里:
class ApplicationController < ActionController::Base
include SessionsHelper
protect_from_forgery
// TODO shfahhfa
def test
end
end