
使用 vscode 开发 Ruby on Rails 实现代码跳转
【代码】使用 vscode 开发 Ruby on Rails 实现代码跳转。
·
- mac 安装 ctags
brew install ctags
- 安装 vscode 插件 CTags Support
- 构建索引(包含 gem path)
$ cd /my_project
$ ctags -R -f .tags --exclude=.git --exclude=tmp --exclude=public --exclude=node_modules --exclude=app/assets --languages=ruby --recurse . `bundle show --paths`
- command + T 或者 command + 点击 跳转成功
更多推荐
所有评论(0)