MATCH p = ((head:Topic)<-[:FOLLOWS*]-(t:Topic))
WHERE NOT (head)-[:FOLLOWS]->(:Topic)
RETURN nodes(p), length(p)
ORDER BY length(p) DESC
LIMIT 1
is mangled by the plugin (v2.5) when doing a 'reformat code' to:
MATCH p = ((head:Topic) < - [:FOLLOWS *] -(t:Topic))
WHERE NOT (head)- [:FOLLOWS] - >(:Topic)
RETURN nodes(p), length(p)
ORDER BY length(p) DESC
LIMIT 1
Note the extra spaces, indents, and empty line. Also it is not recognised as a single query, so it cannot be run by the plugin.
The code
is mangled by the plugin (v2.5) when doing a 'reformat code' to:
Note the extra spaces, indents, and empty line. Also it is not recognised as a single query, so it cannot be run by the plugin.