Hello Oliver, I tried to implement basically the same for graphql. I had a quick look at your code and I am wondering if the mime type in the MimeRegistration annotation in your OcgaClient is correct. It says 'text/sh', I believe this is wrong. I cannot look up my old code at the moment, but maybe a hint is enough.
Good luck Alex Oliver Rettig <oliver.ret...@orat.de> schrieb am Mi., 28. Juni 2023, 20:35: > Hi all, > > we are working on a DSL for "conformal geometric algebra" running in the > java > GraalVM > > https://github.com/MobMonRob/DSL4GeometricAlgebra > > and I have started to implement tooling in the netbeans ide for it. > > For simple starting I want to integrate syntax highleighting by textmate. > > I have followed > > https://blogsarchive.apache.org/netbeans/entry/lsp-client-demo-ba-sh > > The registration of a textmate grammar file by anntotation is described > here: > > https://bits.netbeans.org/dev/javadoc/org-netbeans-modules-textmate-lexer/ > overview-summary.html > <https://bits.netbeans.org/dev/javadoc/org-netbeans-modules-textmate-lexer/overview-summary.html> > > I have implemented a simple netbeans plugin for my .ocga-files: > > https://github.com/orat/netbeans-ocga > > The files are correctly recognized, the registered icon is shown in the > file- > nodes. > > The textmate file is found but in the editor nothing happens. No syntax- > highlighing is shown. Also newstart of the ide has no effect. > > The textmate-file works fine in visual-studio. > > Any ideas what can be wrong? > > I have also found the following discussion: > > https://www.mail-archive.com/dev@netbeans.apache.org/msg09420.html > > with the comment that textmate is maybe broken - if I understand this > correct? > > Any help appriciated. > > Best regards > Oliver > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org > For additional commands, e-mail: dev-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > > >