IDE like an update, please: JetBrains freshens IntelliJ, adds improved GitHub integration, Java support

Issues? Visit the website or use Visual Studio Code

JetBrains has released IntelliJ IDEA 2020.2, a big mid-year update that adds support for Java 15 and Jakarta EE9 as well as improving its GitHub integration.

JetBrains' IntelliJ platform is the basis for a range of IDEs including Google's Android Studio. The IDE runs on the JVM (Java Virtual Machine) and is mainly written in Java with some pieces in Kotlin, a language invented and maintained by JetBrains which targets the JVM (Java Virtual Machine).

The core of IntelliJ is open source and can be found on GitHub in the guise of the free IntelliJ Community Edition.

A StackOverflow 2019 survey (the question did not feature in the 2020 equivalent) showed IntelliJ as the fourth most popular development environment, used by around 25 per cent of developers, behind Visual Studio Code, Visual Studio, and not forgetting Notepad++. Given the extent of the competition from free tools, JetBrains has done well to stay in the commercial IDE game, boosted by Google's use of IntelliJ for Android Studio along with the anointing of Kotlin as the first-choice language for Android development.

JetBrains is releasing version 2020.2 of its Java IDE this week.

JetBrains is releasing version 2020.2 of its Java IDE this week

Major updates to IntelliJ come three times a year, generally in March, the end of July (this one) and November/December. This week brings the release of IDEA 2020.2, which is the Java/Kotlin IDE and the most comprehensive product in the JetBrains family. Other related IDEs cover Python, JavaScript, PHP, C#, C/C++. Ruby, Objective-C/Swift, and Go. You can also add support for these languages into IDEA via plugins. Differentiation between the commercial, language-specific and free editions is achieved by varying the level of access to closed-source plugins, with IDEA Ultimate getting you everything.

IntelliJ IDEA 2020.2 brings significant updates for Java developers including support for Java 15, the update expected in September. This means things like support for records (lightweight classes for carrying immutable data), and highlighting for sealed classes and interfaces. You can set the language level of a project so that these features only kick in when appropriate.

There are also more general Java updates. If you are debugging and an exception files, static analysis will try to find the root cause and navigate to the line of code that caused it (often not the line where the exception was thrown). There is also a new data flow analysis that will report expressions that evaluate to zero even when "non-trivial", according to the docs. A new right-click action will collapse statements into a loop where this makes sense.

The 2020.2 update also adds support for Jakarta EE 9, the big release with nothing in it but namespace changes from javax to Jakarta. On the framework side, there is also improved support for Quarkus, for microservices running in Kubernetes, and micronaut, another microservices framework. Swagger UI, for visualising APIs, is now integrated into the IDE. Android developers will now get all the updates in Android Studio 4.0.

Developers who have used IDEA will know how annoying it can be to wait for a large project to be indexed. A new shared indexes plugin lets you download indexes created by others working on the same code, or for standard code such as JDKs. The team reckon this will cut indexing time by around 60-75 per cent.

IntelliJ IDEA 2020.2 also features a revamped Inspections Widget showing warnings, errors and other issues, with a redesigned user interface and navigation using arrow keys rather than the old F2, though that still works.

On my OAuth

GitHub support is another theme in this release. In particular, you can now perform an entire pull request workflow from within the IDE, including browsing, reviewing, assigning, commenting and merging. GitHub authorisation is now based on OAuth – not before time, since password authentication is deprecated. Developers on Windows can now use Git installed in the Windows Subsystem for Linux 2 (WSL 2).

GitHub Pull Request integration allows developers to review and merge pull requests from within the IDE.

GitHub Pull Request integration allows developers to review and merge pull requests from within the IDE

Keeping up with VS Code when it comes to GitHub integration is challenging, though it seems unsurprising since both are Microsoft-owned. VS Code supports not only pull requests but also GitHub issues, including the ability to create issues from todo comments in your code. IntelliJ IDEA does support GitHub as a source of what it calls “tracker tasks” which it can link to GitHub issues, but it has limitations compared to full per-project integration.

JetBrains need not worry too much, at least for its Java developers, since its Java language support is way ahead of that in VS Code.

We took a quick look at the latest IDEA. JetBrains has been at this for while: the first IDEA was released in 2001. As you would expect from a mature product, its Java support is comprehensive and it is particularly strong in static analysis and refactoring tools.

The IDE performs well and the user interface, while occasionally cluttered, still does a good job of letting developers focus on their code. The new code inspection panel works well and overall this looks a worthwhile upgrade for Java developers. ®

Similar topics

Other stories you might like

  • Microsoft Azure to spin up AMD MI200 GPU clusters for 'large scale' AI training
    Windows giant carries a PyTorch for chip designer and its rival Nvidia

    Microsoft Build Microsoft Azure on Thursday revealed it will use AMD's top-tier MI200 Instinct GPUs to perform “large-scale” AI training in the cloud.

    “Azure will be the first public cloud to deploy clusters of AMD's flagship MI200 GPUs for large-scale AI training,” Microsoft CTO Kevin Scott said during the company’s Build conference this week. “We've already started testing these clusters using some of our own AI workloads with great performance.”

    AMD launched its MI200-series GPUs at its Accelerated Datacenter event last fall. The GPUs are based on AMD’s CDNA2 architecture and pack 58 billion transistors and up to 128GB of high-bandwidth memory into a dual-die package.

    Continue reading
  • New York City rips out last city-owned public payphones
    Y'know, those large cellphones fixed in place that you share with everyone and have to put coins in. Y'know, those metal disks representing...

    New York City this week ripped out its last municipally-owned payphones from Times Square to make room for Wi-Fi kiosks from city infrastructure project LinkNYC.

    "NYC's last free-standing payphones were removed today; they'll be replaced with a Link, boosting accessibility and connectivity across the city," LinkNYC said via Twitter.

    Manhattan Borough President Mark Levine said, "Truly the end of an era but also, hopefully, the start of a new one with more equity in technology access!"

    Continue reading
  • Cheers ransomware hits VMware ESXi systems
    Now we can say extortionware has jumped the shark

    Another ransomware strain is targeting VMware ESXi servers, which have been the focus of extortionists and other miscreants in recent months.

    ESXi, a bare-metal hypervisor used by a broad range of organizations throughout the world, has become the target of such ransomware families as LockBit, Hive, and RansomEXX. The ubiquitous use of the technology, and the size of some companies that use it has made it an efficient way for crooks to infect large numbers of virtualized systems and connected devices and equipment, according to researchers with Trend Micro.

    "ESXi is widely used in enterprise settings for server virtualization," Trend Micro noted in a write-up this week. "It is therefore a popular target for ransomware attacks … Compromising ESXi servers has been a scheme used by some notorious cybercriminal groups because it is a means to swiftly spread the ransomware to many devices."

    Continue reading
  • Twitter founder Dorsey beats hasty retweet from the board
    As shareholders sue the social network amid Elon Musk's takeover scramble

    Twitter has officially entered the post-Dorsey age: its founder and two-time CEO's board term expired Wednesday, marking the first time the social media company hasn't had him around in some capacity.

    Jack Dorsey announced his resignation as Twitter chief exec in November 2021, and passed the baton to Parag Agrawal while remaining on the board. Now that board term has ended, and Dorsey has stepped down as expected. Agrawal has taken Dorsey's board seat; Salesforce co-CEO Bret Taylor has assumed the role of Twitter's board chair. 

    In his resignation announcement, Dorsey – who co-founded and is CEO of Block (formerly Square) – said having founders leading the companies they created can be severely limiting for an organization and can serve as a single point of failure. "I believe it's critical a company can stand on its own, free of its founder's influence or direction," Dorsey said. He didn't respond to a request for further comment today. 

    Continue reading
  • Snowflake stock drops as some top customers cut usage
    You might say its valuation is melting away

    IPO darling Snowflake's share price took a beating in an already bearish market for tech stocks after filing weaker than expected financial guidance amid a slowdown in orders from some of its largest customers.

    For its first quarter of fiscal 2023, ended April 30, Snowflake's revenue grew 85 percent year-on-year to $422.4 million. The company made an operating loss of $188.8 million, albeit down from $205.6 million a year ago.

    Although surpassing revenue expectations, the cloud-based data warehousing business saw its valuation tumble 16 percent in extended trading on Wednesday. Its stock price dived from $133 apiece to $117 in after-hours trading, and today is cruising back at $127. That stumble arrived amid a general tech stock sell-off some observers said was overdue.

    Continue reading

Biting the hand that feeds IT © 1998–2022