Discussion:
[capnproto] Implementing Schema Language Support for IntelliJ Community
Dico200
2018-07-19 11:30:37 UTC
Permalink
Hello!

I've been working on a Cap'n Proto Schema Language Support plugin for the
IntelliJ IDE.
I see that the website has nice syntax highlighting implemented for its
examples in the schema language documentation.
I'm assuming this is using antlr or something of the sort. Can I get the
relevant sources for that? Would speed up the process considerably.
Currently haven't got very much, but we'll get there.

Repository available
at: https://github.com/Dico200/CapnprotoSchemaLanguageSupport

Greetings,

Dico
--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+***@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.
Ian Denhardt
2018-07-19 14:37:05 UTC
Permalink
Quoting Dico200 (2018-07-19 07:30:37)
I'm assuming this is using antlr� or something of the sort. Can I get
the relevant sources for that? Would speed up the process considerably.
This is what the website uses (note that the source for the website as a
whole is the doc/ directory in the main source repo):

https://github.com/capnproto/capnproto/blob/master/doc/_plugins/capnp_lexer.py

Note that it's only a lexer, which is good enough for syntax
highlighting but maybe not every IDE feature you could want.

Happy Hacking,

-Ian
--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+***@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.
Loading...