All Projects → redhat-developer → intellij-quarkus

redhat-developer / intellij-quarkus

Licence: EPL-2.0 license
IntelliJ Quarkus Tools

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects
kotlin
9241 projects
shell
77523 projects

Projects that are alternatives of or similar to intellij-quarkus

Samples
JavaFX samples to run with different options and build tools
Stars: ✭ 352 (+324.1%)
Mutual labels:  maven, intellij
idear
🎙️ Handsfree Audio Development Interface
Stars: ✭ 84 (+1.2%)
Mutual labels:  intellij, intellij-plugin
Ok Gradle
IntelliJ/Android Studio plugin for searching artifacts ids of popular Java libraries.
Stars: ✭ 664 (+700%)
Mutual labels:  maven, intellij-plugin
optaplanner-quickstarts
OptaPlanner quick starts for AI optimization: many use cases shown in many different technologies.
Stars: ✭ 226 (+172.29%)
Mutual labels:  maven, quarkus
IntelliJ-Luanalysis
Type-safe Lua IDE Plugin for IntelliJ IDEA
Stars: ✭ 118 (+42.17%)
Mutual labels:  intellij, intellij-plugin
maven-archetypes-catalog-plugin
A plugin to enable IntelliJ IDEA to fetch external Maven Archetype Catalog files
Stars: ✭ 19 (-77.11%)
Mutual labels:  maven, intellij-plugin
intelliroutes
Support for Play Routes in IntelliJ IDEA
Stars: ✭ 21 (-74.7%)
Mutual labels:  intellij, intellij-plugin
Idea Php Annotation Plugin
Add PHP annotation support for PhpStorm and IntelliJ
Stars: ✭ 216 (+160.24%)
Mutual labels:  intellij, intellij-plugin
reedelk-runtime
Reedelk Runtime Platform Community Edition
Stars: ✭ 25 (-69.88%)
Mutual labels:  intellij, intellij-plugin
BugKotlinDocument
Plugin for IntelliJ IDEA ┗😃┛ Android Studio ┗😃┛ CLion ┗😃┛ AppCode.
Stars: ✭ 29 (-65.06%)
Mutual labels:  intellij, intellij-plugin
Student-Information-Administration-System
大学生信息管理系统——初学路上自己摸索实践的项目
Stars: ✭ 91 (+9.64%)
Mutual labels:  maven, intellij
SideMirror
An Android Studio plugin to mirror your android devices with scrcpy directly from Android Studio.
Stars: ✭ 49 (-40.96%)
Mutual labels:  intellij, intellij-plugin
Intellij Sdk Code Samples
Mirror of the IntelliJ SDK Docs Code Samples
Stars: ✭ 217 (+161.45%)
Mutual labels:  intellij, intellij-plugin
openjfx-docs
Getting started guide for JavaFX 11
Stars: ✭ 70 (-15.66%)
Mutual labels:  maven, intellij
Intellij Key Promoter X
Modern IntelliJ plugin to learn shortcuts for buttons
Stars: ✭ 2,689 (+3139.76%)
Mutual labels:  intellij, intellij-plugin
Mvnrunner
IntelliJ plugin for maven, building and run unit testing or main method, by mvn.
Stars: ✭ 7 (-91.57%)
Mutual labels:  maven, intellij-plugin
Intellij Emberjs
Ember.js support for JetBrains IDEs (IntelliJ, WebStorm, ...)
Stars: ✭ 202 (+143.37%)
Mutual labels:  intellij, intellij-plugin
Intellij Hcl
HCL language support for IntelliJ platform based IDEs
Stars: ✭ 207 (+149.4%)
Mutual labels:  intellij, intellij-plugin
development-environment
A development environment for Java, Python, Node.js and Go built using Vagrant
Stars: ✭ 50 (-39.76%)
Mutual labels:  maven, intellij
DockDockBuild
Support for running UNIX Makefiles on a Docker container
Stars: ✭ 43 (-48.19%)
Mutual labels:  intellij, intellij-plugin

Quarkus Tools for IntelliJ

Java CI with Gradle Validate against IJ versions JetBrains plugins JetBrains plugins codecov

Description

This JetBrains IntelliJ plugin provides support for Quarkus development via a Quarkus language server.

application.properties support

Code completion (Ctrl + ENTER)

Property documentation

Select a property and press Ctrl+Q

Goto property definition

Select a property and press Ctrl+B

Syntax validation

Wrong property key names or values are reported

Property hover in Java files

Property managed in your code through @ConfigProperty:

  • code completion in application.properties is adjusted accordingly if you define new properties
  • hover over the property field will display the current value

CodeLens / Inlay

When editing a resource class while the current Quarkus application is running in development mode (./mvnw compile quarkus:dev or ./gradlew quarkusDev), there are now CodeLenses that provide the URL for the GET endpoints.

This feature takes into account the path name and the HTTP server port from your application.properties file in order to create the URL.

Clicking on the CodeLens URL will open the URL in your default browser.

InLayHint

InlayHint is now a supported feature. It allows to add inline information about parameters and variables. This is very useful for Qute templates to get type information. InlayHints may also be clickable.

DocumentHighlight

DocumentHightlight allows to hightlight parts of the document that are related to the current selection. This is useful for Qute templates to highlight matching part of a Qute section.

CodeActions / Quick Fixes

When an error is detected on one of your Quarkus project files, it is highlighted in the source editor (example when you define one property through @ConfigProperty but it is not defined.).

If this error can be fixed through an automatic action, it will be available from the More actions context menu or through the Alt+Enter key binding.

In this example, we will add a default value for a property defined though @ConfigProperty

In this another example, a Microprofile REST Client is defined and bound to a REST resource but the RestClient annotation is missing from the binding.

MicroProfile Health

Syntax validation is being performed for Java files using the MicroProfile Health assets:

MicroProfile Fault Tolerance

MicroProfile Health related properties are supported in application.properties completion and syntax validation as soon as you use MicroProfile related annotation in your Java source files

Methods referenced in @Fallback(fallbackMethod) are validated:

Activating code completion on the @Fallback(fallbackMethod) value will get the list of available methods being proposed:

MicroProfile Rest Client

MicroProfile Rest Client references are checked against valid injections

MicroProfile LRA

MicroProfile LRA related properties references are supported in application.properties completion and syntax validation as soon as you use MicroProfile LRA in your Quarkus application

MicroProfile OpenAPI

MicroProfile OpenAPI related properties references are supported in application.properties completion and syntax validation as soon as you use MicroProfile OpenAPI in your Quarkus application

MicroProfile Metrics

MicroProfile Metrics related properties references are supported in application.properties completion and syntax validation as soon as you use MicroProfile Metrics in your Quarkus application

Invalid use of the @Gauge annotation is reported as well:

MicroProfile OpenTracing

MicroProfile OpenTracing related properties references are supported in application.properties completion and syntax validation as soon as you use MicroProfile OpenTracing in your Quarkus application

application.yaml

Code completion (Ctrl+ENTER)

Property documentation

Select a property and press Ctrl+Q

Syntax validation

Wrong property key names or values are reported

Qute templates

The Qute templating engine is supported in Java file and templates.

Quarkus project wizards

Generate a Quarkus Maven project, based on https://code.quarkus.io/. Call File -> New -> Module -> Quarkus. It is possible to filter the list of displayed Quarkus extension by name pattern and allow or disallow the inclusion of non platforms Quarkus extensions.

Quarkus application.properties Features

  • Completion support for Quarkus properties
  • Hover support for Quarkus properties
  • Validation support for Quarkus properties
  • Support for Quarkus profiles
  • Outline support (flat or tree view)

Quarkus run/debug command

It is possible to run or debug a Quarkus application from the IDE configurations. Select the Run -> Edit Configurations... menu and click the Add new... link:

Select the Quarkus configuration type:

The first module of the project is selected. For single Quarkus projects, it is ok. If you have a multi module Quarkus project, you can change the module to test. You can also specify a Quarkus profile to use (dev is the default) and environment variables (using the notation VARNAME=varvalue, separated by semicolon)

The click the OK button. The configuration will now appear on the top right side of the window:

If you click the Run icon, it will start the Quarkus application in dev mode. If you click the Debug button, it will start the Quarkus application in dev mode and connect a local Java debugger to the running application.

When the console is running, you can open a browser to either the Quarkus DevUI or to the Quarkus application. When the Quarkus application has been started, right click in the console and a sub menu Quarkus will be displayed. It has 2 sub menus Open DevUI and Open application. When one of these menus are selected, a new browser window is opened to the desired location.

Quarkus code snippets

This plugin provides several code snippets, available when editing Java files:

  • qrc - Create a new Quarkus resource class
  • qrm - Create a new Quarkus resource method
  • qtrc - Create a new Quarkus test resource class
  • qntrc - Create a new Quarkus native test resource class

When editing application.properties files, you have access to:

  • qds - Configure a Quarkus datasource
  • qj - Configure a Jaeger tracer

Requirements

  • Java JDK (or JRE) 8 or more recent

Contributing

This is an open source project open to anyone. Contributions are extremely welcome!

Building

Project is managed by Gradle. So building is quite easy.

Building the plugin distribution file

Run the following command:

./gradlew buildPlugin

The plugin distribution file is located in build/distributions.

Testing

You can also easily test the plugin. Just run the following command:

./gradlew runIde

Unit test infrastructure

The IntelliJ SDK does not provide helpers to create Maven or Gradle based project. But the Maven and Gradle plugins have some test class helpers but they are not part of the IntelliJ SDK or the respective plugin distributions.

So we extracted these classes into the intellij-community folder. But as these classes are highly linked to the version of the IntelliJ SDK used to build, there is a script to copy them from the GitHub intellij-community repository.

This script is pulltest.sh

If the version of the IntelliJ SDK used to build is changed (see gradle.properties), you must update the branch in pulltest.sh and run the script again.

UI testing

You can perform UI testing by running the following command:

./gradlew integrationTest 

Data and Telemetry

The JetBrains IntelliJ Quarkus Tools plugin collects anonymous usage data and sends it to Red Hat servers to help improve our products and services. Read our privacy statement to learn more. This extension respects the Red Hat Telemetry setting which you can learn more about at https://github.com/redhat-developer/intellij-redhat-telemetry#telemetry-reporting

Feedback

File a bug in GitHub Issues.

License

Eclipse Public License 2.0. See LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].