[
https://issues.apache.org/jira/browse/TINKERPOP-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15428775#comment-15428775
]
ASF GitHub Bot commented on TINKERPOP-1037:
-------------------------------------------
Github user pluradj commented on a diff in the pull request:
https://github.com/apache/tinkerpop/pull/384#discussion_r75548087
--- Diff:
gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Console.groovy
---
@@ -66,12 +72,48 @@ class Console {
public static final String PREFERENCE_ITERATION_MAX = "max-iteration"
private static final int DEFAULT_ITERATION_MAX = 100
private static int maxIteration = DEFAULT_ITERATION_MAX
+
+ public static final String PREF_GREMLIN_COLOR = "gremlin.color"
+ def gremlinColor = { Preferences.get(PREF_GREMLIN_COLOR, "reset") }
+
--- End diff --
Got a mix of tab and space indenting going on here. The [dev
docs](http://tinkerpop.apache.org/docs/current/dev/developer/#_code_style)
don't call for one over the other, but most Java/Groovy files in the repo use
spaces only.
> Gremlin shell output coloring
> -----------------------------
>
> Key: TINKERPOP-1037
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1037
> Project: TinkerPop
> Issue Type: Improvement
> Components: console
> Affects Versions: 3.1.0-incubating
> Reporter: Jeremy Hanna
> Priority: Trivial
>
> In order to increase the readability of the output from the gremlin shell, it
> would be nice to have some coloring in the output. For example coloring the
> edges in the textual output.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)