Skip to content

integrating monaco language client with java language server from eclipse

License

Notifications You must be signed in to change notification settings

chaitanya71998/monaco-language-testing-with-java

Repository files navigation

Set up steps:

// use node version 16.11.0 or above, recommended 16.13.0
// recommended to have java version 11 to make the java language server to work
npm i
npm run build:client



// to run backend node server
npm run start:example:server


// to start frontend server
npm run dev

// use react client example, for testing suggestions

update file path for react app:

To make suggestions work update the file path for hello world.java in packages/examples/react-client/src/main.tsx with local absolute path, as observed the suggestions are working only for local system.

OS check:

update this configuration of java as per your OS in the packages/examples/server/src/java-server-launcher.ts file

"-configuration",
`${jdtPath}/jdt-language-server-1.9.0-202203031534/config_linux`,
// For windows, use ./config_win. For mac/OS X, use ./config_mac

About

integrating monaco language client with java language server from eclipse

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published