Skip to main content
← VS Code Extension

Synonyms Panel

The Synonyms panel lets you manage query-time synonym pairs visually. Open it from the command palette with Travsr: Manage Synonyms, or from the ⋯ overflow menu of the Travsr Graph view.

Travsr Synonyms panel

Adding synonyms​

  1. Type a term in the term input (e.g. payment)
  2. Type an alias in the alias input (e.g. billing) and press Enter to stage it
  3. Repeat for any additional aliases (e.g. invoice)
  4. Click Add to commit all staged aliases

Staged aliases appear as chips in the staging area. Click the ✕ on any chip to remove it before committing.

Existing synonyms​

The table below the add row shows all current synonym pairs. Each row displays the term on the left and its aliases as chips. Click the ✕ on a chip to remove that alias, or the trash icon on the row to delete the entire term.

Reset to defaults​

Click Reset to defaults to discard all custom synonyms and restore the built-in pairs.

Synonyms expand at query time across all search surfaces: travsr ask, the Ask Symbol panel, and all MCP tools (get_context, search_symbol). If payment → billing, invoice, then a query for any of the three matches nodes tagged with all three.

Synonyms are per-repo, stored in the fts_synonyms table of the repository's .travsr/graph.db, which is seeded with the built-in defaults.

CLI equivalent​

# Add aliases
travsr synonym add payment billing invoice

# List all pairs
travsr synonym list

# Remove an alias
travsr synonym remove payment invoice

# Reset
travsr synonym reset

See travsr synonym for the full CLI reference.