Rubberduck: When creating a new module, prompt for an immediate rename

Created on 12 Jul 2016  路  7Comments  路  Source: rubberduck-vba/Rubberduck

When using the CE's Add button, after selecting the type of module to add, prompt for a name for it and immediately rename it, instead of allowing the VBE to assign a generic Module1 or Class2 name.

difficulty-02-ducky enhancement feature-code-explorer up-for-grabs user-interface

Most helpful comment

The UI for this needs to provide a space for specifying a @Folder annotation as well.

All 7 comments

Also, it would be super handy to force a reparse and a refresh of the CE (if it's displayed).

Actually, I think I'd prompt for a new name before I even created it...

@Hosch250 that's what I had in mind

That'll work.

The UI for this needs to provide a space for specifying a @Folder annotation as well.

Don't let CodeExplorer get all the love. UnitTest>TestModule needs this as well. Same for TestMethod too.

Applicable to test methods expecting an error number.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

retailcoder picture retailcoder  路  4Comments

susnick picture susnick  路  3Comments

ChrisBrackett picture ChrisBrackett  路  3Comments

ChrisBrackett picture ChrisBrackett  路  3Comments

Gener4tor picture Gener4tor  路  3Comments