Open kankaristo opened 9 years ago
I can confirm that this package does not work for me on Linux. I created a .TAGS
file (empty). And clicking ctrl+alt+down
does not do anything on any of my functions. Even when trying to create my own keymap.cson it does not work.
I think it would also be great to support ctrl+click (on linux).
Any solution for the problem?
My keymap.cson:
'.platform-linux atom-text-editor':
'ctrl-shift-y': 'symbols-view:go-to-declaration'
'.platform-linux atom-text-editor':
'ctrl-shift-x': 'symbols-view:return-from-declaration'
Interesting: return back from declaration is working, but go to declaration not.
Not sure how many people use the vertical workspaces. My guess is not many, since most default installations only have workspace arranged in horizontal manner.
It is pretty easy to remove the keybindings from the OS.
@ferdynice, Gnome only has vertical workspaces by default.
@spyff try change keymap.cson like this:
'.platform-linux atom-text-editor':
'ctrl-shift-y': 'symbols-view:go-to-declaration'
'ctrl-shift-x': 'symbols-view:return-from-declaration'
@yuankaiz Thanks!
The keybindings for
go-to-declaration
andreturn-from-declaration
don't work for most Linux desktop environments (Gnome, Unity, etc.), because they are commonly used to change between workspaces.Something like
alt-up
andalt-down
would work, and as far as I know, it doesn't seem to be bound to anything else.As a related, but separate issue, why is there a different keybinding for going to / returning from the declaration?
I would have changed the keybinding to
F2
for both (which is what Qt Creator uses), but the package doesn't have akeymaps
directory...