jvolkman / intellij-protobuf-editor

Protocol Buffers for IntelliJ-based IDEs
Apache License 2.0
122 stars 15 forks source link

Keywords highlighting not working for rider 2020.3 (Windows) #60

Closed Dzliera closed 3 years ago

Dzliera commented 3 years ago

Keywords are not highlighted in the .proto file. As far as I can tell, keywords are treated the same as identifiers: when I change the identifier color from File | Settings | Editor | Color Scheme | Protocol Buffer - actually keywords also getting highlighted with that color. In contrast, no matter what color I configure for keywords in settings, it gets ignored and identifier color is used for keywords anyway.

BradBarnich commented 3 years ago

I have the same issue with 2021.1. The net effect is like there is no syntax highlighting at all.

image

jvolkman commented 3 years ago

Are there any error highlights? Like if you replace string with bogus? I wonder if annotators are just completely broken in Rider (which I've not used myself).

Dzliera commented 3 years ago

@jvolkman error highlighting is working well in my case. Only syntax highlighting is broken

BradBarnich commented 3 years ago

Yes, same. Errors are red

jvolkman commented 3 years ago

I'm unfortunately unable to reproduce this in Rider 2021.1. Some of the available color schemes are certainly more colorful than others, but for me at least, highlighting seems to be working. This is on MacOS; I don't have a Windows machine to test.

What color schemes are affected people using? And does the color scheme configuration work at all? (Settings -> Editor -> Color Scheme -> Protocol Buffer)

image

image

BradBarnich commented 3 years ago

Thanks, I did the "Reset Default Settings" action, after that it was working. 🤷‍♂️

jvolkman commented 3 years ago

Oh cool, glad to hear.

Dzliera commented 3 years ago

Reset All Setting to default worked for me too, thanks