通过裂土器标签使用CTAGS的Visual Studio Code扩展不会生成ctag文件:
Error on generate tags:'C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/ripper-tags-0.3.4/lib/ripper-tags' is not recognized as an internal or external command
settings.json文件:
// settings.json
{
"ctags": {
"executePath": "C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/ripper-tags-0.3.4/lib/ripper-tags",
"options": "--tag-file=.tags --recursive --force --exclude=/assets/ --exclude=.bundle --exclude=.git/ --exclude=coverage/ --exclude=.arcanist-extensions/ --exclude=log/ --exclude=tmp/ --exclude=bin/",
"fileName": ".tags"
}
}
通过将配置削减为以下方式解决了该问题:
{
"ctags": {
"fileName": ".tags"
}
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句