Giter Club home page Giter Club logo

cypher-query-language's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cypher-query-language's Issues

Minor formatting issues

  1. MATCH (a:Person {uuid: 'abc'}), (b:Person {uuid: '123'}) becomes MATCH (a:Person { uuid: 'abc' }), (b:Person {uuid: '123'}) (the spacing around the curly braces is only applied to the first item)
  2. foreach(x in coll | delete x) capitalizes the special words (which is good), but it drops DELETE x to the next line. Not sure if this is intended or not, but it is less visually appealing and intuitive IMO

Originally posted by @ajmeese7 in #1 (comment)

No syntax highlighting for "CREATE"

Whenever I paste the default "Create an index" neo4j basic query into a .cypher file, none of the keywords are highlighted:

Cypher query with no syntax highlighting

It works fine for CREATE INDEX ON (n.id), but doesn't work with the intermediate options.

I did try removing the newlines and having the query all on one line, but that did not make a difference.

Slavic characters not included in grammar

Hi, whenever I use slavic characters they, are ignored by the syntax highlighter. It does result in not nice styling as for example here:

image

The following code does compile and runs without errors or warnings. In the standard all special characters in different languages are included as alphabetic characters:

https://neo4j.com/docs/cypher-manual/current/syntax/naming/

I assume, they need to be added somewhere on apropriate line in the '.syntaxes/cypher.tmLanguage' file?

LOAD CSV WITH HEADERS

When formatting this...

LOAD CSV WITH HEADERS FROM 'file:///recent-lineage.csv' AS line
WITH line

The output ends up like this...

LOAD CSV ///recent-lineage.csv' AS line
WITH HEADERS FROM 'file:
WITH line

Please consider publishing to the Open VSX Registry

Please consider publishing to the Open VSX Registry.

I use VSCodium because I want to use a truly open source code editor. The official VS Code binaries are proprietary, and they contain analytics code, which invades user privacy and slows the program down.

Unfortunately, due to licensing, only the official VS Code binaries are allowed to download extensions from the Visual Studio Marketplace. Because of this, as a VSCodium user, I depend on the Open VSX Registry for my extensions.

I hope you'll consider publishing your extension there.

Formatting not working

Whenever I run "Format Document: on a Cypher document, I get the VS Code popup that there are no formatters installed:

VS Code formatter error

Since the extension README says this is supposed to act as a formatter, I assume that this is an error. Please correct me if I am wrong. Cheers!

formatting issue with apoc.map.merge

RETURN apoc.map.merge({ a:1 }, {b:2})

results in

RETURN apoc.map.
MERGE ({ a:1 }, {b:2})

after formatting the document. merge is wrongly treated as keyword in this case. I suspect filtering for whitespace before and after merge should do the trick.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.