IntelliJ IDEA 15 EAP Improves ReactJS and Gradle/SBT Support
No single week without the news about IntelliJ IDEA 15 EAP and the new features we are working on to ship in the next major release coming this fall. Some of you may already have given the preview a try, some are just getting ready to it. You can find an extensive list of the new features in the EAP announcement. Today we are happy to let you know that a fresh preview build is out bringing more goodies.
Gradle/SBT
Now when importing a Gradle/SBT project, you can select which modules to import instead of importing the whole project:
If you’re not sure about the dependencies between modules, click Select Required and the IDE will make sure the required modules are selected.
This dialog is also available from the Gradle/SBT tool window, which enables you to add/remove modules at any time.
React
Those who use React for building user interfaces in web applications will be happy to know about its support improvements.
This includes code completion and navigation for CSS class names:
If you haven’t closed an HTML tag, the IDE will show you a warning:
The Surround with action is now available in the JSX files:
Other enhancements and bugfixes include:
- Syntax highlighting for async/await keywords in JSX Harmony
- Correct renaming of JSX files
- Correct parsing of several subsequent JSX code blocks
- Correct parsing for ECMAScript 6 module import statements
The last but not the least is that now the IDE uses the HTTPS protocol by default for updates.
To see the complete list of changes in this last build, read Release Notes.
This blog post is our way to welcome you for giving the new IntelliJ IDEA 15 EAP build a try, and share your feedback in our EAP discussion forum and of course in the issue tracker.
Bryan Young says:
July 22, 2015Looks great. Any immediate plans for CJSX support?
opticyclic says:
July 22, 2015How come the EAP updates are not coming as patches but as full installs now?
Matthew L Daniel says:
July 23, 2015It is my experience that the notification bubble does what you describe, but going to the “Check for Updates …” menu item (under the IntelliJ IDEA-EAP on OS X, likely under “About” on Windows) is more likely to produce a patch download.
I think there is a YouTrack for it, but I don’t have that in front of me.
chris says:
July 26, 2015I think it forces you to download it if the integrated jdk was also updated. Which makes sense.
Manol Kalinov says:
July 23, 2015React support sounds awesome! Are there future plans to support refactoring actions for React? For example, select some HTML and go “Extract to React component”?
Augusto says:
July 23, 2015About the gradle support, you should improve the artifact generation.
Eric Reel says:
July 23, 2015JSX support has been merged into the Typescript master branch and is set for release with Typescript version 1.6. When will IDEA and Webstorm support it?
ruslan says:
July 26, 2015Not sure what improvement in SBT support you guys are talking about. Ever since you’ve changed engiineer working on Scala plugin it’s downhill road. SBT import has been broken for over two months already (I posted bug reports). Overall stability of Scala components is horrible. It’s really shameful situation.
Nikolay Obedin says:
August 17, 2015Hi! SBT support dev is here.
I appreciate your help finding and reporting bugs. Could you please tell what particular issue makes SBT support “broken” for you? Is it one of issues you’ve reported already? Most of them should be fixed, but if you still experience them feel free to comment and they will be reopened.
Etienne Charlier says:
September 13, 2015Hi,
How to make sbt read the $HOME/.sbt/0.xxx/globat.sbt when starting a debug session ( play! 2 application ) ?
Allan Brighton says:
August 15, 2015What is still missing for sbt is something like the sbt-console plugin where you can run sbt commands. While it does still work, the history feature has been broken for a while now and there is no way to exit from a console or play ~run command. Otherwise, you are forced to run sbt in a terminal window and so can’t click on compile error messages to see the source. Scala developers typically spend a lot of time interacting with sbt and it is important that it is integrated in the IDE (and not just to generate the Idea project).
July Newsletter - Gradle says:
October 12, 2015[…] announces improved Gradle Support in IntelliJ IDEA 15 […]
Ted says:
October 23, 2015There still seems to be issues with importing gradle projects. Especially with dependencies (provided and fileTree) doesn’t seem to work as expected. Is this something being worked on ?
Vladislav Soroka says:
October 23, 2015Yep, the most of such issues should be resolved in IDEA 15.1. There is a huge rework in Gradle project import happens. The full list of affected issues can be found at https://youtrack.jetbrains.com/issues/IDEA?q=Subsystem%3A+Gradle+Fix+versions%3A+15.1+resolved+date%3A2015-10-22
Please, create a new issue if the list doesn’t contain something similar to the problem you get and we will try to fix it in 15.1 also.
Mark says:
December 10, 2015What about actual debugging where the line you put your breakpoint is the same line that stops when debugging. I find that the line numbers of the .jsx file in the editor, doesn’t match what is actually running in the browser, not because it doesn’t have the latest version, because it does. It just shifts at run-time.
Kamaraju prathi says:
July 22, 2016Any immediate plans for CJSX support?
supriyaseth says:
November 1, 2016good thesis.But does it allow for font ligatures, so that we can use