dart-tools icon indicating copy to clipboard operation
dart-tools copied to clipboard

Can't jump to declaration

Open danschultz opened this issue 9 years ago • 2 comments

Right clicking on a symbol and clicking Jump to Declaration doesn't jump to the declaration. Would be great to have a key binding and CMD+click for this as well.

danschultz avatar May 23 '15 04:05 danschultz

I think "Go to Declaration" is one of Atom's default packages that does symbol tokenization for languages like CoffeeScript, etc. Maybe.

I almost never right click in the editor, so this is my first time noticing such a menu item even exists. I have read about something like this existing, though.

I'll look into it later and see if it's something that can be hooked into, much like autocomplete-plus.

radicaled avatar May 23 '15 04:05 radicaled

Looks like "Go to Declaration" is coming from Atom's symbol-viewer package: https://github.com/atom/symbols-view

Looks like they're trying to add a service-based hub so other packages can add their own custom symbols to the view. It's not fully baked yet, apparently: https://github.com/atom/symbols-view/issues/70

Will have to wait for something exciting to happen or write a custom "goto" functionality.

radicaled avatar May 23 '15 05:05 radicaled