I hope you are doing well.
As you may know, there is a VScode extension that helps to create packages.xml.
This extension just gives you a list of all the metadata available in the org and lets you choose which metadata you want to put in the package (that will be automatically created).
This is especially useful when trying to create a package to deploy in a different ORG.
This should be relatively easy to implement as all the needed functionality is already present in IC and you can almost achieve the same functionality today.
In fact, using the combination of keys control +. Alt + shift + . You will be prompted with this window:
from this list, you are already able to choose which metadata you want to add to the package.xml. So basically we are just missing the search functionality.
I know that IntelliJ allows you to search any list but it's not a full-fledged search. For example, you can't copy and paste something you want to search and something simply doesn’t work.
The implementation of this new search input will allow us to dynamically create package.xml. Obviously, I do not want to mess with my existing metadata subscriptions so I created a new project just for this purpose.
Here is a screenshot of how could look like: