Sublime Forum

Create hierarchy of Build scripts

#1

My Build System List is very long requiring scrolling and custom Builds are being created, extending the list further. How might I create a nested multi level hierarchy of Builds? Even to colour coding the titles.

0 Likes

#2

Build systems are basically just presented by an ordinary quick panel in a flat list expecting the user to be able to quickly narrow down relevant items via fuzzy search - same as for command palette.

A plugin could however manually create an alternative quick panel which supports IntputHandlers to add multiple layers. It would require to manually aggregate all .sublime-build files, parse them and present information in desired ways.

0 Likes

#3

Thanks for tips but fuzzy search assumes that you have some fuzzy idea of what you are searching for in first place. I prefer to look at a menu. And so in my unconventional style I plan to yank them (sublime-build) out of Subl. place into a folder viewed by Krusader, and injected back again on a “just in time” basis when building. Krusader is a nice “paired” app. I might do same with other sublime types. Basically an orchestrator of Subl since for me Subl gets top heavy with its richness of packages and plugins. A buddy app or two helps. Trawled sublime-build files (using Krusader as trawl net) are now aggregated in Krusader panel for deployment.

Progress report. Moved all my custom User sublime-snippets into ~/Data-Vault and I can use Krusader to work on them. UserActions available. Similar ploy with Albert snippets to follow later. Likewise sublime-build. Krusader and Albert only for Ubuntu but I am sure that other dual-panel editors in Windows and Mac can follow suit for pairing.

0 Likes