neueda / jetbrains-plugin-graph-database-support

Graph Databases support for JetBrains family IDEs.
Apache License 2.0
222 stars 56 forks source link

Suggestion: formatter to allow extra spaces between relationships and nodes #55

Open lilianaziolek opened 7 years ago

lilianaziolek commented 7 years ago

Hi, let me start by saying I REALLY appreciate your work on the plugin, it makes life SO much easier. I have a very small suggestion for the formatter options. At the moment, the formatter "squashes" the relationships and nodes not leaving any spaces between them: (a)-[:REL]->(b) The style I much prefer is to have more white space in such situation, i.e. (a) -[:REL]-> (b)

FylmTM commented 7 years ago

Hi @lilianaziolek,

Currently it's not available because we have hardcoded all rules, so they are not configurable (official style guide).

Unfortunately making them configurable is not that simple (and not that hard). We have plans to make rules configurable in future.

But in meantime, unfortunately - no :(

lilianaziolek commented 7 years ago

Thanks for your reply and I completely understand. Would it be possible to keep this issue open so that I can keep track and see when - at some point in the future - it's added as an option?

FylmTM commented 7 years ago

Sure @lilianaziolek .

I will do exactly that! :)