Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save madmouser1/0445aa7b1ffed245984ac5f607b5aff4 to your computer and use it in GitHub Desktop.
Save madmouser1/0445aa7b1ffed245984ac5f607b5aff4 to your computer and use it in GitHub Desktop.
Add Syntax Highlighting for Cypher in Sublime Text 3

Credit goes to

  1. Jan Klaas Kollhof (and Fred Benenson)
  2. Chris Skardon

Installation

Since the original plugin has been developed for Sublime Text 2 we have to install it manually.

  1. Go to https://github.com/fredbenenson/sublime-cypher, download ZIP of the repo, extract the content and rename the folder to ‘Cypher’. You can download the original repo from https://github.com/kollhof/sublime-cypher but Fred Benenson introduced a handy fix for UTF-8 data, which hasn't integrated at the point of this writing.

  2. Open Sublime Text 3, and go to ‘Browse Packages’ (CTRL + COMMAND + P then type ‘browse’ and hit ENTER)

  3. In the file browser's window, move the previously downloaded folder from Step 1 into here.

  4. Restart Sublime Text 3.

  5. Open a file containing some Cypher queries and switch to Cypher mode (CTRL + COMMAND + P then type ‘Cypher’ and hit ENTER)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment