Rubberduck
Rubberduck copied to clipboard
Code Inspections: Do not collapse tree view
Justification Working with "Code Inspections" I find myself expanding the tree view continuously. Here's the workflow:
- Expand the tree view
- Fix the code
- Refresh (which collapses the tree view)
- Expand the tree
- Work on next warning
- Refresh
- Expand tree view
- ...
Description I'd prefer if a refresh would not collapse the tree view.
The reason refreshing collapses the tree view is that we rebuild a while new tree with each refresh and storing the expanded state of a tree across parsing runs can be surprisingly complex. There has been some work to make it easier and faster to avoid removing inspection results from a previous parsing state, but that does not seem to have reached the UI yet.
Would it be reasonable to have a setting to automatically expand the topmost group of the tree?
I typically have the inspections window set to group by severity, and whittle away at the suggestions periodically,
Heck, if it also 'selected' the first item in the list the ✔️ Fix button on the inspection window would become much more helpful.