repowisel0ng-ai/openidea

Architecture of l0ng-ai/openidea

l0ng-ai/openidea is 3,417 source files holding 47,122 symbols across 12 modules, written mainly in TypeScript, Rust, Java. The largest module is src, with 2,039 files, and 74 files are entry points into the dependency graph.

How openidea fits together

The frontend in src starts the desktop IDE and holds the typed calls that reach the native backend. The Tauri commands in src-tauri call into the backend packages in crates, which supply features behind the panels such as debugging, file editing and coverage reports. A caller passes a request value to one of these packages and gets back a typed result or an error. The entry points crates/ide-analysis/src/lib.rs, crates/ide-build/src/lib.rs and crates/ide-agent/src/lib.rs are the entry points of separate backend packages. The scripts directory holds helper scripts for development and release work, such as theme token generation and release version updates. The perf directory measures how quickly the app starts, opens its tool windows and responds to keystrokes, and fails a run when a measurement is over budget.

Largest modules

  • src: 2,039 files and 370,181 lines of code
  • crates: 643 files and 248,174 lines of code
  • e2e: 99 files and 10,224 lines of code
  • src-tauri: 78 files and 16,767 lines of code
  • sdk: 30 files and 7,846 lines of code
  • java: 22 files and 3,320 lines of code
  • plugins: 22 files and 5,128 lines of code
  • scripts: 17 files and 1,338 lines of code

Languages

By file count: TypeScript 2,179 files, Rust 763 files, Java 13 files, Python 12 files, JavaScript 2 files, Ruby 2 files.

Documentation

Repowise documents openidea in 2,909 pages generated from the source, 63 of them written explanations of the repository and its modules. Module guides include:

  • crates/ide-agent/src: Agent Conversations and Configuration
  • public: Browser Boot Script
  • crates/ide-build/src: Build Fingerprinting and Gradle Integration
  • crates/ide-run/src: Build System Run Detection
  • root: Build and Test Tool Configuration

More on openidea: summary and FAQ, codebase overview, code health.

Related guide: Best dependency graph tools for monorepos