'How to find text in current file but match relative to cursor position [VS Code]?
I have a file opened in VS Code - 4000 lines long. Folder is not loaded - just one file.
I am editing one method on line 3500.
If I press Ctrl+F
and start typing it jumps to the first result in the whole file - line 500.
I want to find all instances of search term bellow the current cursor position (focused/selected line). How to do it?
I used Notepad++ before and the case above works perfectly.
VS Code version: 1.19.1
Solution 1:[1]
Updated VS Code to 1.19.2 and it works as expected (like in Notepad++).
Ctrl+F
jumps to first result after current line (cursor position).
EDIT: 2022 update: version 1.66.2
does not jump at all - just marks results.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |