ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Linked​Data

by blake-regalia ST3

Complete high-res syntaxes for SPARQL 1.1, Turtle, TriG, N-Triples, N-Quads, Notation3 and ShExC

Details

Installs

  • Total 127
  • Win 40
  • OS X 49
  • Linux 38
Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25
Windows 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 2 0 0 1 0 2 0 0 0 0 0 0 0 1 0 0 0
OS X 0 0 0 1 1 0 0 0 0 0 2 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 2 0 1 1 0 1 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 corresponding language, providing users with high-resolution scopes and instant feedback if malformed syntax is detected (i.e., invalid or misplaced tokens are easily identified).

Install:

Available on Package Control as LinkedData .

Activating the Light Color Scheme

The package ships with two color schemes which are designed specifically for the detailed scopes that the syntax highlighting definitions create. By default, the package uses the Macaron Dark color scheme. If you prefer to use Macaron Light, you'll need to create a settings file to override the syntaxes:

Create a new file in your Sublime Text 3 Packages directory: Packages/User/LinkedData.sublime-settings

// These settings will override both User and Default settings for the specific LinkedData syntaxes
{
    "color_scheme": "Packages/LinkedData/macaron-light.sublime-color-scheme"
}

Then, create a symbolic link to this file for each syntax (shown here are terminal commands to be run for *nix systems). The files should be in the User subdirectory in the ST3 packages directory):

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 sparql.sublime-settings

This will override the default color scheme when any of these syntaxes are loaded in the current view.

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
  • Turtle (TTL)
  • TriG
  • N-Triples (NT)
  • N-Quads (NQ)
  • Notation3 (N3)
  • ShExC

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?

Previews:

Macaron Dark

Turtle:

Turtle Preview

SPARQL:

SPARQL Preview

Macaron Light

Turtle:

Turtle Preview

SPARQL:

SPARQL Preview