Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Zoekt Code SearchNew to Visual Studio Code? Get it now.
Zoekt Code Search

Zoekt Code Search

H3mul

|
7 installs
| (0) | Free
An extension for searching code using the Zoekt JSON API.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Zoekt Code Search for Visual Studio Code

Search code repositories of any size in milliseconds locally, even when the built-in VSCode search grinds to a halt!

Zoekt VSCode Extension

This extension integrates with an existing Zoekt webserver via JSON API to facilitate code searching within your projects. It allows users to perform searches, view results, and open files directly in the editor.

  • Lightning fast local code search across multiple repositories using the rich Zoekt query language, which supports filtering repository names, language, and more:

      content:test (lang:python or lang:javascript)
      (repo:repo1 or repo:repo2)
      lang:go or lang:java
    
  • Open result files directly in the editor

  • Great alternative to default VSCode search for large repositories

  • Versatile code search solution: run the zoekt server locally or offload it to another machine and serve the index with any amount users

Planned Features

  • [ ] Open remote files from other repositories directly in editor (currently just opens repository link)

Usage

  • Use the Zoekt: Search function in the Command Pallette

  • Press Ctrl+Shift+K (by default) on selected text to populate the query

  • Switch from local workspace to global repository search mode:

    Zoekt search all repositories

  • Navigate the Zoekt search results view sidebar

    Zoekt results

Setup

  1. Install Zoekt

  2. Index all desired code repositories into one index (~/.zoekt in this case):

     zoekt-git-index -index ~/.zoekt /path/to/repo
    
  3. Start the Zoekt webserver to serve the index:

     zoekt-webserver --index ~/.zoekt -rpc
    

    Note, this extension requires -rpc to communicate with Zoekt.

    The index location for --index by default is ~/.zoekt

  4. Point zoekt-vscode at the webserver in the VSCode settings:

    Zoekt VSCode Extension Settings

Installation

Marketplace

Github Releases

  1. Download the latest release from the GitHub Releases page.
  2. In VS Code, open the Extensions view (Ctrl+Shift+X).
  3. Click the "..." menu in the Extensions view and select "Install from VSIX...".
  4. Choose the downloaded .vsix file.

Contribution

Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

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