VOOZH about

URL: https://thenewstack.io/jetbrains-launches-ai-code-completion-on-local-machines/

⇱ JetBrains Launches AI Code Completion on Local Machines - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-04-04 09:00:10
JetBrains Launches AI Code Completion on Local Machines
AI / Frontend Development / Large Language Models

JetBrains Launches AI Code Completion on Local Machines

A new code completion tool, driven by AI, is designed to keep code on site, reducing security concerns for regulated industries.
Apr 4th, 2024 9:00am by Loraine Lawson
👁 Featued image for: JetBrains Launches AI Code Completion on Local Machines
Image by kirill from Pixabay.

JetBrains is offering full line code completion in its IDE, courtesy of an AI model that runs on local machines so that code doesn’t have to be sent off-premise.

It’s designed to appeal to industries with strict data privacy regulations, such as healthcare and finance, or wherever organizations might be hesitant to send code out the door, the company noted.

“How does our product work? You run a not-so-big, yet smart language model on your local computer and everything happens locally,” explained Daniel Savenkov, a senior machine learning engineer at JetBrains. “It’s really important because not everyone is ready to share their code to cloud.”

Model Runs on Internal Machines

The fact that JetBrains code completion runs locally makes it different from other code competition tools, including GitHub’s Copilot, which relies on external calls to the cloud-based large language model underlying it. While there are user agreements in place with Copilot that prohibit using the code for anything other than code completion, in some industries that’s simply not enough due to security concerns, Savenkov said.

The JetBrains code completion model is still a large language model, but with 100 million parameters. By comparison, industry-standard models are 100 times larger, Savenkov added. The smaller model is one reason the code completion model handles full line code completion rather than large blocks of code. It’s really hard to work with large blocks of generated code, Savenkov said. Since some suggestions may not be good, the coder has to review all the code created by the AI model.

There is some debate in the industry over which length of code completion works best, Savenkov said. Some code completion products can produce huge chunks of code, but also may hallucinate things like API calls. JetBrains settled on one line of code completion as a “pretty fair trade-off” that developers can easily work with, he added.

The fact that it’s run locally also minimizes latency issues.

“It’s a much simpler task than the task to generate 10 lines of code or a block or entire method or entire class,” he said. “Because of that, we have an opportunity to go with smaller models and to get really meaningful and useful results. So that was roughly the way we arrived here, where we have [a] local, not so big, model generating a single line of code.”

Smaller LLM Offers Comparable Quality

The quality is similar, even though the LLM is smaller, he claimed.

“We do not have a dramatic drop of quality in our use case, as compared to really big cloud-based models. Of course, if we start to try to generate blocks of code, the difference will be much bigger, but keeping a single line, the difference is not so big,” Savenkov told The New Stack.

The model also leverages information from the IDE to filter out hallucinations such as calls to APIs that don’t exist. This also helps ensure that the code suggestions do not contain syntax errors such as non-existent variables or methods, he noted.

Also, since the language model is trained on certain languages and frameworks, rather than generally trained, it can be a smaller size, added Mikhail Kostyukov, the company’s ML product manager.

JetBrains piloted the code completion feature in PyCharm, its Python IDE. As of today, it is available for Java, Kotlin, JavaScript, TypeScript, CSS, PHP, Go, and Ruby within the corresponding JetBrains IDEs out of the box: IntelliJ IDEA, WebStorm, PhpStorm, GoLand, and RubyMine.

In the coming months, the company will extend the functionality to C#, Rust, and C++ in all JetBrains IDEs that support these languages, including Rider, RustRover, CLion Nova, and more.

In addition to its code completion offering, JetBrains offers an AI Assistant as an add-on subscription service that can autocomplete entire blocks of code. The AI Assistant also offers improved test generation and cloud code completion, custom prompts for commit messages, the ability to create files from AI chat, and updated in-editor code generation, the company said.

It’s available in IntelliJ IDEA, PyCharm, PhpStorm, ReSharper, and other JetBrains IDEs; as well as in Fleet, as a supplemental feature.

This 2024.1 update also introduced other new features to JetBrain’s IDEs, including an overhauled terminal feature with enhancements that streamline command-line tasks. The terminal now enables navigation within blocks, nesting each command separately, a command completion feature, and easy access to the command history, the company noted in a press release. Among the improvements to particular IDEs are:

  • IntelliJ IDEA will provide support for the features in the newly released Java 22. It also incorporates the new Kotlin K2 mode based on the K2 Kotlin compiler for enhanced code analysis.
  • RubyMine can execute VCS commands in the context of the current product’s local SDK.
  • PyCharm 2024.1 brings new features to integrated Jupyter notebooks, along with simplified version control with new visual diff, widgets rendering, and the ability to explain pandas and Polars DataFrames with AI Assistant. Also, all documentation on the Hugging Face models is directly accessible in PyCharm.
  • PhpStorm adds support for Symfony’s AssetMapper. The press release noted that developers can now quickly install missing modules and packages via importmap.php and utilize full autocompletion for their classes and methods. They also can generate Pest tests for PHP classes and methods and create new Pest tests right from the Intention actions menu.
TRENDING STORIES
Loraine Lawson is a veteran technology reporter who has covered technology issues from data integration to security for 25 years. Before joining The New Stack, she served as the editor of the banking technology site Bank Automation News. She has...
Read more from Loraine Lawson
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.