We greatly appreciate contributions to the vscode-java-dependency project. Your efforts help us maintain and improve this extension. To ensure a smooth contribution process, please follow these guidelines.
To set up the vscode-java-dependency project, follow these steps:
-
Build the Server JAR:
- The server JAR (Java application) is located in the jdtls.ext directory.
- Run the following command to build the server:
npm run build-server
-
Install Dependencies:
- Execute the following command to install the necessary dependencies:
npm install
- Execute the following command to install the necessary dependencies:
-
Run/Debug the Extension:
- Open the "Run and Debug" view in Visual Studio Code.
- Run the "Run Extension" task.
-
Attach to Plugin[Debug Java]:
- Prerequisite: Ensure that the extension is activated, meaning the Java process is already launched. This is required for the task to run properly.
- Open the "Run and Debug" view in Visual Studio Code.
- Run the "Attach to Plugin" task.
- Note: This task is required only if you want to debug Java code jdtls.ext. It requires the vscode-pde extension to be installed.
Thank you for your contributions and support!