LLM-Driven Code Completion in JetBrains IDEs
JetBrains have come up with a new relatively-lightweight LLM-driven code generation option, constrained to producing single line suggestions:
The length of the completion suggestions is a trade-off. While longer suggestions do tend to reduce how many keystrokes you have to make, which is good, they also increase the number of reviews required on your end. Taking the above into account, we decided that completing a single line of code would be a fair compromise.
Some key features:
-
It works locally and is available offline. This means you can take advantage of the feature even if you aren’t connected to the internet.
-
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 – that’s why this feature comes at no additional cost.
Also, customer code is never used for training.
I’ve used this (in RubyMine), and found it fairly useful; it’s good for generating the obvious next line, but is easily ignored when that’s not what’s needed. Not bad at all.
Tags: coding code-completion jetbrains ides java ruby llms ai code-generation rubymine intellij
-