coc-java-explorer
v0.23.91
Published
coc.nvim extension project manager for java
Downloads
12
Readme
Project Manager for Java
Manage Java projects in Visual Studio Code
Overview
A lightweight extension to provide additional Java project explorer features. It works with Language Support for Java by Red Hat to provide the following features:
Project View
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:
If you want to fine-tune this, go to settings.json
and look for the java.project.referencedLibraries
entry.
"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:
"java.project.referencedLibraries": {
"include": [
"library/**/*.jar",
"/home/username/lib/foo.jar"
],
"exclude": [
"library/sources/**"
],
"sources": {
"library/bar.jar": "library/sources/bar-src.jar"
}
}
Requirements
- VS Code (version 1.83.1+)
- Language Support for Java by Red Hat
Settings
| Setting Name | Description | Default Value |
| -------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| java.dependency.showMembers
| Specify whether to show the members in the Java Projects explorer. | false
|
| 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.explorer.showNonJavaResources
| When enabled, the explorer shows non-Java resources. | true
|
Contribution
Build
Prerequirement
Node.js
Java SDK 11 or above
Go to root folder:
npm install
npm run build-server