visual studio 2017 - Search not finding anything even when matching text is highlighted? -
just tried searching keyword in xslt file , returned no results, despite highlighting word dozen times in file anyway.
visual studio thinks word cannot found in file, yet left can see it's highlighted matching text. "find" , "find all" return same results. haven't made changes settings, don't know go prodding search options see if something's been changed company policy or other daft reason.
i think might running against slight anomaly in quick find functionality. when first select quick find, if have text selected in editor window, selected text appears search phrase , instances highlighted. if turn on filter (such case sensitive or whole word), (possibly all) of highlighted text instances no longer match search string.
try this:
highlight word in code.
click find , replace > quick find. instances of word highlighted.
- now turn on match case, , change 1 letter in search box capital letter.
- click find. instances of word remain highlighted, "no results" dialog appears.
the problem compounded fact little filter icons in quick find window difficult interpret.
Comments
Post a Comment