PeepOpen-Issues icon indicating copy to clipboard operation
PeepOpen-Issues copied to clipboard

Support for jumping to a Symbol as well (shift-command-t in Textmate/Textmate.el)

Open mwilliams opened this issue 15 years ago • 4 comments

Not as applicable and important as finding files, but it would unify interfaces a bit.

mwilliams avatar Apr 14 '10 20:04 mwilliams

Interesting, but how does the app get the list of symbols?

takaaki avatar Apr 14 '10 21:04 takaaki

Just like this (in the case of Emacs anyway):

http://github.com/defunkt/textmate.el/blob/master/textmate.el#L225

mwilliams avatar Apr 14 '10 21:04 mwilliams

So the app needs to implement the functionality to each text editor? That could be nice as long as topfunky can maintain...

takaaki avatar Apr 14 '10 21:04 takaaki

You could avoid having to implement the functions for each editor if you allowed an editor's normal shortcuts to be used from the search dialog.

Once the file you want is listed at the top of the dialog pressing any key combo could open it. That would mean you could do: highlight file in dialog, cmd-shift-t to both open the file and open the jump to symbol dialog. Pressing escape could still be used to dismiss the dialog.

opsb avatar Jul 23 '10 13:07 opsb