Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 979 Bytes

File metadata and controls

34 lines (22 loc) · 979 Bytes

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