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 161
  • Win 57
  • Mac 58
  • Linux 46
Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8
Windows 0 0 0 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 2 0 0 0 0 0 0 1
Mac 0 1 1 1 0 0 1 1 0 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 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 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