Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Stardog RDF GrammarsNew to Visual Studio Code? Get it now.

Stardog RDF Grammars

Stardog Union

|
40,730 installs
| (5) | Free
Syntax highlighting for SPARQL, Turtle, Stardog Rules Syntax, and other RDF languages
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Stardog RDF Grammars

Visual Studio Code syntax highlighting for all your favorite RDF languages, and a few Stardog-specific ones, too!

Turtle syntax highlighting

RDF language support:

  • SPARQL (.rq)
  • Turtle (.ttl)
  • Trig (.trig)
  • SHACL (.shacl)

Stardog language support:

  • Stardog Mapping Syntax 2 (.sms, .sms2)
  • Stardog Rules Syntax (.srs)

Installation

There are two ways to install this extension: from the Visual Studio Code Extension Marketplace (recommended) and locally.

Marketplace

To install via the Marketplace open the command palette while in VSC (CMD + SHIFT + P) and type install, then navigate to Extensions: Install Extensions and hit enter, or simply click the Marketplace icon and search for this extension stardog-rdf-grammars.

Local

To install the extension locally you'll need to copy this project into VSCode's dotfile folder (usually located in your $HOME directory):

cp path/to/stardog-rdf-grammars $HOME/.vscode/extensions

Make sure you have VSCode installed first! Once you've copied this directory to .vscode/extensions, either restart VSCode or reload the window (CMD+SHIFT+P, then type reload - you'll see the appropriate option).

Usage

Open a file with an extension that matches your language, et voila!

License

Apache 2.0

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft