rubberduck-vba / Rubberduck

Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
https://rubberduckvba.com
GNU General Public License v3.0
1.91k stars 299 forks source link

Review inspection types #5723

Open retailcoder opened 3 years ago

retailcoder commented 3 years ago

New inspections default to CodeQualityIssues if I recall correctly, and because it's easy to forget to review/set the InspectionType when creating a new inspection, many aren't under the right/intended category.

We need to review all inspection types, and perhaps...

GmausDev commented 1 year ago

Hi ! i try to take it

GmausDev commented 1 year ago

Just send the Commit , i have a doubt over the last requirement . Normally when u have an Enum u can put a default value thats what u want?

Vogel612 commented 1 year ago

@GmausDev that commit will not work, since all the references to the enum elements will also need to be adjusted. I highly recommend setting up a "proper" IDE for this

GmausDev commented 1 year ago

Hi , i had vss 2022 enterprise version. Im looking all the references let me a moment :p

GmausDev commented 1 year ago

There is no reference to the value who i´ve changed . Maybe any problem with the interface or the models?

retailcoder commented 1 year ago

Unfortunately this repo doesn't build with VS 2022 for some reason (works fine in VS 2019 though).

Inspection default configs are admittedly a bit of a mess - what appears on the website is being parsed from a decoded sub-section of this file: https://github.com/rubberduck-vba/Rubberduck/blob/next/Rubberduck.CodeAnalysis/Properties/CodeInspectionDefaults.settings

But the InspectionType strings need to match the InspectionType enum values.

GmausDev commented 1 year ago

Ahaha, okay . No worries I´ll open with vs2019. And i try to change the settings document . The enum change its fine? If i understand good now i must change the references of the settings.

retailcoder commented 1 year ago

I'd expect all the enum members to be at least used once for mapping to a particular icon asset somewhere... I think it's much safer to rename the members with a proper Rename refactoring in Visual Studio 😉

GmausDev commented 1 year ago

´kay ;D I´ll try take tomorrow .