JetBrains

Overview

The CodeMaker AI JetBrains Plugin offers two main ways of using the code generation capabilities.

  1. Interactive mode

    1. Inline code generation

    2. Code Actions

    3. Predictive code generation

  2. Batch processing

The interactive mode relies on manually triggered user actions, which can trigger actions like code or documentation generation.

Features

Autocompletion

Autocompletion is triggered each time the user starts typing in the text editor and will offer autocompletion of a single line or block of code. The feature can be enabled in extension settings.

Inline code generation

Inline code generation can be used together with single-line comments to trigger the generation of type, method, or inline code. This operation can be triggered using the keyboard shortcut Shift ⇧ + Ctrl + Enter on macOS operating system or Shift ⇧ + Ctrl + Enter on Windows operating system.

Code actions

Code actions are contextual operations available in the form of Quick Fix operations displayed in the text editor for methods. They allow you to generate or replace either the method implementation or documentation.

Code Vision

InteliJ Code Vision is contextual hints displayed directly in the code editor that trigger Coding Assistant actions, such as explaining specific parts of code or using Assistant to generate a unit test.

Configuration

The IDE integration is highly configurable, and certain aspects of its behavior can be modified from the Settings menu.

To change the IDE settings, navigate to Settings > Tools > CodeMaker AI menu.

Settings description

  • API Key [Required] - the CodeMaker AI API key. The key can be generated from CodeMaker AI Portal.

  • Endpoint [Optional] - the optional CodeMaker AI API endpoint.

Last updated