RStudio: syntax highlighting: parentheses

Is there a way to tell RStudio to highlight the parentheses it thinks match one another in distinct colors, one per pair?

1 Like

I think there is an open feature request for this one, you could give it a :+1:

@ derv, great call. Just did. But if there is anyone with any idea of how syntax highlighting works, I'd like to know if this is a change that needs to be made deep in the guts of RStudio or if it can be made in CSS or something. I observe that highlighting styles vary considerably in what they choose to identify, and hoping that is because the differences are not so hard.

A visual comma-period descriminator would also be welcome.

RStudio Theme extension mechanism is describe here
https://rstudio.github.io/rstudio-extensions/rstudio-theme-creation.html

I let you dig into it. :wink:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.