Intellij doesn't detect Play syntax - java

I have IntelliJ community 14.14 installed and Scala plugin 1.5.2.
I have created a play project using activator new and I imported it into IntelliJ, but it doesn't recognize the views. I have tried searching all over, but did not find a solution.
When I right click on the project and choose Add Framework Support I don't find Play. I only find Maven, Groovy, Scala

Play framework isn't supported in IntelliJ community edition.You need the ultimate version for that purpose and you can read about it on the editions comparison matrix.

Related

IntelliJ IDEA different versions compatibility

My classmates and I are about to do a group project in Java. We want to use IntelliJ IDEA but aren’t sure about the version. My question is:
Are different versions of IntelliJ compatible? e.g. Can one of us use version 2021.2.3 and another person version 2021.2? Or one of us 2021.2 and another person 2020.2?
As your project will probably be of maven or gradle type, you don't have to worry about this. You can even work in differents IDE (IntelliJ, Eclipse or VS Code).
Maven or gradle have a default project structure that most of the IDE are able to manage easily.
Or you can both just simply download the last version of IntelliJ Community Edition which is totaly free.

VS Code Cannot Detect Java Libraries

I recently downloaded VS Code for Java development. When I initially opened an existing Java Project in VS Code, it was unable to identify objects from the Selenium library. I downloaded the Java Extensions plugin and a few others, and now VS code will not recognize any of my imports as valid. Javax and Java.swing are among the now undetectable libraries. Is there a setting I missed? What do you recommend?
VSCode just an Editor, after you install some extensions, it only makes the editor more convenient, get more abilities even can help you develop the project of some kind of language through combine with the language support in your computer. Such as, you need to install JDK, then to install the 'Java' extension, then the extension to combine with the JDK and the VSCode, then you will get the ability to develop java project in VSCode.
That's means, The 'Language Support for Java(TM) by Red Hat' has nothing to do with java development. For example, after you install the JDK on your computer, you can develop java projects in the other IDEAs such as Intellij IDEA or some others. The 'Language Support for Java(TM) by Red Hat' extension just to combine the JDK with VSCode better, to make VSCode better to develop java project.
As you said, you failed to import libraries. Of course, the 'Java' extension without any libraries of java. You need to configure it by yourself. In the Explorer panel, you can find 'JAVA PROJECTS'. In it, you can find which libraries you have referenced and you can adds libraries in it. And of course, you'd better take maven to manage your project.
By the way, recommend you to install 'Java Extension Pack' extension.
You're going to need to add support through extensions because by default VS Code does not support Java. The great thing about this extension is that you get a slue of other extensions as well, such as; maven, debugging tools, support for junit, auto completion, etcetera.
On a side note, you could always use an IDE/IDEA like IntelliJ, Eclipse, or likewise. I'm definitely partial to IntelliJ but they all have their pro's and con's.

Intellij - web application plugin is not appearing in new project

In Intellij i'd like to use a plug-in similar to eclipse's wtp tool. My end goal is to build servlets within the IDE and and run it locally on my pc.
I've tried searching for the plugin in the prefereneces under plugins to no success. Here is an image of what my plugin options look like when im trying to create a new project, and notice how there is no web application plugin showing on the left column, how do i fix it ?
If you are using IntelliJ IDEA Community Edition, it does not support Java EE. However, IntelliJ IDEA Ultimate Edition does provide Java EE support.
https://www.jetbrains.com/idea/features/editions_comparison_matrix.html

Use IntelliJ community to get an AST

I am building a small Java code analysis tool and wonder if I could use the amazing IntelliJ compiler to get an AST for Java projects?
IntelliJ has open sourced the community edition some years ago under the Apache 2 license. Can the project also be used as a library in a Java standalone project (instead of a plugin for a full IDE) to analyze Java projects? The Git repository is quite big and I am grateful for any hints or links where to start.
(I have already read about the Eclipse JDT but creating my own Mini-ANTLR-Java-parser was much easier than getting the Eclipse JDT to work for me. But it would be amazing if I could use a more sophisticated, always up-to-date version of a Java AST for my project. So my hopes are in the IntelliJ compiler.)

What Maven 3 archetype to use for Drools project on Jboss?

Objective is to set up developer environment for:
JBoss 7.1, Maven 3.04, Drools 5.3.0 , eclipse platform 3.72 (IDE for Java EE 1.4.2...)
Goal is to be able to follow tutorials and learn Drools using latest available versions of software - without running into version incompatibilities between different components.
Seem to be getting a lot of "missing reference" type errors in eclipse package explorer after compiling code examples in maven. I am a newbie so apologies in advance if this is an obvious question.
Examples appear to compile in maven fine, but when trying to integrate with Eclipse ide am having a lot of reference errors. The version of Java SDK on my PC is 1.7.0_04.
There is no official maven archetype for Drools, and I doubt that any of the community ones are up to date.
Take a look at these resources:
Drools and jBPM version compatibility matrix
On the download page, section "Eclipse update site". IIRC, in 5.3 the plugin was part of JBoss Tools, but for 5.4 it's a separate update site as linked there.
Alternatively to using the 5.4 update site, you can download the droolsjbpm tools zip (5.4 or 5.3), unzip it and configure the plugin in eclipse as a local update site.
PS: I recommend upgrading everything to 5.4.0.Final, that's the latest and greatest community release.

Categories