LinkedData
Complete high-res syntaxes for SPARQL 1.1, Turtle, TriG, N-Triples, N-Quads, Notation3 and ShExC
Details
Installs
- Total 698
- Win 280
- Mac 251
- Linux 167
| Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Syntax highlighting for Linked Data developers
Each syntax highlighter in this package covers the entire grammar specification for its language. This provides very high-resolution scopes and immediately shows invalid syntax using special alert highlighting and all tokens are inspectable.
Install:
Available on Package Control as LinkedData .
Alternatively, you can download the .sublime-package file (or the source code archives) from the Releases.
Features:
- Highly-resolution scoping allows for very detailed color schemes.
- Malformed syntax detection. Expected token(s) are inspectable via scope name.
- Auto-completion and validation for prefix mappings registered on prefix.cc.
Currently supported languages:
- SPARQL 1.1 and SPARQL*
- RDF 1.1 Turtle (TTL), Turtle*, and RDF 1.1 TriG
- ShExC 2.1
- RDF 1.1 N-Triples (NT) and RDF 1.1 N-Quads (NQ)
- Notation3 (N3)
Currently supported platforms:
- Sublime Text 3
Currently supported color themes:
- Macaron Dark
- Macaron Light (in beta)
Planned langauage support:
- OWL Manchester
- OWL Functional-Style
- RDFa
- JSON-LD
Planned platform support:
- Atom
- CodeMirror
- Emacs
- minted (LaTeX)
- ~Ace~
Planned color theme support
- Suggestions?
Activating the Light Color Scheme
This package ships with two color schemes which were designed specifically for the high-resolution scopes that the syntax highlighting definitions create. By default, this package will use the Macaron Dark color scheme. If you prefer to use Macaron Light, you'll need to create a settings file to override the syntaxes defined below:
First, create a new file in Sublime and paste these contents into it:
// These settings will override both User and Default settings for the specific LinkedData syntaxes
{
"color_scheme": "Packages/LinkedData/macaron-light.sublime-color-scheme"
}
Next, save this file as LinkedData.sublime-settings under the User/ folder in the Sublime Text 3 Packages directory. That is, the path should end with: [...]/Packages/User/LinkedData.sublime-settings .
Finally, create a new symbolic link to this file for each syntax. The files should be in the same User subdirectory as the other file:
For Linux and Mac, open terminal in this directory and run:
ln -s LinkedData.sublime-settings n-triples.sublime-settings
ln -s LinkedData.sublime-settings n-quads.sublime-settings
ln -s LinkedData.sublime-settings turtle.sublime-settings
ln -s LinkedData.sublime-settings trig.sublime-settings
ln -s LinkedData.sublime-settings notation3.sublime-settings
ln -s LinkedData.sublime-settings shex.sublime-settings
ln -s LinkedData.sublime-settings sparql.sublime-settings
For Windows, open command prompt in this directory and run:
mklink n-triples.sublime-settings LinkedData.sublime-settings
mklink n-quads.sublime-settings LinkedData.sublime-settings
mklink turtle.sublime-settings LinkedData.sublime-settings
mklink trig.sublime-settings LinkedData.sublime-settings
mklink notation3.sublime-settings LinkedData.sublime-settings
mklink shex.sublime-settings LinkedData.sublime-settings
mklink sparql.sublime-settings LinkedData.sublime-settings
This will override the default color scheme when any of these syntaxes are loaded in the current view.
Previews:
Macaron Dark
Turtle:

SPARQL:

ShExC:

Macaron Light
Turtle:

SPARQL:

ShExC:
