You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+1. Maven has been all but replaced by Gradle on any new projects that I know of. Without Gradle support, the plugin is not really usable :-/
Reacted by Michael Landes, Chad Brockman, Alexander Yashkin, Ivan Zlatev, Ceyhun Kerti, Wang Zishi, Bongjoo Seo, daMupfel, Aaron Leung, walsh zhang and 2 more
In case it helps someone out there (note that I am new to Java) - I was able to workaround the lack of direct Gradle support by using the 'eclipse' gradle plugin to generate an Eclipse project:
Add apply plugin: 'eclipse' to your gradle file
Generate the classpath/project files on the console/terminal via gradlew eclipse
Intellisense works after that.
I've also tried to use the maven plugin, but the vscode-java plugin bombs out when loading the pom-default.xml (assuming it's even trying to load it)
Reacted by Tin Trinh, Matheus Dall'Rosa, OhYee, Carles Barrobés, Owen Koehler, xy69 and Taha Gharib
+1 i also need gradle support for learning libGDX in vscode. i love VSCode because lightweight but powerfull and crossplatform. the bad thing is it is still new.
Reacted by daMupfel, Aaron Leung and SupinePandora43
you can just create a dummy project with that gradle file, throw in a couple of classes referencing some of the dependencies.
I tried your fork of https://github.com/scgm11/asterisk-java, and it seems to work so far.
OK ready they are in my profile GradleTest1 generate a jar GradleTest2 generate a war and depends on the output build of GradleTest1, let me know if is ok or not.
Basic Java Gradle seems to work now. However, we can't provide Android support for now, as BuildShip (that we depend on), doesn't support it.
Closing.
Reacted by yw662
Reacted by prape, Moritz von Göwels, Chandra Sekar Narayanan, York, Federico Vidueiro, Thibault PIRONT, Pranav Avva, safield, SupinePandora43, curli and 10 more
Reacted by Francisco Lopes, Rafal Wachol, SupinePandora43, Michel M, Gustavo, Md. Imran Sarkar and Xilin Jia
Reacted by Vladimir Timofeev, Yifen Wu, kevin-wang-cy, Vladyslav Tsilytskyi, Chris Sinco, Moritz von Göwels, Christopher Simon, Alexis Morel, Paul Verest, Simon Siefke and 27 more
It's pretty annoying to jump back and forth between VS Code and Android Studio for a React Native app on Android. My tasks require writing a lot of native modules in Java, and with the lack of Android dev support, I'm not sure this extension is worth it for my use case.
Reacted by LinArcX, Jonathan Laflamme, SupinePandora43, 1/2, Ziyang, Arto Bendiken, Dan Ortega, along, Gustavo, Clem Freeman and 13 more
For those interested in Java support for Android, the latest version of the Android Extension now includes Java Intellisense based upon the Android SDK.
Java language support is not as fully featured as the vscode-java extension, but I'd be happy to add more features as developers require - or you can help out with the project by submitting issues, suggestions or PRs.
Reacted by Julio, opensourcegeek, Michel M, Arto Bendiken, leisiji, Lattice 0, Xilin Jia, MD. SHAHIDUL ISLAM and Eliaz Bobadilla
Activity
gorkem commentedon Sep 13, 2016
Related to eclipse-jdtls/eclipse.jdt.ls#40
jacek99 commentedon Sep 20, 2016
+1. Maven has been all but replaced by Gradle on any new projects that I know of. Without Gradle support, the plugin is not really usable :-/
ivanz commentedon Oct 10, 2016
In case it helps someone out there (note that I am new to Java) - I was able to workaround the lack of direct Gradle support by using the 'eclipse' gradle plugin to generate an Eclipse project:
apply plugin: 'eclipse'to your gradle filegradlew eclipseIntellisense works after that.
I've also tried to use the maven plugin, but the vscode-java plugin bombs out when loading the
pom-default.xml(assuming it's even trying to load it)gorkem commentedon Oct 11, 2016
My guess is pom-default.xml fails because we look for pom.xml files only. @fbricon can you confirm?
fbricon commentedon Oct 11, 2016
yes, we only look at pom.xmls
tills13 commentedon Oct 28, 2016
This is a fairly important feature which is missing from this project - has any work been done twoards completing this?
jacek99 commentedon Oct 28, 2016
Just a note: latest Gradle is focusing on Kotlin support, so it would be good if that was supported
https://blog.gradle.org/kotlin-scripting-update
gorkem commentedon Oct 28, 2016
@tills13 I believe @fbricon did have a look at using buildship last week.
zhuarifp commentedon Oct 31, 2016
+1 i also need gradle support for learning libGDX in vscode. i love VSCode because lightweight but powerfull and crossplatform. the bad thing is it is still new.
scgm11 commentedon Nov 1, 2016
+1 Gradle support
13 remaining items
scgm11 commentedon Nov 15, 2016
is not an open soure project but I can provide the build.gradle if you want to check uses of gradle maybe as a gist??
fbricon commentedon Nov 15, 2016
you can just create a dummy project with that gradle file, throw in a couple of classes referencing some of the dependencies.
I tried your fork of https://github.com/scgm11/asterisk-java, and it seems to work so far.
scgm11 commentedon Nov 15, 2016
ok, I'll do that in some minutes and let you know
scgm11 commentedon Nov 15, 2016
OK ready they are in my profile GradleTest1 generate a jar GradleTest2 generate a war and depends on the output build of GradleTest1, let me know if is ok or not.
thanks!
scgm11 commentedon Nov 18, 2016
was that useful??
fbricon commentedon Dec 22, 2016
Basic Java Gradle seems to work now. However, we can't provide Android support for now, as BuildShip (that we depend on), doesn't support it.
Closing.
TheFanatr commentedon Sep 16, 2017
Any updates?
JulioJu commentedon Dec 12, 2018
It seems to have an official hack (not tested) http://www.vogella.com/tutorials/EclipseGradle/article.html#android-support , eclipse-buildship/buildship#779 (comment) .
safield commentedon Feb 1, 2019
Please add Android Gradle support! That is a significatn chunk of the Java code out there.
danielnmai commentedon Mar 18, 2019
It's pretty annoying to jump back and forth between VS Code and Android Studio for a React Native app on Android. My tasks require writing a lot of native modules in Java, and with the lack of Android dev support, I'm not sure this extension is worth it for my use case.
MichelMelhem commentedon Jul 4, 2019
up
adelphes commentedon Jul 9, 2020
For those interested in Java support for Android, the latest version of the Android Extension now includes Java Intellisense based upon the Android SDK.
Java language support is not as fully featured as the vscode-java extension, but I'd be happy to add more features as developers require - or you can help out with the project by submitting issues, suggestions or PRs.
caodingpeng commentedon Oct 27, 2020
you can follow this guide:
https://github.com/greensopinion/gradle-android-eclipse