Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gf fails on a $global_variable #498

Closed
davidmathers opened this issue Sep 27, 2017 · 2 comments
Closed

gf fails on a $global_variable #498

davidmathers opened this issue Sep 27, 2017 · 2 comments

Comments

@davidmathers
Copy link

Typing gf on variable $my_redis produced error E345: Can't find file "my_redi.rb" in path

@jianzhangbjz
Copy link

I encounter a similar problem, just like E345: Can't find file "opts_array_process" in path, but the opts_array_process is a method defined in another ruby file. How to resolve that?

@tpope
Copy link
Owner

tpope commented Dec 13, 2017

gf doesn't work on methods. Look into ctags.

Original issue is a nonstandard use case but probably still worth fixing.

@tpope tpope closed this as completed in 52f3812 Jul 9, 2018
algert072 added a commit to algert072/vim-rails that referenced this issue Mar 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants