question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Find in current file

See original GitHub issue

This isn’t a problem, but it would be a very nice feature to have. I’d like to be able to CMD/CTRL + F and find text within the currently selected file.

This would be really nice, for example, when I’m doing line-by-line selections while assembling a commit, and want to search through the file to make sure I’ve selected them all.

Describe the solution you’d like An Edit > Find menu similar to other apps like Chrome. Shortcut of CTRL/CMD + F. A text input similar to chrome pops up, and allows me to type in search terms. I can hit Enter continually to advance to the next found result, which is highlighted in the file view. When the search reaches the last result, advancing to the next wraps it around to the first result. Explicit text matching is fine, but you could add regex, case-sensitive, etc. if you want to get fancy.

Describe alternatives you’ve considered I can open the file in my editor and use the find feature there, but this does not help when determining which lines are to be included in the commit within the GH Desktop app.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
shiftkeycommented, May 15, 2018

This feels very similar to #4484

0reactions
iAmWillShepherdcommented, May 16, 2018

Thanks for taking the time to contribute!

We noticed that this is a duplicate of #4484. Please follow that issue for further updates.

@aMoniker, although that issue is closed, it is marked future-proposal so we know to come back to it in our planning session. If you have any additional details you’d like us to know about your proposal, please use that issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Search in Current File - Visual Studio Marketplace
Search only in current file displayed in the active editor. Automatically, the currently selected text is filled into the search query, and the ......
Read more >
Search for a target within a file | IntelliJ IDEA Documentation
Press Ctrl+F or select Edit | Find | Find from the main menu. note. If you want to extend the search of your...
Read more >
python - How do I get the full path of the current file's directory?
The special variable __file__ contains the path to the current file. From that we can get the directory using either pathlib or the...
Read more >
Find Files in Linux Using the Command Line | Linode
The find command in Linux is used to find a file (or files) by ... -type f -empty, Find an empty file within...
Read more >
Find files from current file's project. · Issue #592 - GitHub
Same as find_files but from current file's project directory. Just like nvim-lspconfig how to figure out project root: root_dir = root_pattern(" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found