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.

error box example

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:

  1. highlight word in code.

  2. click find , replace > quick find. instances of word highlighted.

  3. now turn on match case, , change 1 letter in search box capital letter.
  4. 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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -