Search your OpenGrok repository directly from VS Code using OpenGrok.
Features
🔍 Integrated Search — Access all five OpenGrok search types from a sidebar panel (Full, Definition, Symbol, File Path, History)
🪟 Detach in Tab — Open OpenGrok as a standalone editor tab (Ctrl+Shift+Alt+O or the $(open-preview) button in the sidebar header); multiple tabs can coexist independently
🔀 Smart Routing — Context commands automatically target the last-focused tab when one is open, otherwise fall back to the sidebar
🔠 Search Options — Refine results with Match Case, Whole Word, and Regex toggles
📊 Smart Results — Paginated results with a [all ...] button to load all hits for truncated files inline
📂 Editor Integration — Open results directly in VS Code (locally if available, otherwise via read-only virtual document)
🖱️ Context Menus — Right-click on results to copy paths, lines, or search file names in OpenGrok
⌨️ Keyboard Shortcut — Ctrl+Shift+O to search the word under cursor (or focus the search input if no selection)
🏗️ Project Filtering — Multi-project selector with configurable default projects
🎨 Code Highlighting — Automatic yellow highlighting of search term occurrences in the editor when opening a result (fully configurable)
🔐 Secure — Credentials stored securely via VS Code's SecretStorage API
🔄 Auto-Update — Automatic update checks with a one-click install panel
Extension Settings
Setting
Default
Description
opengrok.serverUrl
""
OpenGrok server base URL (set during first sign-in)