Sublime Forum

Goto Anything + Goto Symbol in Project

#1

Hi,

As a heavy Xcode user I’d like to have 1 fuzzy searchable list for all files in the project as well as all the symbols in the project.

Is it possible to write a plugin that presents the equivalent of a combined result of the ‘Goto Anything’ and ‘Goto Symbol in Project’ features?

This would save me from having to hit 1 shortcut, realise it’s the wrong list, hit another shortcut and finally go to the thing I need.

0 Likes

#2

Isn’t it ctrl+p?

image

0 Likes

#3

So you want a command that shows both file list and symbol list at the same time?

I cannot find a API to get all symbols in the project :frowning:

0 Likes

#4

The project symbol list isn’t exposed in the API or anywhere, thus writing a plugin like this isn’t possible.

You’ll have to suggest this as a feature on the Core issues repository on Github or just remember to use the correct binding for what you are looking for.

0 Likes

#5

@jfcherng @FichteFoll thanks a lot for your responses. I’ll make a request to make the project symbols accessible via an API.

0 Likes

#6

Request can be found here: https://github.com/SublimeTextIssues/Core/issues/2909

0 Likes