intellij-protobuf-plugin
intellij-protobuf-plugin copied to clipboard
Allow inspections to be disabled
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.
I will check it in this weekend.
I make those inspections by annotator, I need to refactor those inspections by LocalInspectionTool
, it will take some time to do this.
@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 :)
@dselans All code of name inspections in ProtobufAnnotator.kt#L75.
You can clone this repo, comment those code, and build the plugin.