ajaxorg/ace — Issue #626: Keep original format when beautifying a multiline string
Author: johnnywengluu
Created: 2012-01-22 15:41:26+00:00
State: open

When I beautify this string

var script = "store = g.idx('vertices')[[name: 'Store']]" +
"organizations = g.addVertex([name: 'Organizations'])" +
"g.addEdge(organizations, store, 'BELONGS_TO_STORE')" +
"users = g.addVertex([name: 'Users'])" +
"g.addEdge(users, store, 'BELONGS_TO_STORE')" +
"departments = g.addVertex([name: 'Departments'])" +
"g.addEdge(departments, store, 'BELONGS_TO_STORE')";

it will be formatted into one line.

Could the original string format be kept instead since it's simulating a heredoc?