Rubymine 6 更新/刷新 rails 项目中的可用方法和路径? [英] Rubymine 6 update/refresh available methods and paths in a rails project?

查看:44
本文介绍了Rubymine 6 更新/刷新 rails 项目中的可用方法和路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个例子.假设我使用 resources :foo 更新路由,这会给我带来一些新路径,例如:new_foo_session 当我开始在 ERB 视图中输入路径时,我希望它显示我/建议自动完成与路径匹配的名称.所以当我输入: new_foo_ 我会得到所有匹配的路由.

Here's an example. Say I update routes with resources :foo and that buys me some new paths like: new_foo_session When I begin to type the path in an ERB view I expect it to show me/ suggest with auto complete the names matching the path. So as I type: new_foo_ I would get all the routes that match.

此外,在安装 gem 后说 devise 有像 current_user 这样的助手,我希望 RubyMine 在我开始输入时建议 current_user,但是我不明白.

Also after installing a gem say devise which has helpers like current_user I would like RubyMine to suggest current_user as I begin to type it, however I am not getting that.

如何在我的 rails 项目中更新 RubyMine 6 中可用助手、方法、路径等的列表以反映在建议/完成中?

推荐答案

谈到 ruby​​mine 支持.此功能不适用于宝石.

Spoke to rubymine support. This feature is not available for gems.

这篇关于Rubymine 6 更新/刷新 rails 项目中的可用方法和路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆