redhat-developer / redhat-developer/vscode-java

VSCode problems list does not include compilation errors

Open
#2,215 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

diagnostics
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

Description

VSCode Java polugin is not showing the compilation problems before i compile the project.
Not sure, but maybe is because i have the "autobuild" disabled.

The problem is that if i turn on the autobuild option it interferes with Maven and makes VSCode totally unusable for java because every time I launch a maven command, every step Maven do, in the background, the plugin is continually autobuilding and breaking Maven working.

So i disabled the autobuild feature. But now i can't see any compilation error without compiling it manually.
Maybe I'm wrong and it has nothing to do with autobuild.

The question would be, how can I see compilation errors without having to constantly compile. Something similar to what Eclipse does.

Environment

Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f)
Maven home: C:\libs\apache-maven-3.8.2
Java version: 17, vendor: Oracle Corporation, runtime: C:\libs\jdk-17
Default locale: es_ES, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
VSCODE: 1.62.2 3a6960b964327f0e3882ce18fcebd07ed191b316 x64
Java extension pack: v0.18.6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing the missing-problems behavior in VSCode with autobuild disabled, then compare it with autobuild enabled and a Maven command on the reported Windows, Java 17, and extension setup; done means compilation errors appear without manual compilation and Maven commands are not disrupted.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.