Documentation
CodeMaker AI
  • Quick start
    • Overview
    • Getting Started
      • Visual Studio Code
      • JetBrains
      • GitHub Action
      • CodeMaker CLI
  • Features
    • Coding Assistant
    • Interactive
      • Autocompletion
      • Inline code generation
      • Code Actions
      • Syntax Autocorrection
    • Batch
      • Code generation
      • Documentation generation
      • Predictive code generation
    • Source Context
    • Source Graph
  • Models
    • Fine-Tunning
  • Knowledge Base
    • Indexes
  • Source Code
    • Repositories
  • Integrations
    • IDE
      • Visual Studio Code
      • JetBrains
    • GitHub
      • GitHub Action
        • Continous Integration
        • Pull Requests
      • GitHub App
    • CLI
    • SDK
      • Go
      • JavaScript
Powered by GitBook
On this page
  1. Features
  2. Interactive

Inline code generation

PreviousAutocompletionNextCode Actions

Last updated 1 year ago

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.

The inline code generation uses contextual prompts. Depending on the location of the prompt it will return different results. As an example adding a prompt as file top level comment will generation a class, adding the comment within a class will result in generating a method and adding the comment inside a method or function will result with inline code.