Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Find Word At CursorNew to Visual Studio Code? Get it now.
Find Word At Cursor

Find Word At Cursor

Yu Zhang

|
1,877 installs
| (6) | Free
Move cursor to the next occurrence of word at cursor
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

version

Adapted from findWordAtCursor by M.K. Safi (@msafi).

Make search a little bit easier.

No selection

no selection

With selection

selection

What differences?

  • Find next can loop back to the first line when reaching the end of the file
  • Be consistent with Ctrl + D
    • No selection → wholeWords: true; caseSensitive: true
    • Has selection → wholeWords: false; caseSensitive: false
  • Default key binding
    • F3 / Shift + F3 (find next/previous word at cursor)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft