Ability to Search For and Group Tilesets
Is your feature request related to a problem? Please describe. I have a ton of tilesets (literally hundreds, don't ask) and would like to be able to search through them and also categorize them.
Describe the solution you'd like Any combination of:
- a search
- a tagging system
- folders
- ordering
Describe alternatives you've considered excruciating scrolling
I thought there was an issue for this already, but apparently not! Related feature request: #873
For now, there is the Projects panel and the Search In Project (default shortcut: Ctrl+P), which can be used bring up the relevant tilesets by their location or name. However, while this is useful for opening a tileset, it won't help if the problem is that you already have too many tilesets open to begin with.
I think a related feature request would be the option to hide Tilesets panel tabs for tilesets that are not part of the current map.
Yeah certainly a lot of discussion to be had about exactly how this should/could be implemented.
Is anyone familiar with the JS or Python Plugins able to speak to whether this could be added via that?
Looking through the docs, it seems that it's only possible to create temporary dialogs/modals, and that it is not possible to create new views.
Is this correct?
https://www.mapeditor.org/docs/scripting/
That is correct, sort of.
It's possible to make a Dialog that lets you search currently open tilesets based on custom properties and bring up a single tileset as the currently active tileset in the Tilesets panel though, which should cover most needs. If multiple matches are found, the dialog can display a list for you to select one from.
Dialogs are not modal, they can also persist while you work without closing, so it's possible to use them to make a sort of filterable shortcut board for different tilesets.
I see, but you can't put it into the UI like the Layers Panel, for instance. Perhaps a new issue should be made for that haha