Skip to main content

VS Code Plugin

The AI Cockpit plugin for Visual Studio Code simplifies your development workflow, enabling you to update legacy code, generate epics and stories, create documentation, generate diagrams, and more.

Installation and Setup

Installation

  1. Open Extensions: Click the Extensions icon in the VS Code sidebar.

  2. Search for AI Cockpit: Type "AI Cockpit" in the search bar.

  3. Install: Click "Install" to download and add the plugin to your IDE.

    AI Cockpit Extension

Login

  1. Start Login: Click the "Login" button in the AI Cockpit panel.

  2. Authenticate in Browser: A browser tab will open for you to enter your AI Cockpit email and password.

  3. Authorize Access: Accept the request to allow VS Code to access your AI Cockpit account.

    Prerequisites

    To use the plugin, your AI Cockpit organization must be linked to Provider with a valid token, or it must be configured as "No Platform" if you are not using Provider integration.

    AI Cockpit Home Screen in VS Code

Project Management

Manage your project data directly within VS Code.

Generate Project

Create a new project by providing the following details:

  • Provider Board (Optional)
  • Project Name
  • Project Description
  • Output Language
  • Workspace Folder: The currently open folder in VS Code will be linked and uploaded.
Generate project

View Project

View the information for the current project. Architect users also have the option to delete the project.

View Project

Developer Tools

Code Generation

Generate code snippets by selecting a user story and a subtask from your AI Cockpit web data.

Note

A Provider board must be selected to list your stories.

Code Generation

Smart Engineering (Architects Only)

This module is available only to users with an architect profile and requires code processing to be enabled in your AI Cockpit organization settings.

Project Documentation

Generate comprehensive documentation for your project folder. You can download individual files or all of them at once.

Generated documentation

Diagrams

Create various diagrams for your project, including:

  • Class Diagram
  • C4 Diagram
  • Sequence Diagram
  • Impact Diagram

You can generate multiple diagrams simultaneously.

Generated Diagram

Epics and Stories

Generate epics, technical stories, and user stories directly from the plugin.

Generated epic

Code Modernization

Transform legacy code into modern PHP or Java.

  1. Select Technical Stories: Choose the stories that will guide the modernization.
  2. Select Programming Language: Choose the target language.
  3. Name the New Project.
  4. Generate New Project.
Generation Time

The time required for code modernization depends on the project size. Other variables, such as the use of more robust LLM models, can also influence processing time. A 4.4 MB project takes approximately 10 minutes.

Once complete, you can download the modernized project or open it directly in VS Code.

Generated project