What-The-Code
Search, Track, and Clean Code with AI
Created on 29th June 2025
•
What-The-Code
Search, Track, and Clean Code with AI
The problem What-The-Code solves
What-The-Code solves the problem of navigating, understanding, and maintaining large codebases.
Instead of manually searching with keywords or scanning files, developers can now ask natural language questions like “Where is user authentication handled?” and get precise answers.
It also logs code changes with full context, making debugging and tracking safer. The dead code finder helps keep projects clean by identifying unused or unreachable code, reducing bloat and improving maintainability.
Overall, it streamlines onboarding, debugging, and refactoring by bringing intelligent insights directly into VSCode.
Challenges we ran into
Initially, we planned to use a local LLM (CodeLLaMA via Ollama) to make the extension work fully offline. However, we ran into performance issues and slow inference times, especially without a GPU. This made real-time interaction impractical during the hackathon.
To overcome this, we switched to using the Gemini 1.5 Flash API, which provided faster responses and better developer experience for our use case.
We also faced challenges in handling large codebases within token limits. To solve this, we implemented code chunking and smart file filtering to only send relevant sections to the LLM.
Another technical challenge was managing asynchronous communication between the extension and sidebar UI, which we handled through careful command flow and message routing inside the extension.
Technologies used
