Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Search Results Panel for SublimeText 2

I use Notepad++ on my PC and Sublime Text 2 on my Mac. You can "find all instances" of text in Notepad++, which will then display the find results in a window. In this window I see the line number where the text was found and a snippet of the surrounding text. I find this tremendously useful.

Is there a similar feature in Sublime Text 2?

like image 430
gcbrink Avatar asked Apr 10 '13 15:04

gcbrink


People also ask

How do I see results in sublime text?

Save this answer. Show activity on this post. In Sublime 2, in order to call up the build results window you can use the Tools > Build Results > Show Build Results menu item.

How do I open the search bar in Sublime Text?

However, Sublime 3 has it's own built in version of that particular functionality called the Command Palette, which is bound to the key stroke Ctrl+Shift+P … That will open up a panel that will allow you to search for all known commands, and then you can follow the rest of the article to bind the keys you want.

How do I search for a class in Sublime Text?

Ctrl + F, then search for some class or whatever you want in opened docs, or entire site.

How do I run a shortcut code in Sublime Text?

You can use the shortcut key Ctrl+Shift+Q on Windows and Cmd+Shift+Q for Mac, to play a macro recorded by the user in Sublime Text.


3 Answers

You could use Find All and then Cmd+F2 to set bookmarks.

like image 69
anazimok Avatar answered Oct 23 '22 03:10

anazimok


Yes. Use Find in Files (Ctrl+Shift+F), and then select the "add current file" option at the end of the "where:" textfield.

like image 41
elecjack Avatar answered Oct 23 '22 05:10

elecjack


if you only want see this in a panel like notepad++,when you search with ctrl+shift+f, you can click the button "Use Buffer" left to the "find:" then the answer will show in panel down the screen

like image 44
Sample Avatar answered Oct 23 '22 05:10

Sample