Skip to content
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

Allow inspections to be disabled #45

Open
MitchAman opened this issue Aug 19, 2021 · 4 comments
Open

Allow inspections to be disabled #45

MitchAman opened this issue Aug 19, 2021 · 4 comments
Labels
enhancement New feature or request PR welcome Welcome to create a pull request for this feature/bug

Comments

@MitchAman
Copy link

It would be nice to allow inspections to be disabled in the Settings GUI. For example, "Message name should be PascalCase." While I may agree with the inspections, I'm not always the owner of that code, or it's not easy to make the change.

@devkanro devkanro added question Further information is requested enhancement New feature or request and removed question Further information is requested labels Aug 19, 2021
@devkanro
Copy link
Owner

I will check it in this weekend.

@devkanro
Copy link
Owner

I make those inspections by annotator, I need to refactor those inspections by LocalInspectionTool, it will take some time to do this.

@dselans
Copy link

dselans commented Nov 5, 2021

@devkanro is there any way to do this "by hand" - as in, is there some config somewhere that can be updated by hand to exclude certain inspections?

I'm in the same boat as @MitchAman - I also get yelled at about using PascalCase in some situations and it's just a tad annoying :)

@devkanro
Copy link
Owner

devkanro commented Nov 5, 2021

@dselans All code of name inspections in ProtobufAnnotator.kt#L75.

You can clone this repo, comment those code, and build the plugin.

@devkanro devkanro added the PR welcome Welcome to create a pull request for this feature/bug label Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PR welcome Welcome to create a pull request for this feature/bug
Projects
None yet
Development

No branches or pull requests

3 participants