Comments (4)
A feature has been added to the latest release which allows you to jump to fully qualified constant names such as A::B
#44
The trick is to pass --extra=q
argument. That will instruct ripper-tags to also output the A::B
definition along with the usual B
tag definition. This will increase the size of the tag file due to extra definitions, but it will allow you to jump to a fully qualified constant name if you selected it in code.
Let me know if it works.
from ripper-tags.
+1
Fortunately my tests are not namespaced (would be class ABTest
in above example`) so I'm finding the test with tags and then I'm jumping to the class file using vim-rails plugin's "alternate file" feature.
from ripper-tags.
@mislav Yes it works! Thank you Mislav.
from ripper-tags.
Thanks @mislav, it's working for me as well.
from ripper-tags.
Related Issues (20)
- Parse ruby files for e.g RSpec HOT 3
- Parser should pickup `class_eval` definations HOT 7
- Chokes on `private attr_reader :x` HOT 1
- Integration with IDEs HOT 2
- Jump to SomeClass.some_method HOT 2
- initialize is magic! HOT 4
- Parsing error on the hanami-cli 0.1.0 gem HOT 1
- Cannot jump to functions with a question mark in them (with Emacs) HOT 1
- /usr/lib/ruby/gems/2.4.0/gems/ripper-tags-0.4.2/lib/ripper-tags/parser.rb:343:in `process': undefined method `on_assoc' HOT 2
- Bugs in access modifiers when used with symbols, not defs HOT 2
- Dies when parsing faraday_middleware HOT 1
- Support `--fields=+l` option HOT 1
- parser crash HOT 9
- KeyError ("key not found: :name") in vim formatter HOT 2
- Make ripper-tags faster? HOT 2
- Recommended way to generate tags for gems HOT 3
- Not create tag for nested method
- Gem::Specification#has_rdoc= is deprecated HOT 5
- Custom method modifiers not supported HOT 4
- Error when using --append and a non-existent tags file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ripper-tags.