Skip to content

Syntax highlighting consistency #788

@wkeahi

Description

@wkeahi

Is your feature request related to a problem? Please describe.
I'm filing this as a feature request as it seems to be an issue with vanilla VS Code. However, I think vscode-R does some syntax highlighting improvements and I hope this can be added. Request: Make the syntax highlighting rules more consistent.

Describe the solution you'd like
All function calls should look the same, object references should look the same.

Describe alternatives you've considered
Perhaps this is more an issue with the particular theme. I'm not too sure the contributions between VS Code + vscode-R + theme. I've tried editing editor.tokenColorCustomizations with no success.

Additional context
VS Code using Monokai theme below (other themes have same issue including Abyss, Solarized Light). Note that the mutate function and my_function are not blue. x,y,z are styled differently depending on the surrounding punctuation, etc.
Screen Shot 2021-09-14 at 1 29 58 PM

Compare this with the same code in Sublime below for desired feature.
Screen Shot 2021-09-14 at 1 30 03 PM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions