Hi Eric, Thanks for your interest!
So, to build the server, it should be enough to build NetBeans, then go to "java/java.lsp.server" and run "ant build-lsp-server". The resulting server should be in java/java.lsp.server/vscode/nb-java-lsp-server. It can then be used in client editors, but how to configure the editors needs to be found in their documentation - this is simply a server that would hopefully (some day) work with any editor/client that is properly configured. For VS Code, there is an extension directly in the repository, to build it: cd java/java.lsp.server/vscode npm install npm run compile (cd ../build/; npm install vsce) ../build/node_modules/vsce/out/vsce package Then there should be: "java/java.lsp.server/vscode/netbeans-java-1.0.0.vsix", which is an extension that can be installed into VS Code. There is also a continuous build (for developers only) building the server and the extension: https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-vscode/ Jan On Thu, Aug 1, 2019 at 1:55 PM Eric Bresie <[email protected]> wrote: > How is this supposed to be used? > > What steps are needed to test and verify its usage? > > Where does this enhance existing NB functionality or see this in action? > > Eric Bresie > [email protected] > > On August 1, 2019 at 1:42:51 AM CDT, Jan Lahoda <[email protected]> wrote: > Hi, > > For some time, I've been working on a prototype of a server for the > language server protocol, that would support Java using the NetBeans Java > editor features. I think it is time to get that into the mainline, so > folks > can start to really use that. So any feedback on this, on the usefulness > of > the server/extension; on the formal licensing part; or on the > implementation would be welcome. > > The pull request is here: > https://github.com/apache/netbeans/pull/926 > > Thanks, > Jan > >
