Open gosukiwi opened 3 years ago
When the definition I want to go has a \, it can't navigate there using symbols-view:go-to-declaration.
\
symbols-view:go-to-declaration
So when the tagfile looks like this:
< MyClass test/class_one.rb /^class MyClass # rubocop:disable Metrics\/ClassLength$/;" c
It doesn't work, but when it looks like this:
> MyClass test/class_one.rb /^class MyClass$/;" c
It does. Here you can find a more detailed explanation.
/
class Foo # rubocop:disable Metrics/ClassLength def foo 1 end end
class Bar def bar obj = Foo.new # <- go to declaration doesn't work for `Foo` obj.foo # <- go to declaration works for `foo` end end
Expected behavior:
When stepping on Foo and trigering go-to-declaration, it should navigate to it's declaration
Foo
go-to-declaration
Actual behavior:
When stepping on Foo and trigering go-to-declaration, nothing happens
Reproduces how often:
Always
Atom 1.50.0 Symbols View 0.118.4
Here is the related original issue.
Prerequisites
Description
When the definition I want to go has a
\
, it can't navigate there usingsymbols-view:go-to-declaration
.So when the tagfile looks like this:
It doesn't work, but when it looks like this:
It does. Here you can find a more detailed explanation.
Steps to Reproduce
/
so it gets escaped:Expected behavior:
When stepping on
Foo
and trigeringgo-to-declaration
, it should navigate to it's declarationActual behavior:
When stepping on
Foo
and trigeringgo-to-declaration
, nothing happensReproduces how often:
Always
Versions
Atom 1.50.0 Symbols View 0.118.4
Additional Information
Here is the related original issue.