rubberduck-vba / Rubberduck

Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
https://rubberduckvba.com
GNU General Public License v3.0
1.9k stars 298 forks source link

Request: Export/import project including folder structure #4646

Open Irubataru opened 5 years ago

Irubataru commented 5 years ago

On top of other suggestions that would make working with VBA "independently" of Excel, it would be neat if it would be possible to export also the visual folder structure when you export a project.

Other issues I sort of think are related and really useful if you want to e.g. reuse a module in a different project (say a folder containing a class hierarchy)

If we had all of these 3 then if I needed a set of e.g. classes in a different project (which is a situation I just found myself in), I could export my project, open my other project and import the folder containing the classes and modules I need.

As for importing it would then also be useful to import subfolders and maybe(?) add the folder annotation to files that do not have it. Although I think modifying the files is a bad idea, so probably just assume that if one includes subfolders that the annotation is there, and if it isn't the user can add them themselves.

ChrisBrackett commented 5 years ago

Great suggestion! I would love to see this too.

pchemguy commented 3 years ago

I am not sure if this will be considered off topic. While this feature has not been implemented, I have a made a proof-of-concept pure VBA module which implements this feature, including the ability to export/import individual subfolders (#3972 and #4012), as well as library references (which might be useful for moving/distributing "packages").