New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ~> Existing Module #5008
Comments
Nice idea. Could I also suggest the label gets changed from 'Add Module' to simply 'Add'? 'Module' doesn't really fit with UserForms for example, nor with ActiveX designers (if we ever want to support them for ODE) nor with several of the VB6 component types (if we want to be a little consistent between VBA and VB6) |
May I suggest adding a 'Replace' functionality? Quite often I find myself wanting to replace (first delete, then re-import) a certain module, for example when rolling back changes. Edit: The VBE's standard behavior when trying to import a module whose name is already taken is to append a number to the name (or increment the existing number). |
Currently, the Add button drop-down comes from the same resource entry as the Add context (sub) menu. If we add an entry for 'File...' there, it will show up in both places. That being so, the Import... menu item seems somewhat redundant. Did we want to keep it? |
Indeed this makes the "Import..." menu item |
@mansellan that looks great! |
Incidentally, Import was never available to VB6, the word Import didn't really fit, so the functionality was missed. Now that it's Add, I'm adding it. |
I do wonder though if Add, Export and Remove should be in one group, separately from Find and Indent? |
For the question, I think the above makes more sense. I would also think that I think it makes more sense & discoverable to have the |
The "Import" functionality is currently visually rather far from the "Add Module" functionality:
Meanwhile in Visual Studio, Add -> Existing Item... is right on top of the list of available item types.
Let's leave "Export" grouped with "Remove" (they do go hand-in-hand), and move "Import" under the "Add" menu, both in the context menu and the "+" dropdown.
The text was updated successfully, but these errors were encountered: