Mark folder as Custom?
Is there a way to mark folders as a custom type? Instead of sources or excluded is there a way to create your own type and extend the mark folder as menu? Or is using mark folder as sources a perfectly good option to mark a folder the root of something? I'm just concered with abusing it's meaning if it's used for something by the IDE for something else.
I'm trying to mark a root that I will use as the base path for uploading files to a webdav server. I was wondering if this would be a good approach.
请先登录再写评论。
You can extend the "Mark directory" menu, but I'm not sure whether it's the best possible UI. I don't know what your use cases look like, but I would expect to be able to set up multiple mappings between a local directory and a WebDAV folder. The "Mark directory" menu is not the best option when you need to select what exactly the folder is mapped to. A simple configurable with a list of mappings might be a better UI.
That makes a lot of sense and would in theory look similar to the deployments configuration. Are there any examples of how to create such a UI or an existing project I could take a look at? I was able to muddle through to create a form bound to a class for the server settings, but I think this UI sounds a bit more advanced than setting up a couple of text inputs.
Thanks for you input this helps a ton.