-
Notifications
You must be signed in to change notification settings - Fork 114
symbols-view:go-to-declaration doesn't work #9
Comments
Do you have a |
Apart from lack of error feedback, this is also just an issue with ctags and CoffeeScript. I needed to add this to my ~/.ctags to get CoffeeScript and
|
In PHP file, this also does not work. I'm unfamiliar with ctags. Is that a required step to get these definitions to work? I initially posted here, but was directed to the symbols view and found this similar issue. |
@bigdawggi You can see the languages supported by your ctags command with |
Thanks @zenhob, I didn't know about needing to generate a ctags file for projects. So for each project, do the following
After that, the Go to Declaration worked like a charm for me. For posterity: I had to install ctags using homebrew...just Thanks again! |
It looks like someone released a plugin for generating tags file: https://atom.io/packages/symbol-gen |
That works great too, thanks! |
Is there some shortcut for |
@noseglid 👍 Works perfectly! |
Also not working for me most of the time. I have Key Binding Resolver open, I can see the command being called. Nothing happens, nothing is posted in the console. I have a tags file and I can easily find the item using shift-cmd-R. Perhaps its because there are multiple results. eg. "FAFeed" matches FAFeed RSSFAFeed DelimedFAFeed etc. ? Exact match should be automatically selected IMO. |
@bigdawggi, thanks for the comments, worked like a charm for me using them. |
Still does not work 90% of the time for me in python. I have no idea why. There is definitely an up to date tags file and command-shift-R finds the item quite easily. But go to declaration does not work. |
Also not working with javascript - using right click menu and 'go to declaration' does nothing. |
The only help I need for TypeScript is "What's under the cursor on right click" |
I can see that you are using symbols-view/lib/tag-reader.coffee Lines 18 to 24 in 14abf2b
The last cursor is not necessarily the place the user right clicked : As you can see |
Hi I also cannot make the go to declaration work for methods and variables when they are exported in a another package. example:
Atom version
Also I'm not clear why such a command (go to declaration) need to be cmd+alt+down ??. All my life with Eclipse, Jetbrains, Webstorm is cmd or ctrl(windows). Would be possible for us not to re-invent the weel and just use the default ? |
@thomasmodeneis You're using a pretty old version of Atom – can you update to the latest version (0.205.0) and see if you can still reproduce this? |
Using Ubuntu 12.04 + 0.207.0. Opened an rails project. It doesn't work even for same file. |
After install atom-ctag, it worked. So I know now! |
sorry if i missed it, but what is the fix for making "go to declaration" work? in my experience it has never worked... |
+1. symbol-gen installed, neither contextual menu nor alt-cmd-down work. Tried custom configuring the shortcut, no luck either. With Ruby |
Its not that the key command is not assigned correctly. It needs to have some multi-provider solution like autocomplete does. If If you edit javascript then atom-ternjs could give a good answer. For this current issue/bug we would love to see some debug posted to On Fri, Jul 10, 2015 at 6:43 PM Oliver Azevedo Barnes <
|
started working for me after I selected Packages > Symbols > Generate for Project (previously I had tried the shortcut for this, alt-cmd-g). |
I have symbols generated, that does not solve the issue for me. |
I have the same issue here. Generated the ctags file using the ctags command. I see that symbols-view:go-to-declaration is being triggered on cmd-alt-down, but nothing happens. The project-symbols works by showing everything but the go-to-declaration doesn't. |
This comment fixed it for me. Thanks @bigdawggi. |
Does not work for me with javascript. cmd-r works fine. |
Does not work "fine" for me with python. I have tags file with the project, cmd+shift+r works fine so the tags file is working. ATOM Version 1.7.4 |
with ctags : alt + cmd + down |
Doesn't work for CSS. Also, Ctags don't support it. |
atom-ctags worked for me (after restarting twice) |
With atom-ctags I get Warning from atom-ctags: atom-ctags replaces and enhances the symbols-view package. Therefore, symbols-view has been disabled.. Remember to By default on Linux you will get Emacs ctag. As said here to run the real Sorry to hear the use of Ctrl+Alt+Down by default, some Linux distros use Ctrl+Alt+Arrows to move across desktops/workspaces. |
|
Totally broken with Javascript / ES modules |
I only tried this in a .coffee file, but it doesn't work. I think there needs to be some feedback (like
beep
) to know if it didn't work.The text was updated successfully, but these errors were encountered: