You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Visual Studio Code extension provides syntax highlighting for the R programming language.
3
+
This Visual Studio Code extension provides syntax highlighting for R and R Markdown extensions.
4
4
5
5
It brings more consistency with other VS Code language syntaxes (such as Python and C) and
6
6
Sublime Text [R syntax](https://github.com/sublimehq/Packages/tree/master/R).
7
+
8
+
It only contains syntax definitions to allow users to switch to alternative formatters and language servers such as [air](https://github.com/posit-dev/air) and [ark](https://github.com/posit-dev/ark).
9
+
10
+
## Installation
11
+
12
+
The releases are available in VSCode Marketplace or Open VSX Registry. Search for extension "R Syntax".
13
+
14
+
## Contribution
15
+
16
+
If you are interesting in contributing to the syntaxes, feel free to clone the repository and edit the `r.yaml` and `rmd.yaml` files under the `syntaxes` directroy.
17
+
In order to build the json files, you will need to install node.js and run
18
+
19
+
```sh
20
+
npm install
21
+
npm run build
22
+
# or the following if you want to build the json files in watch mode
23
+
npm run build -- --watch
24
+
```
25
+
26
+
You should also run the grammar tests located in the `tests/testdata`. See [vscode-tmgrammar-test](https://github.com/PanAeon/vscode-tmgrammar-test) for details.
27
+
28
+
```sh
29
+
npm run test:grammar
30
+
# or the following if you want to test in watch mode
0 commit comments