rubberduck-vba / Rubberduck3

COM add-in for the VBIDE
GNU General Public License v3.0
89 stars 17 forks source link

PreviewRename prompt #55

Open retailcoder opened 1 year ago

retailcoder commented 1 year ago

Before a rename operation is executed, its impacts are assessed, and the user gets an opportunity to [p]review and skip individual diffs if needed:

rename preview confirmation prompt

The number of locations and modules affected could theoretically reflect the checked items - the OK button should be disabled if none are selected (operation would be no-op).

This is purely client-side functionality: the preview diff literally consists of document edits to be performed.

Vogel612 commented 1 year ago

I like the mockup, but I would want to expose more context lines for the diff, possibly user-configurable, but default more than 2 and less than 5, just to ensure that the user can actually understand what the heck is happening.