Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

New features in Quarkus Tools for Visual Studio Code 1.2.0

November 21, 2019
David Kwon
Related topics:
JavaIDEsQuarkus

    We are proud to present the new release of Quarkus Tools for Visual Studio Code, providing a feature-rich development experience in VS Code for Quarkus application development. This release focused on introducing tooling support for Gradle projects, as well as adding new application.properties language features.

    Watch a demo of the new features:

    New features

    • Gradle — Generate new Quarkus project
    • Gradle — Debug Quarkus project
    • Gradle — Add extensions to a Quarkus project
    • Quick fix for unknown property name
    • Quick fix for invalid enum value
    • Quick fix for missing required properties
    • Add a glob pattern for excluding unknown property validation
    • Language feature support for logging level values
    • Documentation for default profiles
    • Improved input validation when generating a new Quarkus project

    Gradle support

    So far, Quarkus Tools for Visual Studio Code was geared towards Maven Quarkus projects. This release finally brings support to Gradle Quarkus projects. Moving forward, new features will be implemented with both Maven and Gradle in mind.

    Gradle — Generate new Quarkus project

    The project generation wizard now provides the option to choose between creating a Maven or a Gradle project. The rest of the wizard is the same as before. After going through the wizard, your new Maven or Gradle project will download and open automatically.

    To open the project generation wizard, open the VS Code command palette and call the Quarkus: Generate a Quarkus project command.

    Gradle — Debug Quarkus project

    The debug command will now detect whether your currently opened Quarkus project is a Maven or Gradle project, and will start the application by running the Quarkus Dev command (mvn quarkus:dev for Maven, gradle quarkusDev for Gradle). Once the application is running, the debugger will attach.

    To run the debug command, open the VS Code command palette and call the Quarkus: Debug current Quarkus project command.

    Gradle — Add extensions to a Quarkus project

    The add extensions wizard now supports adding Quarkus extensions to Gradle projects.

    To view the list of extensions to add, open the VS Code command palette and call the Quarkus: Add extensions to current project command.

    Here, the Eclipse Vert.x extension was added:

    Since Eclipse Vert.x was selected, the ./gradlew addExtension --extensions="quarkus-vertx" command will run in the integrated terminal to add the extension:

    In short, the project generation wizard can now generate Gradle projects, and the Quarkus: Add extensions to current project and Quarkus: Debug current Quarkus project commands work for both Gradle and Maven projects.

    New application.properties features

    Quick fix for unknown property name

    The validation support provided by Quarkus Tools for Visual Studio Code checks for unknown property keys in your application.properties file. This release brings a new Quick fix that suggests known properties for your unknown properties. This feature is kind of like autocorrect or "spellcheck" for your property keys.

    To perform the Quick fix, hover over an unknown property and click Quick Fix to see the proposed suggestions. Please note, the Quick fix suggestions only appear if your unknown property has a similar name to a known property.

    Quick fix for invalid enum value

    Similarly, there is also a new Quick fix that suggests valid enum values. The Quick fix will either suggest all valid enum values or, if the invalid enum value is similar to a valid enum value, only the similar enum value(s) will be suggested.

    Quick fix for missing required properties

    The last new Quick fix is a Quick fix that adds all missing required properties to the application.properties file. To use this feature, the required properties validation needs to be enabled, as it is disabled by default. To do so, open VS Code settings and set the Quarkus > Tools > Validation > Required > Severity setting to either Warning or Error.

    Once the application.properties file is open, there will be a “Missing required property” warning or error message. The corresponding Quick fix will add all missing required properties to the application.properties file:

    Add a glob pattern for excluding unknown property validation

    This release also allows you to exclude certain properties from unknown property validation. To do this, go to VS Code settings and add a new glob pattern to the Quarkus > Tools > Validation > Unknown > Excluded setting.

    This only excludes properties matching the glob pattern from unknown property validation. Other validation such as missing equal sign validation will continue to work.

    A good use case for this feature is to ignore certain MicroProfile Config annotated properties (see quarkus-ls#135), which Quarkus Tools for Visual Studio Code does not recognize for the time being.

    Language feature support for logging level values

    Moving on, there is now autocompletion, documentation, validation and hover support for java.util.logging.Level values. Autocompletion will provide all possible values alongside their documentation. Providing an incorrect logging level causes a validation error.

    Documentation for default profiles

    Currently, there are three default profiles for the application.properties file: %dev, %prod and %test. Hovering over a default property or invoking completion after a % sign will now provide relevant documentation:

    Validating user input for a new project

    Last but not least, when generating a new project in using the wizard, the input validation messages are now more helpful. There are different naming restrictions for the groupId, artifactId, package name, etc. which the validation messages now describe:

    This wraps up the new features for this release. We would be ecstatic to hear any feedback and suggestions, as we take them very seriously. Thank you for reading, and stay tuned for the next release!

    Resources

    VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=redhat.vscode-quarkus

    GitHub repository: https://github.com/redhat-developer/vscode-quarkus

    Open a GitHub issue: https://github.com/redhat-developer/vscode-quarkus/issues

    Changelog: https://github.com/redhat-developer/vscode-quarkus/blob/master/CHANGELOG.md

    Quarkus Tools for Visual Studio Code 1.0.0 release: https://quarkus.io/blog/quarkus-developer-joy-for-vs-code/

    Last updated: July 1, 2020

    Recent Posts

    • Running AI inference on Rebellions ATOM NPU with Red Hat AI

    • How we built integration testing for fast-moving AI backend

    • Testing infrastructure red teaming with abliterated models

    • Build an enterprise RAG system with OGX

    • Solutions for SELinux MCS challenges with GitLab runners

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.