Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>typescript-readerNew to Visual Studio Code? Get it now.
typescript-reader

typescript-reader

Kazuya Kurihara

|
1 install
| (0) | Free
LLM tool which aim to read large typescript codebase
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

What is TypeScript Reader?

TypeScript Reader is a tool that helps you read TypeScript code together with a Large Language Model (LLM).

[Features]

  • Allows the LLM to explore functions without requiring manual reading
  • Lets you backtrack through previously explored function paths
  • Helps detect bugs in the currently investigated function path using the LLM
  • Visualizes the function under investigation as a diagram
  • Summarizes the explored function path into a report using the LLM
  • Exports and imports the explored function path as JSON

[Benefits]

  • Enables you to navigate TypeScript code without aimless random walks
  • Allows the LLM to summarize hundreds or thousands of lines of function code in under a minute—something that could take over 10 minutes without prior knowledge of the codebase
  • Includes functionality for detecting bugs in TypeScript code
  • Provides explanations of function paths and logic that would otherwise remain implicit knowledge

[Limitations / Human Tasks]

  • Identifying the entry point of the codebase
  • Choosing which functions to explore (LLM-driven auto-exploration is less accurate)
  • It cannot analyze the entire codebase at once without splitting it into parts

How to Use

  1. Install typescript-language-server
npm install -g typescript-language-server typescript
# or
brew install typescript-language-server

After that disable "TypeScript and JavaScript Language Features" to avoid conflicts of lsp

https://stackoverflow.com/a/60026235

Show All Commands (Ctrl/Cmd + Shift + P) -> Type "Extensions: Show Built-in Extensions" -> Features -> TypeScript and JavaScript Language Features -> Disable (Workspace)
  1. Install VS Code

Please install version 1.100.0 or later of Visual Studio Code.

  1. Install TypeScript Reader

Download TypeScript-Reader at vscode store.

https://marketplace.visualstudio.com/items?itemName=coffeecupjapan.typescript-reader&ssr=false#overview

  1. Open the Extension Once downloaded, open the Command Palette with Command + Shift + P, and click “Open TypeScript Reader Tab”. If a tab opens on the right side, it was successful.

  2. Configure settings Provide the path to typescript-language-server and select your preferred LLM (OpenAI, Claude, or Plamo).

  3. Start exploration in the chat UI

To begin, input the following:

  • File path to start exploring
  • Function to start from
  • Purpose of the exploration

This will initiate the analysis process.

  1. Guide the Exploration

The LLM will suggest important functions within the current function. You then select which one to explore next. This process repeats as long as you like, allowing you to explore deeper step by step.

Release Notes

1.0.0

TypeScript Reader's initial release

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft