You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the "Detail" view, you will see the all the matches inside a specific file (each file with matches is the "node" struct) (in this case the search term was "fn"). You will see inside the "Detail" table each line match with 1 line before and after as context. If you hit left or right arrow, the context will span less of more lines of context around each match.
If you are working on a real world application, with thousands of files, each time you hit the left or right arrow key, rg_explorer will do the search with rip grep again inside all files of the folder. If you quickly hit 5 times the right arrow key to get +5 lines of context around the match you are seeing in the detail window, rg_explorer will perform 5 times the same search on your source code. This will definitively produce some lag on the application and burn some CPU. But you are interested in only one file.
Fix this problem by performing the search only within the selected file.
The text was updated successfully, but these errors were encountered:
…nge_context_only_current_file-alt1
This solves issue #1 , when you hit the left/right arrow key in the `Nodes` tab, you will update the context only for the Node you are viewing on the Detail widget.
On the "Detail" view, you will see the all the matches inside a specific file (each file with matches is the "node" struct) (in this case the search term was "fn"). You will see inside the "Detail" table each line match with 1 line before and after as context. If you hit left or right arrow, the context will span less of more lines of context around each match.
If you are working on a real world application, with thousands of files, each time you hit the left or right arrow key, rg_explorer will do the search with rip grep again inside all files of the folder. If you quickly hit 5 times the right arrow key to get +5 lines of context around the match you are seeing in the detail window, rg_explorer will perform 5 times the same search on your source code. This will definitively produce some lag on the application and burn some CPU. But you are interested in only one file.
Fix this problem by performing the search only within the selected file.
The text was updated successfully, but these errors were encountered: