vscode-java-dependency | Manage Java projects in Visual Studio Code
kandi X-RAY | vscode-java-dependency Summary
kandi X-RAY | vscode-java-dependency Summary
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:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vscode-java-dependency
vscode-java-dependency Key Features
vscode-java-dependency Examples and Code Snippets
Community Discussions
Trending Discussions on vscode-java-dependency
QUESTION
Visual Studio Code doesn't resolve dependencies declared in my build.gradle.kts
file in this test project. Can you help me see what I'm doing wrong?
I'm using the newest VScode (downloaded 1.52.1 yesterday), and I've started from a clean install by deleting %APPDATA%\Code
and %USERPROFILE%\.vscode
before starting VScode.
When opening up my Java file and installing various suggested extensions (see below), I end up seeing The import org.keycloak cannot be resolved
:
which is true for any dependencies from build.gradle.kts
. Notice how java.util.List
is fine.
gradle
builds the project fine, even from within VScode:
Also, "Java Projects" shows "Referenced Libraries" as empty:
I suspect that an empty "Referenced Libraries" is related to not resolving org.keycloak
above.
The exact same project is fine when opened in Intellij.
I've used this test project, and after installing various suggested extensions, I ended up with this list from code --list-extensions
:
ANSWER
Answered 2021-Jan-25 at 00:50Gradle *.kts files are not supported right now, which means your project is not recognized correctly.
See: https://github.com/redhat-developer/vscode-java/issues/632
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vscode-java-dependency
Prerequirement Node.js Java SDK 11 or above
Go to root folder:
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page