2026: Enhancing Terminal Usability in Modern IDEs Through AI-Assisted Interaction

Bachelor's theses

Student
Fangxing Liu

Supervisor(s)Advisor(s)

Abstract

Terminals are central to software development, yet their unstructured output and cryptic error messages pose significant barriers for novice programmers. In educational settings, students working on introductory programming exercises often struggle to interpret build failures and runtime errors, which delays learning and increases frustration.

This thesis presents two cooperating extensions for the Eclipse Theia Integrated Development Environment (IDE) that address these challenges. First, a shell integration layer instruments the terminal with Operating System Command (OSC) escape sequences to reconstruct command boundaries from the raw byte stream, producing structured command blocks with associated output for bash and zsh. Second, the AI Terminal Assistant consumes these blocks to generate automatic summaries of build and runtime output, structured error explanations with file and line references, and suggested remediation steps that support independent problem-solving without revealing the solution.

The proposed system follows a modular extension architecture within Eclipse Theia and integrates structured terminal interaction with AI-supported error explanation into the existing IDE workflow. By introducing shell integration, structured command history, interactive terminal enhancements, and the AI Terminal Assistant, this thesis contributes an extensible foundation for terminal-aware assistance in open IDE environments.

We evaluate the system through a qualitative user study with computer science students. The findings suggest that the educational design choices, particularly plain-language explanations and hidden-by-default remediation steps, align with student expectations, while also revealing usability issues that informed subsequent design revisions.