Skip to content

Instantly share code, notes, and snippets.

@flekschas
Last active May 20, 2026 07:31
Show Gist options
  • Select an option

  • Save flekschas/b7c712a888aee864adc3 to your computer and use it in GitHub Desktop.

Select an option

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)

@BSCowboy

Copy link
Copy Markdown

Thanks for creating the installation.

@radcliff

Copy link
Copy Markdown

🥇

@chaonan99

Copy link
Copy Markdown

You may still need to modify Cypher.py if you are using Python3. I've fixed this compatibility problem in my fork.

@gsumar

gsumar commented May 8, 2018

Copy link
Copy Markdown

Nice

ghost commented Jun 6, 2018

Copy link
Copy Markdown

Let say you are in PHP syntax mode. Easily switch to Cypher by clicking on the PHP text at the bottom right. You will find a list of language syntaxes to choose from there.

@lovesuper

Copy link
Copy Markdown

Thank you very much!

@BeardedUncleX

Copy link
Copy Markdown

fantastic!

@cskardon

Copy link
Copy Markdown

Hey @flekschas - Just fyi - I've added all the 4.1 keywords and functions in my fork (https://github.com/cskardon/sublime-cypher) based off of @fredbenenson's fork.

@unenuncasabe

Copy link
Copy Markdown

You are the very best. Thank youuu :)

@oelakad

oelakad commented Feb 10, 2023

Copy link
Copy Markdown

Thanks much, Helpful

@blizzardwj

Copy link
Copy Markdown

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