Rubberduck: Configure - Code explorer references

Created on 18 Feb 2019  路  3Comments  路  Source: rubberduck-vba/Rubberduck

For some peope the "lib references" part in the code explorer might be very helpful but I really dont need it.

The new "Add/Remove-References" dialog is enough for my needs (Thank you for this btw)

Is there a way to turn the references in the Code explorer off?

enhancement feature-code-explorer

Most helpful comment

Ok, that's a useful feedback. I agree that when there's no match, the node shouldn't be shown in a search folder. I also can understand why it'd be annoying to have references in the search when you are interested in code.

All 3 comments

Given that by default it loads collapsed, it adds only one more node to the explorer, which you can simply ignore, I'm not sure I see the utility of a setting that basically hides one node per project from CE. Furthermore, there are other features included such as detecting whether a reference is unused or is broken that would be best communicated via a dedicated node, it does not seem to make much sense to make yet another setting just to make room for one more node.

If the reference node were loading expanded rather than collapsed by default then I can see why that would be a problem. Is that what happening? If not, then I need an explanation why one node matters so much.

The main problem is that the search function also searches in the references.

If there are search results in the references the reference node expands. And its always on the top.

And as I am searching for modules and functions and never for references the top things I see are usually one that I really dont need.

And btw the node is always there (again at the top) even if no reference is found (Not like in visual studio where the nodes are removed when there is nothing found).

Ok, that's a useful feedback. I agree that when there's no match, the node shouldn't be shown in a search folder. I also can understand why it'd be annoying to have references in the search when you are interested in code.

Was this page helpful?
0 / 5 - 0 ratings