# ide-vscode-java-dependency **Repository Path**: openkylin/ide-vscode-java-dependency ## Basic Information - **Project Name**: ide-vscode-java-dependency - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-06-30 - **Last Updated**: 2025-06-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Kylin Java Dependency(Support OpenJDK11) - Fork of vscjava.vscode-java-dependency, modified on the lower version to support OpenJDK 11 - Modified based on the version 0.20.0 of vscjava.vscode-java-dependency ## Overview A lightweight extension to provide additional Java project explorer features. It works with [Kylin Java(Support OpenJDK11)](https://open-vsx.org/?search=kylinideteam.java) to provide the following features: ### Project View ![project-view](https://raw.githubusercontent.com/xiayuqi0509/fordependency/main/images/project-explorer.png) ### Create Java Projects ![create project](https://raw.githubusercontent.com/xiayuqi0509/fordependency/main/images/create-project.png) ### Export Jar > Note: For Spring Boot projects, please use the build tool to build the executable jar, for example: `mvn package`. ![export jar](https://raw.githubusercontent.com/xiayuqi0509/fordependency/main/images/export-jar.png) ### Manage Dependencies You can work with JAR files directly without any build tools. Go to `JAVA PROJECTS` view, find the `Referenced Libraries` node and click the `+` icon: ![Reference JAR Files](https://raw.githubusercontent.com/xiayuqi0509/fordependency/main/images/manage-dependencies.gif) If you want to fine-tune this, go to `settings.json` and look for the `java.project.referencedLibraries` entry. ```json "java.project.referencedLibraries": [ "library/**/*.jar", "/home/username/lib/foo.jar" ] ``` You can tell that the glob pattern is supported. And here's more - you can include/exclude certain files, and attach source JARs: ```json "java.project.referencedLibraries": { "include": [ "library/**/*.jar", "/home/username/lib/foo.jar" ], "exclude": [ "library/sources/**" ], "sources": { "library/bar.jar": "library/sources/bar-src.jar" } } ``` ## Requirements - JDK (version 11.0 or later) - VSCode API (version 1.44.0 or later) - [Kylin Java(Support OpenJDK11)](https://open-vsx.org/?search=kylinideteam.java) ## Settings | Setting Name | Description | Default Value | |---|---|---| | `java.dependency.showMembers` | Specify whether to show the members in the Java Projects explorer. | `false` | | `java.dependency.syncWithFolderExplorer` | Specify whether to sync the folder with Java Projects explorer when browsing files. | `true` | | `java.dependency.autoRefresh` | Specify whether to automatically sync the change from editor to the Java Projects explorer. | `true` | | `java.dependency.refreshDelay` | The delay time (ms) the auto refresh is invoked when changes are detected. | `2000ms` | | `java.dependency.packagePresentation` | Specify how to display the package. Supported values are: `flat`, `hierarchical`.| `flat` | | `java.project.exportJar.targetPath` | The output path of export jar. When this setting is **empty** , a file explorer will pop up to let the user select the output location.| `${workspaceFolder}/${workspaceFolderBasename}.jar` | ### Build * Prerequirement - Node.js - Java SDK 11 or above * Go to root folder: ``` npm install npm run build-server ``` ---