Search stops working for “Entire Solution”

后端 未结 28 1388
温柔的废话
温柔的废话 2020-12-02 03:30

Somehow Visual Studio search has stopped working for me. Anytime I search \"Entire Solution\" for some text I get this result:

Find all \"[Whatever I

28条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-02 03:58

    Probably won't apply to most situations, but what fixed it for me was turning off 'Use Regular Expressions' in the search window. I had previously been using Regular Expressions for some tricky replacements and didn't turn off when finished. I think perhaps it was interpreting part of simple replace text (see below - had some special characters) as the start of an incomplete or malformed regular expression, and so couldn't actually do any matching. Would be nice if it told you!

提交回复
热议问题