-
Notifications
You must be signed in to change notification settings - Fork 302
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
Code Inspector not excluding Ignored Projects #6030
Comments
Likely a cache invalidation issue, assuming the project wasn't locked during the initial parse. Adding an ignored project should clear it from the cache. |
Mathieu
Yup, at startup it shows results for ignored projects. Projects are not locked (have 13 of them). Haven’t tried to add, then refresh. Will do that shortly.
Note that this is a sometimes issue. Doesn’t always happen. sometimes at work it fails, sometimes at home it fails. Haven’t seen a correlation of events to diagnose better.
Thanks for the quick response.
Not sure if you need any help but I am pretty good at VBA. If there is anyway to lend you a hand doing that, then please consider me.
Thanks
Dan
From: Mathieu Guindon ***@***.***>
Sent: Thursday, October 13, 2022 10:44 AM
To: rubberduck-vba/Rubberduck ***@***.***>
Cc: skorpio07 ***@***.***>; Author ***@***.***>
Subject: Re: [rubberduck-vba/Rubberduck] Code Inspector not excluding Ignored Projects (Issue #6030)
Likely a cache invalidation issue, assuming the project wasn't locked during the initial parse. Adding an ignored project should clear it from the cache.
If the project is already ignored at startup, it doesn't produce inspection results, does it?
—
Reply to this email directly, view it on GitHub <#6030 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAIKEIM2OE4FSS3ZXP5ZHYDWDAN3HANCNFSM6AAAAAAREK73IQ> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AAIKEII7F3JMHN45SNBMTOTWDAN3HA5CNFSM6AAAAAAREK73ISWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSMFCNSI.gif> Message ID: ***@***.*** ***@***.***> >
|
Interesting, that's definitely a bug... Ignored projects shouldn't be parsed, that was the whole idea.
There isn't much VBA in Rubberduck (it's written in C#), but if you're feeling adventurous you can clone the repository, explore the source code (use VS 2019, the solution won't build in VS 2022), ask any questions you have and we'll be happy to guide you towards your fist pull request! We don't pick contributors, contributors pick Rubberduck |
Rubberduck version information
The info below can be copy-paste-completed from the first lines of Rubberduck's log or the About box:
Version 2.5.2.5906
OS: Microsoft Windows NT 10.0.19044.0, x64
Host Product: Microsoft Office x86
Host Version: 16.0.14931.20724
Host Executable: EXCEL.EXE
Description
When I run Code Inspections, it includes the addins from the Ignored Projects.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
For CI to exclude the addins listed in the Ignored Projects
Screenshots
Not applicable
Logfile
Included
RubberduckLog.txt
Additional context
Nothing
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: