“Go to declaration” works with symbols used in your project.
The feature requires ctags which need to be generated per project. This can be achieved with the command line or with an atom plugin (https://atom.io/packages/symbol-gen) .
You can follow this issue on github for further details