Thanks for the hint to the go-language - in the longer term we have already planed to use an ANTLR4 lexer but we thought that for a quick starting TextMate is useful.
We have now learned that the colors shown in the netbeans ide can be different to the colors shown in Visual Studio and sometimes the coloring in netbeans are not visible. > Well, I've seen the source has an ANTLR4 Lexer. You'd be better go with > that. > > I'm afraid that the TextMate library we are using is getting old or not > 100% feature complete. > > See: > https://github.com/apache/netbeans/tree/master/ide/languages.go/src/org/netb > eans/modules/languages/go > > > as a sample implementation. > > On 6/28/23 11:34, Oliver Rettig wrote: > > 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 > > > > 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/[email protected]/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: [email protected] > > For additional commands, e-mail: [email protected] > > > > For further information about the NetBeans mailing lists, visit: > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
