Home Download Buy Blog Forum Support

Using a dynamic command palette-like interface for a plugin

Using a dynamic command palette-like interface for a plugin

Postby Arcana on Fri May 10, 2013 7:38 pm

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.
Arcana
 
Posts: 5
Joined: Tue Apr 30, 2013 5:35 pm

Re: Using a dynamic command palette-like interface for a plugin

Postby skuroda on Fri May 10, 2013 8:56 pm

Take a look at "window.show_quick_panel" in the API docs.
skuroda
 
Posts: 685
Joined: Fri Oct 05, 2012 8:11 am


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 7 guests