sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
809 stars 39 forks source link

Allow a way to show information offered by QuickPanelItem, but in the build system quick panel. #3827

Open UltraInstinct05 opened 3 years ago

UltraInstinct05 commented 3 years ago

Problem description

Currently, the quick panel API supports having the sublime.QuickPanelItem to show more rich information about an item with details (inline minihtml), annotations, kind icons etc.

However, currently there is no way to specify such information for the quick panel that is generated to show all the build systems for a given file (syntax based) or project specific build system panel.

Preferred solution

A way to support the goodies offered by QuickPanelItem in the generated build system quick panel.

Alternatives

None that I can think of. I would love to know if there is some other way I maybe overlooking.

What is your use case

It would provide for an even better experience using build systems if it were to show more information (via details) about the cmd or shell_cmd that is executed, or help to specify custom kind icons for different types of builds configured for a project etc

Additional Information (optional)

Sublime Text Build 4094 Windows 10 Build 10.0.18362

deathaxe commented 3 years ago

It appears you are looking for a general solution to display icons next to each kind of quick panel item.

UltraInstinct05 commented 3 years ago

It appears you are looking for a general solution to display icons next to each kind of quick panel item.

I don't think I understand this. Currently, I don't think there is a way to tap into the resultant quick panel that shows all of the build systems for a given selector or project. All I am asking is for some solution to be given to a user so that (s)he can use the QuickPanelItem features for build system quick panel as well.

Maybe some additional keys in a .sublime-build file that denote kind, detail & annotation that is whitelisted and not passed to the exec (or the target) of the build system.