I was hoping for some guidance and/or pointers to documentation or tutorials on 
how to add new Language support to Netbeans.

I understand there being movement towards using LSP rather than full language 
support within a give language module without LSP. Is the preferred route to 
use LSP or native support? And what is the pros/con of each approach?

For native support...

I found some older articles (1) which provides some details but wasn’t sure if 
this is still the “best practice” in current Netbeans or if there is another 
preferred way or even new tutorials. There are also some older documents on the 
old Netbeans site (4)(5)(6) (not sure where on the new site so providing 
archived versions) but now sure how up to date these are.

For LSP support...
I find a discussion on similar implementation on a new language here (2) which 
provides some guidance as well as another’s related to the VS Code LSP 
activities (3)

It seems for LSP the general consensus is to look at the cpplite and Typescript 
implementations as good examples of LSP based.

So what other newer guidance is available and/or recommended?

Reference
(1) https://dzone.com/articles/quickstart-guide-language-supp

(2) 
https://lists.apache.org/x/list.html?dev@netbeans.apache.org:lte=1y:Textmate%20or%20LSP%20for%20Cucumber

(3) 
https://lists.apache.org/x/thread.html/rf84a830a545d0f3bfb39a07d3f7fcf33ca7ab28deb82bf6551f54e44@%3Cdev.netbeans.apache.org%3E

(4) 
https://web.archive.org/web/20210118012355/http://wiki.netbeans.org/How_to_create_support_for_a_new_language

(5) 
https://web.archive.org/web/20210117160954/https://platform.netbeans.org/tutorials/nbm-javacc-lexer.html

(6) 
https://web.archive.org/web/20210117160955/https://platform.netbeans.org/tutorials/nbm-javacc-parser.html

Eric Bresie
ebre...@gmail.com (mailto:ebre...@gmail.com)

Reply via email to