neo4j/community — Issue #185: Multi-line support for Data Browser's search box
Author: johnnywengluu
Created: 2012-01-16 11:48:17+00:00
State: open

When I paste this into the Data Browser's search field:

START ancestorGroup = node:{memberType}_groups(name = {groupName})
MATCH ancestorGroup <-[:IS_PART_OF*0..]- group <-[:IS_MEMBER_OF]- member
RETURN member.name, group.name
ORDER BY group.name, member.name

it will look like this:

START ancestorGroup = node:{memberType}_groups(name = {groupName}) MATCH ancestorGroup <-[:IS_PART_OF*0..]- group <-[:IS_MEMBER_OF]- member RETURN member.name, group.name ORDER BY group.name, member.name

All my clauses will be in a single line.

I think it would be visually and practically better if there was multiline support.

So you will keep the original format when you paste something and can have a new line with either ALT+RETURN or SHIFT+RETURN.

Original post: https://groups.google.com/forum/#!topic/neo4j/5wBQxl4EGnA