8

Resharper is a great tool, the only thing I seem to be missing is an easy text search option. Searching online I have come across a few options (pattern search,key word search) , none of my found options were simple/quick searches.

I am looking something similar to "go to everything" [Ctrl+t or Ctrl+n] enter image description here

only for text, as the above wont show parts of text.

example use case to clarify need - while coding I remember locations in code based on parts of string in code, for example I want to search for string "sanity check" I would like a list like the one above giving me the best results, making closer matches higher in the list.

thank you.

Dmitry
  • 13,797
  • 6
  • 32
  • 48
Mike
  • 1,122
  • 2
  • 13
  • 25
  • 5
    Why not just use the built in Visual Studio one? Ctrl+Shift+F and then type in `sanity check` and it will list all places in the Solution that contains that? – Belogix Mar 27 '14 at 09:57
  • 1
    @Belogix its a bit cumbersome, also results aren't set in order of priority, no coloring, does not have a neat 1 liner that fits in screen showing location+text+info.. and more. when jumping locations very quick the built in VS find is not comfortable. if it were like netbeans/intelij find it would be acceptable. – Mike Mar 27 '14 at 10:08

2 Answers2

9

Try the Go to Word Resharper Extension which allows you to use CTRL+T to search for text (only works in v8.X).

If you are using Resharper 2016.2 or later, this feature has been added to the core product. It works just as good as the original plugin.

BrotherOdin
  • 132
  • 8
Piers Myers
  • 10,611
  • 6
  • 46
  • 61
  • 1
    +1 on Go to Word (created by one of ReSharper's developers!). Press Ctrl-T (or Ctrl-N) 3 times, and you can instantly find any word in any file. – Igal Tabachnik Mar 27 '14 at 10:28
  • Is there an easy install available for R# 9.0? – Brandon Jun 22 '15 at 14:24
  • No longer supported in R#9. Plugin author indicated that it was done as a hack in 8.0 and v9.0 contains too many breaking changes. Apparently, it is in the potential roadmap for v9.X but release date given. It is too bad as I use this plugin quite a bit so I have stuck with v8.0 for now. – BrotherOdin Aug 06 '15 at 16:47
  • If `Ctrl-NNN` doesn't work, make sure that you have 'Go to Everything' enabled under ReSharper->Options->Environment->Search&Navigation->General. – David Peden Dec 10 '16 at 14:55
3

Adding as an answer too to help people in future:

Why not just use the built in Visual Studio one? Ctrl+Shift+F and then type in sanity check and it will list all places in the Solution that contains that?

Belogix
  • 8,129
  • 1
  • 27
  • 32
  • and click on find all rather than find. It displays all results in a list and its much faster – Marcom Mar 27 '14 at 10:01
  • 4
    its a bit cumbersome, also results aren't set in order of priority, no coloring, does not have a neat 1 liner that fits in screen showing location+text+info.. and more. when jumping locations very quick the built in VS find is not comfortable. if it were like netbeans/intelij find it would be acceptable. – Mike Mar 27 '14 at 10:08
  • 1
    It is actually useful in that you can go up and down the results, and the preview window will load the currently selected result, giving full context. – Andrew Apr 07 '19 at 14:56