RepoPilot

microsoft / terminal

Search microsoft/terminal

GitHub

Code

How microsoft/terminal is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Repository root
  3. Suggested starting pointAI
  4. Suggested starting pointAI
  5. Suggested starting pointAI
  6. Suggested starting pointAI
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add a new VT-100 escape sequence handler

  • Define the new dispatch type enum in DispatchTypes.hpp
  • Add abstract method to ITermDispatch interface for the new sequence
  • Update parser state machine or routing logic in adapter to recognize sequence pattern

Add a new console buffer attribute or cell property

  • Add serialization/deserialization logic if needed for persistence
  • Update rendering backend to handle the new attribute (Backend.cpp or AtlasEngine.cpp)
  • Add corresponding API dispatch method in ApiDispatchers if externally configurable

Add a new settings UI page

  • Add new property sheet page class extending base property page (reference existing ColorsPage.cpp)
  • Define configuration structure in DefaultSettings.h for new settings
  • Implement registry serialization in RegistrySerialization.cpp
  • Register page in application manifest or main settings controller

Add a new rendering backend feature

  • Add abstract method to Backend.h interface
  • Implement feature in AtlasEngine.cpp (DirectX) or platform-specific backend
  • Update AtlasEngine.api.cpp to expose feature through public API if needed
  • Add corresponding test in ConPtyTests or rendering test suite

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Some of the written code guide was incomplete and is left out.
  • No public API or start-up file could be picked out from the file names.

Code quality and hotspots

Largest source files

  • Branch points165 per file on average
  • Code issues0 errors, 232 warnings
  • Largest file4,907 lines
  • Hotspot load0 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions4 workflows
  • Tests164 test files0.13 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: doc/specs/#1564 - Settings UI · doc/specs/#1502 - Advanced Tab Switcher/img · doc/specs

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.