About 33,900 results
Open links in new tab
  1. Java formatting and linting - Visual Studio Code

    With the Checkstyle for Java extension, you can use either existing checkstyle configurations (Google's or Sun's Check) or your own customized files for your project. When editing a Java file, the extension will check the file format and provide Quick Fixes if possible on the fly.

  2. How to configure VS Code Java formatting - DEV Community

    Jun 30, 2021 · VS Code Java uses a headless Eclipse not only for Intellisense and other code actions, but also for code formatting. A helpful Gist pointed to a way of using an Eclipse settings file to configure the formatter per project.

  3. Beautify / Format Java code in Visual Studio Code

    Dec 5, 2019 · For proper formatting, you need to install a VSCode extension that provides Java formatting. Try this one from Redhat: https://marketplace.visualstudio.com/items?itemName=redhat.java. After the extension is installed, that standard code format commands / shotcuts should work for Java code.

  4. vscode-docs/docs/java/java-linting.md at main · microsoft

    Feb 12, 2021 · Language Support for Java™ by Red Hat also provides formatting settings. You can export an Eclipse formatter file and then use it for your project in VS Code. In addition, there are also the Checkstyle for Java and SonarLint extensions, which provide features for live linting and code analysis.

  5. How to enable java linter in Vscode? - Stack Overflow

    Mar 27, 2020 · Visual Studio Code doesn't give java import suggestions with Language support for java plugin

  6. visual studio code - How do I enable java linter when I am using VSCode

    Dec 16, 2018 · I can't figure out how to enable the linter (red error underline) whenever I use the code editor. So far I have tried enabling other Java linter extensions and re-installing vscode, but no luck. I am currently running v1.28, and my only extensions are the ones in …

  7. How to beautify java code reliably - Theodo

    Mar 9, 2022 · Beautify java code reliably using prettier on save in your IDE (vscode, IntelliJ) and in your CI

  8. Format Java in Visual Studio Code: Step-by-Step Guide

    Feb 11, 2025 · Different programming languages have their own formatting tools, and VS Code supports a bunch of them. Here’s how to handle some popular ones: Install formatters like autopep8 or Black from the Extensions Marketplace. Use ESLint with Prettier for …

  9. Java in Visual Studio Code

    Support for Java in Visual Studio Code is provided through a wide range of extensions. Combined with the power of core VS Code, these extensions give you a lightweight and performant code editor that also supports many of the most common Java development techniques.

  10. Using google-java-format with VS Code - Seth Vargo

    Jan 12, 2020 · This post explores how to format Java source files using google-java-format in Visual Studio Code.

  11. Some results have been removed