Visual Studio Code

Overview

The CodeMaker AI Visual Studio Extension offers two main ways to use code generation capabilities.

  1. Interactive mode

    1. Autocompletion

    2. Inline code generation

    3. Code Actions

    4. 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 that are available in the form of Quick Fix operations displayed in the text editor for methods. They allow to generate or replace either the method implementation or documentation.

Configuration

To change IDE settings, navigate to Preferences > Extensions > 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