AT

Gremlin browser code editor

DCDragos Ciupureanu10/27/2023
Hi, I'm looking for a code editor like monaco https://microsoft.github.io/monaco-editor/ to embed in my browser app that supports Gremlin (even very basic completion, etc.). Monaco doesn't have this out of the box and I was wondering if there is one out there?
Solution:
I can definitely chime in but the short answer is no - I'm actually planning to switch to Monaco in G.V(), best answer I can provide is that there are plenty guides available out there on how to integrate Monaco with an ANTLR grammar to provide both syntax error detection and editor suggestions (with the added use of antlr4-c3 on npm). A quick google search of monaco antlr4 should give you a step by step guide on all that. That being said if you want a fully featured Gremlin query editor you're not gonna find anything better than G.V() wink wink...
Jump to solution
Sspmallette10/28/2023
@G.V() - Gremlin IDE (Arthur) any hints on this one?
Solution
Ggdotv10/28/2023
I can definitely chime in but the short answer is no - I'm actually planning to switch to Monaco in G.V(), best answer I can provide is that there are plenty guides available out there on how to integrate Monaco with an ANTLR grammar to provide both syntax error detection and editor suggestions (with the added use of antlr4-c3 on npm). A quick google search of monaco antlr4 should give you a step by step guide on all that. That being said if you want a fully featured Gremlin query editor you're not gonna find anything better than G.V() wink wink
Ggdotv10/28/2023
The gremlin ANTLR grammar is under the gremlin-language repo in the official Apache Tinkerpop repository and it should be ready to use as is (it's great)
DCDragos Ciupureanu10/29/2023
Thanks @G.V() - Gremlin IDE (Arthur) and @spmallette . That's along the lines of my finding but I hadn't come across the antlr grammar for gremlin until now so thanks for the suggestion.

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
Connecting to local gremlin server with websocket addressHello everyone. I'm looking for help with a client app written in Java that uses Tinkerpop Gremlin tClarification on Kerberos configuration for Gremlin DriverI'm a little bit unclear on the role of the JAAS configuration file for the Gremlin client in the coGremlin Driver and frequently changing serversIn a containerised environment, hosts are frequently replaced and their IP address can change severaGlobal SearchIs there a way where i can scan all the vertex or edge properties that match a given keyword in gremGraphSON mapperHi, I'm trying to ingest some data into AWS Neptune and due to its size I'm forced to use a bulk d.drop() behavior confussionI have a basic java app and I'm learning hot to send gremlin queries to a JanusGraph from that java Can I name the result of an anonymous traversal without moving the traverser?I can currently do the following: ``` Graph graph = TinkerFactory.createModern(); GraphTraversalSCan GraphBinary be used to save a graph to file?Can GraphBinary be used to save graph in a file. Any example is welcome.How to get cardinality of property?I have a multi property and I want to find out its cardinality. How can I do that? valueMap/elementMinverted regex searchHey, In my vertices I store escaped regexp statements as labels (e.g: 'wh.' which in theory should Debug message spam from tinkerpop server 3.7Right now, when connecting to my local tinkerpop server, I am getting incredible amounts of debug loShould by() Modulator Work For More Types?This works. `gremlin> g.V().out().out().path().by("name") ==>[marko,josh,ripple] ==>[marko,josh,lop]InProcess GraphDB with Gremlin Support? (C# or NodeJS)Hello, is there any in process GraphDB out there in the world? Best would be c# or NodeJS and not JaEasiest Way to Get List Cardinality Properties As a List?What is the easiest way to retrieve the vertex properties that have list cardinality back as a list