redhat-developer / intellij-quarkus Goto Github PK
View Code? Open in Web Editor NEWIntelliJ Quarkus Tools
License: Eclipse Public License 2.0
IntelliJ Quarkus Tools
License: Eclipse Public License 2.0
he extensions model has the notion of default extensions. Such extensions should be pre selected when launching the wizard
We should extend unit tests so that we have same coverage that JDT quarkus
Before installing Quarkus Tools, I had coloring scheme in application.propertoes. After instlaling it, I lost it.
See an example on intellij-connector
reported originally at quarkusio/code.quarkus.io#289 by @vinchauhan
Describe the bug
Quarkus Intellij plugin is making spring projects created from Intellij start.spring.io plugin not working as application.properties is loosing autocompletion.
Expected behavior
Spring projects application.properties shouldnt be affected.
Actual behavior
The application.properties are loosing spring autocompletion as well as an lts folder is created on the root which application.properties_error.log
To Reproduce
Steps to reproduce the behavior:
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
Additional context
(Add any other context about the problem here.)
We provide only a Quarkus module builder so users first need to create an empty project to bootstrap an environment
A big hurdle to cross when coming from an Enterprise Java background is to add the correct extension dependencies to the pom.xml, especially when features changes.
E.g. when using Bean Validation in JAX-RS methods, Quarkus will silently ignore the validation, unless quarkus-hibernate-validator
is added. This especially emerges, when using annotations that already ship with some other (transitive) dependency, but is not actually implemented due to a missing extension (e.g. BV annotations with JAX-RS)
Improvement: The plugin could suggest something along "you're using @Valid
but you should add the quarkus-hibernate-validator
for that."
Examples: Bean Validation annotations (quarkus-hibernate-validator
), JAX-RS with JSON-B (quarkus-resteasy-jsonb
), etc...
Add a code snippet for configuring a Jaeger tracer in application.properties
Only preview is supported currently
code.quarkus.io now add an optional guide URL for extension. We should allow use to follow the link if we wants more information about the extension.
Add a code snippet for creating a new Quarkus resource method
A) empty project will be created (only project folder with empty src folder, .idea folder and 1 file inside - and code-with-quarkus.iml)
Content of the code-with-quarkus.iml file:
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
B) following exception appears:
com.intellij.util.io.HttpRequests$HttpStatusException: Request failed with status code 400. Status=400, Url=https://code.quarkus.io/api/download?p&a=code-with-quarkus&b=MAVEN&c&v=1.0.0-SNAPSHOT&g=org.acme
at com.intellij.util.io.HttpRequests.throwHttpStatusError(HttpRequests.java:643)
at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:624)
at com.intellij.util.io.HttpRequests.access$300(HttpRequests.java:56)
at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:375)
at com.intellij.util.io.HttpRequests$RequestImpl.getInputStream(HttpRequests.java:384)
at com.redhat.devtools.intellij.quarkus.module.QuarkusModuleBuilder.lambda$null$2(QuarkusModuleBuilder.java:142)
at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:516)
at com.intellij.util.io.HttpRequests.process(HttpRequests.java:498)
at com.intellij.util.io.HttpRequests.access$100(HttpRequests.java:56)
at com.intellij.util.io.HttpRequests$RequestBuilderImpl.connect(HttpRequests.java:349)
at com.redhat.devtools.intellij.quarkus.module.QuarkusModuleBuilder.lambda$processDownload$3(QuarkusModuleBuilder.java:141)
at com.intellij.openapi.application.impl.ApplicationImpl$1.call(ApplicationImpl.java:255)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
From https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/quarkus-dev/625k7XvRFCw
When running a unit test, a java.lang.NoClassDefFoundError causes the unit test to fail.
quarkus-ls defines a quarkus/propertyDefinition
method that should allow navigating from a property use in application.properties
to the property definition in the source code.
We should support this new message
Add a code snippet for creating a new Quarkus test resource class
Add a code snippet for creating a new Quarkus resource class
We should parse local Java source parsing for annotations
Reproducing the issue:
Environment:
IntelliJ IDEA 2019.3.4 (Ultimate Edition)
Build #IU-193.6911.18, built on March 17, 2020
Is this the Quarkus version, that Quarkus tools tries to download for the project? should this be a newer version like 1.3.0.Final?
This is caused by Ultimate having old versions of lsp4j
Property autocomplete works only for application.properties. Add support for application.yaml, too.
The plugin currently does not compile against the most recent versions of Idea
HTTP access for maven central is disabled, thus Quarkus download not working.
Add a snippet for creating a new Quarkus native test resource class
When a new Maven project is created, the Quarkus deployment library creation process is called too early so the library is not created.
code.quarkus.io now adds a preview flag to the extensions model. Such extensions should be displayed as "extension name (Preview)" in the wizard UI
According to https://quarkusio.zulipchat.com/#narrow/pm-with/212091,214278,222583,225224-group/near/179353422 requests sent to code.quarkus.io
should have the following headers:
Currently, the default Quarkus runtime is outdated (0.17) and also there is an error when trying to download the jar.
Since I have installed the quarkus IntelliJ plugin I'm not able to edit the application.properties, intellij get frozen after writing some lines.
Also if do copy and paste a part of the property it gets duplicated when I try to finish the property tag.
My IntelliJ IDEA 2019.3.2 Preview (Ultimate Edition)
macOS 10.15.2
Thanks!
Navigate to: New Project > Quarkus tab -> next -> next
In some extensions categories (such as "Messaging", "Compatibility" etc. - left column) are extension (right column items), that have too long names to display in the column. When you hover with your mouse over them and then you move out of them, the text disappear. See the screenhots:
Add a code snippet for configuring a Quarkus datasource in application.properties
It points to https://github.com/redhat-developer/quarkus-ls/tree/master/quarkus.ls which gives a 404
Had an error with unregognized Hibernate ORM properties even though I had hibernate-orm-panache in my pom.xml
I tried ot add hibernate-orm in too (not necessary in theory), then the app.properties file showed the same errors. Closing it and reopening it fixed it
quarkus-ls has been refactored to support extensibility and support Microprofile specific annotations (REST client). This need the LSP client needs to be refactored as the type of messages has been significantly changed
code.quarkus.io now support generation of Gradle projects so we should support them in the wizard
When I create a new Quarkus module (as a new project) it is generated with <verison>/hello</version>
instead of <version>1.0.0-SNAPSHOT</version>
in the pom.xml.
Environmental details:
IntelliJ IDEA 2019.3 (Ultimate Edition)
Build #IU-193.5233.102, built on November 27, 2019
Licensed to Thomas Qvarnström
Subscription is active until April 25, 2020
Runtime version: 11.0.4+10-b520.11 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.1
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Registry:
Non-Bundled Plugins: BashSupport, com.intellij.plugins.html.instantEditing, com.oliverlockwood.plugins.jenkinsfile, com.redhat.devtools.intellij.quarkus, io.protostuff.protostuff-jetbrains-plugin, org.asciidoctor.intellij.asciidoc, org.intellij.scala, org.jetbrains.plugins.vue, training
The User-Agent sent is:
Java/version
which seems not to be well managed by GA.
We should sent this form:
IJCode/version (${System.getProperty("os.name")}; ${System.getProperty("os.version")}; ${System.getProperty("os.arch")}, Java ${System.getProperty("java.version")})
where IJCode is the IJ product code name (IC / IU /...) and version is IJ version (2019.3.3).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.