You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
13
+
14
+
1.**Build the Server JAR**:
15
+
- The server JAR (Java application) is located in the [jdtls.ext](./jdtls.ext) directory.
16
+
- Run the following command to build the server:
17
+
```shell
18
+
npm run build-server
19
+
```
20
+
21
+
2. **Install Dependencies**:
22
+
- Execute the following command to install the necessary dependencies:
23
+
```shell
24
+
npm install
25
+
```
26
+
27
+
3. **Run/Debug the Extension**:
28
+
- Open the "Run and Debug" view in Visual Studio Code.
29
+
- Run the "Run Extension" task.
30
+
31
+
4. **Attach to Plugin[Debug Java]**:
32
+
- Prerequisite: Ensure that the extension is activated, meaning the Java process is already launched. This is required for the task to run properly.
33
+
- Open the "Run and Debug" view in Visual Studio Code.
34
+
- Run the "Attach to Plugin" task.
35
+
- Note: This task is required only if you want to debug Java code [jdtls.ext](./jdtls.ext). It requires the [vscode-pde](https://marketplace.visualstudio.com/items?itemName=yaozheng.vscode-pde) extension to be installed.
0 commit comments