Sublime Forum

Using a dynamic command palette-like interface for a plugin

#1

Hi everyone,

I am very new to Sublime Text in general and do not have the vocabulary that I need to find the right API calls.

I would like to build a Sublime Text plugin that recommends lines/methods for you to visit based on your current activities.

I figure that the best way to display this in Sublime Text would be a user-summoned menu that looks and acts like the command palette that has a list of the current options. I am wondering what APIs I should look at to be able to create such a menu and dynamically populate it with contents based on the open files that the user is working on.

Thank you very much for guiding me to a good starting point.

0 Likes

#2

Take a look at “window.show_quick_panel” in the API docs.

0 Likes