Support language server of go and rust
Description
Can netbeans support vscode language extension like go and rust? that let netbeans support edit golang and rust lang?
Use case/motivation
use apache/netbeans to edit rust and golang
Related issues
No response
Are you willing to submit a pull request?
No
Code of Conduct
Yes
In general it can, you can just download the language servers and add them to Options -> Editor -> Language Servers _> Add. Just fill in all the information in the UI and try it out. Also you can have a look into my repo: https://github.com/Chris2011/netbeans-textmate-files to add syntax highlighting for all of the supported languages and then add the missing language server part to those who want to support.
Tempted to move this to discussions, but there's probably a valid issue here to improve visibility and UI for language registration?
Would be nice to have a tutorial page on how to configure a language server for some popular languages that are supported by Netbeans out of the box - C#, Go, Rust, and so on.
ok, i know how to do it ,so close the issue as resolved
Would be nice to have a tutorial page on how to configure a language server for some popular languages that are supported by Netbeans out of the box - C#, Go, Rust, and so on.
There is already one: https://blogs.apache.org/netbeans/entry/lsp-client-demo-ba-sh
Thank you, but that example looks more like proof of concept. I'm talking about something more user-friendly otherwise majority will not use it.
Thank you, but that example looks more like proof of concept. I'm talking about something more user-friendly otherwise majority will not use it.
If you want to add a new language support and also the language server programmatically, this is atm the official tutorial how to do it. If you want to add it via the UI, you can go to Tools -> Options -> Editor -> Language Servers and add a new language with language server, icon, filetype, by your own.