Paul Krill
Editor at Large

JetBrains IDEs add AI-powered code autocompletion

news
Apr 4, 20243 mins

JetBrains IDEs introduce full line code completion using a built-in language model, starting with the 2024.1 versions.

shutterstock 637037008 underside of jet aircraft and jet turbines on runway
Credit: frank_peters / Shutterstock

JetBrains has added full-line code autocompletion to its family of IDEs (integrated development environments), powered by locally run AI models. Full line code complеtion is available for Java, Kotlin, Python, JavaScript, TypeScript, CSS, PHP, Go, and Ruby with the 2024.1 versions of the respective IDEs.

The April 4 launch provides the company’s IDEs with a seamless, full-line code completion experience, JetBrains said. This functionality ensures that data processing and analysis occur directly on the user’s device, resulting in quick code completion with minimal latency, according to JetBrains.

Full-line code completion is included within JetBrains IDEs including IntelliJ IDEA, PyCharm, WebStorm, PhpStorm, GoLand, and RubyMine. In upcoming months, the company plans to extend this functionality to C#, Rust, and C++ in all JetBrains IDEs supporting these languages, including Rider, RustRover, Clion, and Nova.

The 2024.1 versions of the JetBrains IDEs are set to introduce multiple other features including:

  • An overhauled terminal featuring both visual and functional enhancements to streamline command-line tasks. The new terminal enables smooth navigation within blocks, nesting each command separately, a command line completion feature, and access to command history.
  • IntelliJ IDEA supports newly released Java 22 and includes a new Kotlin K2 mode based on the K2 Kotlin compiler. The K2 compiler brings advanced and more stable code analysis, and will be the only compiler to support future Kotlin features.
  • RubyMine, for Ruby on Rails development, now can execute version control commands in the context of the current project’s local SDK. When using Git, all scripts will use the specific Ruby SDK associated with the project. The RubyMine update also brings support for Debase 3.0 in combination with Ruby 3.3 for debugging.
  • GoLand, for Go development, now has data flow analysis out of beta. This means inspections can focus on various code problems that might lead to runtime issues, security breaches, and other vulnerabilities. Also, performance is improved for highlighting and indexing.
  • PyCharm, for Python development, adds full line code completion for JavaScript and TypeScript as well as Python, in-editor code review for GitHub and GitLab, and quick documentation previews for Hugging Face models and data sets.
  • PhpStorm, for PHP, supports the Symfony AssetMapper. Developers can install missing modules and packages via importmap.php and use autocompletion for classes and methods. Pest tests can be generated for PHP classes and methods. PhpStorm also supports running tests via PHPUnit 11.

While full-line code completion helps with generating a full line of code, JetBrains AI Assistant, a separate plugin and subscription available for JetBrains IDEs, can autocomplete entire blocks of code, JetBrains said. AI Assistant also offers updates with improved test generation and cloud code completion.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author