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
  • Summary
  • Source Graph Generation
  • Generated definitions
  1. Features

Source Graph

PreviousSource ContextNextFine-Tunning

Last updated 1 year ago

Summary

Source Graph processing and code generation is an advanced feature supported by CodeMaker AI that enables it to automatically generate code for both the requested file as well as its direct dependencies that have unimplemented definitions.

To enable this feature you need first enable the Extended Source Context option in the IDE settings.

Source Graph Generation

Source Graph processing can be triggered using the editor or file manager context menu or file manager. Once triggered the tool will inspect each of the dependent files first and if they require implementing any definition they will be processed first, after which all of the calling code will be process.

Generated definitions

By default all definitions declared in a given file that does not have implementation will be processed, this includes classes, constructors, methods, or functions. Declaring a class or method without a body will lead to it being automatically processed.

Note: The source graph code generation is currently not supported for C# and Golang programming languages.