ksprojects/protobuf-jetbrains-plugin

Applying multiple field options (or using commas) gets marked as a syntax error

LethiferousMoose opened this issue · 2 comments

Describe the bug
I began noticing this most frequently when using the third-party plugin protoc-gen-validate. This plugin has multiple field options, that can be applied in sequence as well as lists such as "in" and "not_in". These are all valid proto syntax and compile and generate normally, but the plugin marks them as issues once a comma is present.

To Reproduce
Steps to reproduce the behavior:

  1. Install protoc-gen-validate plugin in a project (or create options that can be applied with commas)
  2. Apply field options that contain comments
  3. See red underlines

Expected behavior
Red underlines will not be present for valid syntax

Screenshots
image

Plugin (please complete the following information):

  • OS: Windows 10
  • Plugin version: 0.13.0
  • IDE: e.g. IntelliJ iDEA 2019.1.3 (Ultimate Edition)

#143 has some discussion on this.

Thanks, I will just close my issue since it is the same.