Applying multiple field options (or using commas) gets marked as a syntax error
LethiferousMoose opened this issue · 2 comments
LethiferousMoose commented
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:
- Install protoc-gen-validate plugin in a project (or create options that can be applied with commas)
- Apply field options that contain comments
- See red underlines
Expected behavior
Red underlines will not be present for valid syntax
Plugin (please complete the following information):
- OS: Windows 10
- Plugin version: 0.13.0
- IDE: e.g. IntelliJ iDEA 2019.1.3 (Ultimate Edition)
LethiferousMoose commented
Thanks, I will just close my issue since it is the same.