Home > Blockchain >  Visual studio code ctrl f until end of a function?
Visual studio code ctrl f until end of a function?

Time:12-10

I recently started using VSC. I use the ctrl f feature a lot to search for code within a file (please let me know if there's a better feature to do this in VSC), and often times, I only want to search within a particular function in that file, where the function could be a long one (~ 1000 lines). Is there a way to set the ctrl f stopping criteria to end at the end of the function in that particular file?

CodePudding user response:

You can use the "Find in Selection" feature in VS Code's search bar.

  1. Select the entire function you wish to perform search (enter image description here

  • Related