redhat-developer / redhat-developer/vscode-java
Java language support for embedded Gradle plugin
Open
@snjeza is already working on this.
Since Jul 10, 2019.
Gradle
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
I have a Gradle project with an embedded plugin in buildSrc that has Java code in buildSrc/srcmain/my/package/Foo.java. When I open these Java files, a "Foo.java isn't on the classpath" notification pops up and things like Oragnize Imports and javadoc hovers don't work.
It would be awesome if vscode-java would recognize buildSrc in a Gradle project so language support would work in plugin source code.
Environment
- Operating System: macOS 10.12
- JDK version: 1.8.0_171
- Visual Studio Code version: 1.37.0-insider
- Java extension version: 0.46.0
Steps To Reproduce
- Create a Gradle project and open it in vscode
- Add Java source files to buildSrc/package/Foo.java
- Open the Java source files
Current Result
No language support available
Expected Result
Working language support
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.