wonderfully unique software solutions

JetBrains rolls out full-line code completion for its IDEs

Developer tools company JetBrains has added to its AI-enablement tools with full-line code completion for its integrated development environments (IDEs), separate to JetBrains AI Assistant.

Ekaterina Ryabukha, writing for JetBrains on the company website, said more developers are incorporating AI into daily workflows.

“The 2024.1 versions of JetBrains IDEs might just pique your interest (with) full line code completion. It’s AI-powered and runs locally without sending any data over the internet,” she wrote in the related blog post.

Ryabukha said that, with the new feature enabled, grey single-line suggestions for code completion are offered to users based on the context of current files.

“These suggestions are powered by specialised language models that we’ve trained specifically for different languages and frameworks,” she wrote.

Full line code complеtion will be available for JetBrains IDEs in Java, Kotlin, Python, JavaScript, TypeScript, CSS, PHP, Go, and Ruby languages, starting with IntelliJ IDEA Ultimate, PyCharm Professional, WebStorm, PhpStorm, GoLand, and RubyMine, she said.

“In the coming months, we plan to extend the functionality to C#, Rust, and C++, so it will also land in Rider, RustRover, and CLion,” Ryabukha added.

The feature might suit organisations that are wary of AI-related risks around privacy and data handling compliance. They might save time and increase code-team productivity with AI enablement that doesn’t rely on an online AI assistant, she suggested.

“You can take advantage of the feature even if you aren’t connected to the internet,” Ryabukha explained.

“It doesn’t send any data from your machine over the internet. The language models that power full line code completion run locally, which is great for two reasons. First, your code remains safe, as it never leaves your machine. Second, there are no additional cloud-related expenses.”

JetBrains is promising that suggestions will be appropriately formatted, with the IDE checking for balanced brackets and quotes. Static analysis will help filter out incorrect suggestions for code completion, with each supported language getting its own set of suggested code checks.

“The most basic ones, like unresolved reference checks, are implemented for most languages to guarantee that the IDE doesn’t suggest non-existent variables and methods,” she wrote. “The auto-import feature is also supported.”

Full-line code completion and JetBrains AI Assistant aim to go beyond the standard completion previously available in JetBrains IDEs. JetBrains AI Assistant, introduced in August 2023, offers a “more comprehensive” feature set, including context-aware smart chat and the ability to generate tests or write documentation, said Ryabukha.

The full-line code completion feature uses a programming-language specific model trained in house on a dataset of open-source code with permissive licenses, with model inference running in a separate process optimised for target machine infrastructures, she added.

“For example, if you’re using x86-64 architecture, the model will run on the CPU, whereas if you’re using ARM64 architecture, the model will use the power of your computer’s GPU,” she said.

Read more on the JetBrains website.

( Photo by Sigmund on Unsplash )

Recent Articles

spot_img

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here

Weirdware monthly - Get the latest news in your inbox