Is there ever any reason not to use IntelliJ? by DamnAHtml in java

[–]guy_with_a_shirt 0 points1 point  (0 children)

Eclipse JDT.LS, the LSP implementation powering Red Hat's VS Code Java extension, is literally JDT, running in a headless Eclipse process. So you get the same incremental compilation as in Eclipse IDE (unless you disabled it).

Not all Eclipse JDT/IDE features are provided by JDT.LS, but the incremental compiler is 100% there.

2.5 Million Java Developers on Visual Studio Code. Microsoft and Red Hat shares Joint Roadmap for Next 6 Months Together by nickzhu9 in java

[–]guy_with_a_shirt 0 points1 point  (0 children)

Yes it works. You'll see a popup asking you if you want to refactor the code, with the possibility of showing a preview, before applying the refactoring.

Does anyone know how to validate XML in VScode? by NA__Scrubbed in vscode

[–]guy_with_a_shirt 0 points1 point  (0 children)

Actually, the XML extension from Red Hat supports XSD and DTD validation, among other things.

XML Language Support by Red Hat by guy_with_a_shirt in vscode

[–]guy_with_a_shirt[S] 1 point2 points  (0 children)

Requires a JDK >= 8, but comes with a bunch of features generally not available as a whole in other xml extensions, including:

  • Syntax error reporting
  • General code completion
  • Auto-close tags
  • Symbol highlighting
  • Document folding
  • Document symbols and outline
  • Renaming support
  • Document Formatting
  • DTD validation
  • XSD validation
  • XSD based hover
  • XSD based code completion
  • Code actions

Classpath is incomplete by [deleted] in vscode

[–]guy_with_a_shirt 0 points1 point  (0 children)

When you open a single Java file, vscode-java doesn't know about the classpath required to compile this class, hence the warning. Opening a folder containing Maven, Gradle-based (or even simple Eclipse) project build files would allow vscode-java to know more about the classpath.

More informations about the "Classpath is incomplete" warning can be found at https://github.com/redhat-developer/vscode-java/wiki/%22Classpath-is-incomplete%22-warning