Skip to content

Instantly share code, notes, and snippets.

@flekschas
Last active April 11, 2023 03:34
Show Gist options
  • Save flekschas/b7c712a888aee864adc3 to your computer and use it in GitHub Desktop.
Save flekschas/b7c712a888aee864adc3 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)

@blizzardwj
Copy link

Why are there few people using the Cypher language? Are there any other alternative languages?

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