Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Find references issue

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
khashfirestorm Posted - Nov 23 2018 : 09:23:42 AM
I have noticed that Find references ignores record in
[Visual Assist Options] -> [Project and Files] -> [Extensions to ignore]

It finds records of searched variable eg:
public bool ruins;

in places like
group.ruins = true;
Which is correct

but then goes all over xml files and finds records like:
<outputs name="Search the ruins." ownerID="4" targetID="27" group="G1" fromX="3508" fromY="-1171" />

which not only is totally unrelated to the searched variable, but as well a regular text even for xml standards.

Simplest solution is to ignore all xml files (which currently contains ~1m words) and save on performance, but feature does not work OR is misunderstood by me.

Any help would be appreciated!
Thank you
5   L A T E S T    R E P L I E S    (Newest First)
khashfirestorm Posted - Nov 24 2018 : 09:12:08 AM
Yup it works!
Thanks again!

Good luck with some form of resolving it directly, but for me this is fine now :)
feline Posted - Nov 24 2018 : 08:59:41 AM
It feels like an ugly work around, but another user had the same problem, lots of Find References Results in XML files, making it hard to see what they needed, and this fixed the problem for them.

Just make sure you have closed all instances of the IDE before editing the registry, since VA saves out its current settings on exit, which can overwrite any changes you make to the registry while the IDE is loaded.
khashfirestorm Posted - Nov 24 2018 : 08:48:03 AM
Hi!

Comment and string was off for a long time for me, and xmls are in the same project, I cannot do much about it as the project is auto-generated by another software.

I will try to edit registry as any xmls search I'm doing using regular VS searches

Thank you!
feline Posted - Nov 24 2018 : 06:25:43 AM
In the short term, are you aware you can right click in the Find References Results window and turn Off displaying "Comment and string references"? This will remove the string results from the XML files.

Are the XML files in the same project as the code you are searching? If not, would limiting the find to the current project only help?

If neither of these options helps, and you don't mind telling VA to always ignore XML files, you can close all instances of the IDE, and then edit the registry key:

HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X\ <IDE> \ExtXml = ".xml;.resx;.config;.manifest;"

removing the ".xml;" extension from the list. Here the <IDE> version is listed on this page, and depends on the version of Visual Studio you are using:

https://docs.wholetomato.com/default.asp?W407
accord Posted - Nov 24 2018 : 02:56:09 AM
We're considering to improve the extensions to ignore feature:

case=27623

Right now, it only affects the source window.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000