HopLink is a lightweight, open-source Visual Studio Code extension that eliminates
one of the most common productivity bottlenecks in full-stack web development:
manually navigating from a frontend API call to its backend route handler.
THE PROBLEM
Every full-stack developer knows this routine:
- You see
api.post("/api/v1/users")in your React or TypeScript component. - You press Ctrl+P to search for and open your server file.
- You press Ctrl+F and paste the endpoint.
- You get 0 results because your router mounts prefixes separately.
- You re-type, cycle through 10+ matches, and finally land on the handler.
- By this point, you have broken your flow state.
Developers repeat this 20 to 50 times a day across full-stack codebases.
It is not dramatic, but it accumulates into hours of lost focus every week.
THE SOLUTION
HopLink registers as a native VS Code Definition Provider. When you place your
cursor on any frontend HTTP request URL and press F12 (or Ctrl+Click /
Alt+F12 for inline peek), the editor instantly navigates directly to the
corresponding backend route declaration, exactly the same way you jump to
a TypeScript function definition.
No panels to open. No search to perform. No configuration required.
Just one keystroke.
HOW IT WORKS
Sliding-Window Parsing: Instead of running expensive AST traversals
across entire files on every keystroke, HopLink reads a localized 3-line
window around the cursor (pos.line ± 1) for near-instant response.Universal HTTP Client Detection: Recognizes native fetch() calls as well
as any client instance method: axios.get, api.post, http.put,
client.patch, service.delete, and more.Smart Route Normalization: Automatically strips leading template
interpolations (${BASE_URL}/users → /users) and query parameters
(/users?limit=10 → /users) before attempting to match.Reactive File Caching: Backend entry files are discovered once and cached
in memory. A live FileSystemWatcher invalidates the cache automatically
when files are created or deleted, without requiring an extension reload.-
Two-Tier Route Matching:
- Tier 1: Exact full-path match (e.g., /api/v1/users)
- Tier 2: Fallback to the terminal route segment (e.g., users) for split router architectures where the prefix is mounted separately.
SUPPORTED LANGUAGES
Frontend: TypeScript, TypeScript React, JavaScript, JavaScript React
Backend: Go, Python, TypeScript, JavaScript, Rust, Java, PHP, C#, Ruby, C, C++
HopLink works across any framework on these backends: Gin, FastAPI, Express,
Axum, Spring Boot, Laravel, ASP.NET Core, Ruby on Rails, and more.
WHAT MAKES IT DIFFERENT
Existing tools like RouteSync or OctAPI require you to open a separate side
panel, wait for a workspace scan, search a table of endpoints, and click a
link. That is still a multi-step interruption.
HopLink hooks into the same F12 (Go to Definition) shortcut developers
already use for local function navigation, bringing that instant zero-friction
experience across the frontend-to-backend language boundary for the first time.
It requires no code generation, no shared schemas, and no build steps.
It simply works with the code you already have.
VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=DeepakKN.hoplink
GitHub Repository: https://github.com/DeepakCSGO23/HopLink




