Syntax highlighting for Java 8 Stream api?
已回答
I would love to get syntax highlighting for stream functions. Like the reserved keyword or another color
Specially forEach.
Is this possible?
请先登录再写评论。
Should work fine in the current IDEA version with Java 8 set as project target with 8 language level.
I have set java 8 in project structure, still doesnt show
As you can see in the background stream operations aren't highlighted. So harder to read
These are just method calls, you can define custom style for them:
But doesn't that apply for all methods?
I would like it only for stream api
Yes, for all. Why would some method calls highlight differently? Why only for stream API?
Because there are some people that prefer the old for loops because its easier to read since the for word is a keyword and highlighted.
I think if also the stream api was highlighted, it would become easier to read for these people complaining.
Anyways, I guess it doesn't work as I want.
Thank you for your time