JetBrains Full-Line Code Completion Empowers IDE Workflows, Complementing AI Assistant

10 April 2024

The devtool experts at JetBrains have added full-line code completion in the latest 2024.1 updates to popular JetBrains integrated development environments (IDEs) – including IntelliJ IDEA and other recently updated IDEs available from QBS.

JetBrains’ AI-powered full-line code completion complements the JetBrains AI Assistant in that it aims to speed up devs’ work even further. Together, they go beyond the standard code completion in JetBrains IDEs that’s been available for some time.

With the addition of full-line code completion, devs can:

  • Complete lines of code with single-line suggestions based on current-file context.
  • Benefit from specialised language models trained specifically for different languages and frameworks, without having to send code online.
  • Code faster with greater accuracy, freeing up time and head space for innovation while supporting efficiency and productivity across production teams.

FULL-LINE CODE COMPLETION VS AI ASSISTANT

  • Both offerings help teams benefit from AI functionality in JetBrains IDEs, but JetBrains AI Assistant offers additional features such as context-aware smart chat and the ability to generate tests or write documentation.
  • Full-line code completion, on the other hand, runs locally without sending any data over the internet – broadening access to AI benefits in coding workflows, such as when connecting online may be risky for data protection and compliance.
  • As more organisations build AI into daily workflows, few can afford to be left behind. JetBrains full-line code completion recognises and addresses the fact that AI can also introduce risk into certain workflows, giving an alternative way to secure AI benefits.

With JetBrains full-line code completion – available integrated with updates of Java, Kotlin, Python, JavaScript, TypeScript, CSS, PHP, Go, and Ruby IDEs, with functionality extended to C#, Rust, and C++ soon – the benefits include:

  • Appropriate formatting of all suggestions.
  • IDEs check for balanced brackets and quotes.
  • Static analysis and JetBrains’ understanding of code deployed to filter out incorrect suggestions.
  • Each supported language has its own set of suggested code correctness checks, helping ensuring IDEs only suggest existent variables and methods.
  • Auto-import is supported.
  • Smart filtering smooths workflows, eliminating suggestions likely to be cancelled explicitly or immediately deleted.
  • Model inferences run in a separate process, and are optimised for target machine architecture – running on the CPU when it comes to x86-64, or on the GPU for ARM64 architecture, for example.
  • Post-processing steps including syntax and semantics checks, smart filtering, formatting, parenthesis balancing, and various other manipulations to ensure good user experience.
  • Control the potential for multiple review requirements by delivering only single full lines of code completion. 
  • Reduction of potential cloud-related expenses.

WORKING WITH JETBRAINS CODE COMPLETION

JetBrains full-line code completion can be tweaked relatively easily. It should be noted that this feature’s design made it possible to reduce the size of language models without quality taking a significant hit.

For instance, in the 2024.1 version of JetBrains IDEs, the company developed a language model 100 million parameter language model with a maximum context size of 1,536 tokens, or about 170 lines of code.

  • To configure full line code completion: Simply go to Settings | Editor | General | Code Completion and check settings under the Machine Learning-Assisted Completion section.
  • The feature itself can be disabled by unticking the Enable Full Line suggestions box, or by disabling the plugin via in Settings | Plugins | Installed.

Full line code completion is already available for IntelliJ IDEA Ultimate, PyCharm Professional, WebStorm, PhpStorm, GoLand, and RubyMine, and eventually also Rider, RustRover, and CLion. It is included with active JetBrains IDEs subscriptions on v2024.1 or later.

No JetBrains AI features are trained on customers’ code, but if teams seek to use AI to accelerate coding workflows while still complying with strict data privacy policies and regulations, full-code completion can fit the bill – a programming-language specific language model, which is trained in house using a dataset of open-source code with permissive licenses. 

DO MORE WITH JETBRAINS TOOLS

Many great JetBrains tools for IDE projects are available through QBS, such as the Code With Me Enterprise collaborative coding and pair programming service. Code With Me means teams can easily collaborate and learn in real time on IDE projects. 

Code With Me is also perfect for swarm programming to develop, debug, and fix code as well, including for IntelliJ IDEA, AppCode, CLion, GoLand, PhpStorm, PyCharm, RubyMine and WebStorm – all available via QBS.

Additional solutions (to name just three) include static code analysis tool Qodana for controlling code quality, JetBrains Academy to get teams up and running fast on builds, or the JetBrains All Products Pack. Check them all out today.

Email QBS at:[email protected]
Telephone QBS on: +44(0) 20 8733 7100

( Image by Tumisu from Pixabay )

Wichtige Eckdaten:
  • Verfügbarkeit: Nutzer von E-Commerce und der Testversion haben sofortigen Zugriff. Nutzer ohne E-Commerce-Zugang müssen ihren Administrator darum bitten, die Funktionen der generativen KI über die Admin-App zu aktivieren.
  • Genauigkeit: Da es sich um eine Beta-Funktion handelt, können die Antworten vereinzelt Ungenauigkeiten oder Inkonsistenzen aufweisen. Durch kontinuierliche Updates wird jedoch eine stetige Verbesserung der Zuverlässigkeit angestrebt.
  • Datenschutz und Sicherheit: Dokumenteninhalte werden während der Verarbeitung temporär gespeichert und nach Abschluss der Aufgabe umgehend gelöscht. Nutzerdaten werden nicht zur Schulung von KI-Modellen verwendet.
  • Beta-Status: Der Dokumentenassistent befindet sich derzeit in der Beta-Phase. Obwohl die Funktion vollständig einsatzfähig ist, wird sie fortlaufend weiterentwickelt. Das Feedback der Nutzer spielt eine entscheidende Rolle für die weitere Optimierung.

Zugang zum Nitro Dokumentenassistenten

Der Einstieg in den Nitro Dokumentenassistenten ist unkompliziert. Das Tool unterstützt PDF-Dateien mit einer maximalen Größe von 25 MB. Folgen Sie diesen Schritten:

  • Öffnen Sie Nitro Workspace und navigieren Sie zum Bereich „Tools“.
  • Klicken Sie auf das Symbol „Dokumentenassistent“.
  • Laden Sie das Dokument hoch, indem Sie eine Datei auswählen oder die Drag-and-Drop-Funktion nutzen.

So meistern Sie den Nitro Dokumentenassistenten

Nach dem Hochladen eines Dokuments erstellt der Nitro Dokumentenassistent eine Zusammenfassung und schlägt erste Fragen für die Interaktion vor.
Für maßgeschneiderte Anfragen wird den Nutzern empfohlen, ihre Eingaben klar, präzise und spezifisch zu formulieren. Hier einige Beispiele für mögliche Anfragen:

  • Fasse dieses Dokument für mich zusammen.
  • Fasse es stichpunktartig zusammen.
  • Fasse dieses Dokument für mich auf Spanisch zusammen.
  • Liste die externen Quellen auf, die in diesem Dokument genannt werden.
  • Finde Inhalte zu den Zahlungsbedingungen in diesem Vertrag.
  • Erkläre mir die wichtigsten Punkte [dieses Vertrags] in einfacher Sprache.
  • Schreibe dieses [Benutzerhandbuch] als FAQ um.
  • [In diesem französischen Mietwagenvertrag] Kann ich eine Debitkarte verwenden, um ein Auto zu mieten? Antworte bitte auf Englisch.

Wichtige Hinweise zu Sicherheit und Datenschutz für Ihre Kunden

Nitro legt großen Wert auf Sicherheit und Datenschutz. Dokumente werden während der Verarbeitung nur vorübergehend gespeichert und nach Abschluss des Vorgangs sofort gelöscht. Zudem stellt Nitro sicher, dass Kundendokumente niemals zur Schulung von KI-Modellen verwendet werden. Diese Maßnahmen schützen sensible Informationen und geben Ihren Kunden ein beruhigendes Gefühl.
So verbessern Sie den Nitro Dokumentenassistenten
Nitro schätzt das Feedback der Nutzer zur kontinuierlichen Verbesserung des Dokumentenassistenten. Nach jeder Interaktion werden die Nutzer gefragt: „War dies hilfreich?“ Sie können mit „Daumen hoch“ oder „Daumen runter“ antworten.
Für detaillierteres Feedback können die Nutzer die Feedback-Seite des Nitro Knowledge Assistant besuchen, um zur Weiterentwicklung des Tools beizutragen.

Ermöglichen Sie Ihren Kunden Erfolg mit Nitro, unterstützt durch KI

Der Nitro Dokumentenassistent ist ein wertvolles Tool, um Ihren Kunden zu helfen, ihre Dokumentenabläufe zu optimieren. Ob sie Nitro zum ersten Mal ausprobieren oder von einem anderen PDF-Anbieter wechseln, diese KI-gestützte Funktion zeigt Nitro’s Engagement für Innovation.

Wenn Sie Fragen zu Nitro-Lizenzen oder erfolgreichen Verkaufsstrategien für Nitro-Lösungen haben, wenden Sie sich an das Team von QBS. Wir unterstützen Sie gerne auf Ihrem Weg zum Erfolg mit Nitro!