Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 .vahashtags does not load
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

fn1186
New Member

7 Posts

Posted - Feb 20 2017 :  08:31:07 AM  Show Profile  Reply with Quote
I have project in my VC++ solution, which has a lot of "#something"'s.
I disabled them in VA hashtags window by blocking that projects.

VA saves .hashtags file with:
p:3rdParty\AAA\Source\AAA.vcxproj

After I closed VS, and reopened the solution, all the tags are shown.

When I disable hashtags for the project, VA saves DUPLICATE string to .hastags file, that now looks like:
p:3rdParty\AAA\Source\AAA.vcxproj
p:3rdParty\AAA\Source\AAA.vcxproj

It seems that VA does not read .hashtags file on open solution =(
Please fix it.

VA = 10.9.2118
VS = 2015, 14.0.25431.01 Update 3

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Feb 20 2017 :  2:42:11 PM  Show Profile  Reply with Quote
This is working correctly for me, using VS2015 and VA 2118.

Can you please use the toolbar in VA Hashtags to turn on "Group by File", and then search for one of the tags that should be excluded. I am wondering if VA could be picking up a reference from another file, that is not in the excluded project.

Is it possible the same files are included in more than one project? If this happened, VA might be seeing the file twice, so correctly excluding one copy, but leaving another copy included and listed.

zen is the art of being at one with the two'ness
Go to Top of Page

fn1186
New Member

7 Posts

Posted - Feb 20 2017 :  3:12:30 PM  Show Profile  Reply with Quote
Thank you, Feline!

This is a good workaround!!!
Recently I used only "hide by project", that made duplicates, but now, when I am using "hide directory"/"hide file" it hides the right way.
(Just don't use "hide by project").

So here is my new .vahashtags:
d:3rdParty\PhysX_3.4\Include\geometry
d:3rdParty\PhysX_3.4\Include
d:3rdParty\PhysX_3.4\Source\SceneQuery\src
d:3rdParty\PxShared\include\foundation
d:3rdParty\PhysX_3.4\Source\PhysXCooking\src
d:3rdParty\PhysX_3.4\Source\PhysXCharacterKinematic\src
d:3rdParty\PhysX_3.4\Source\GeomUtils\src\convex
d:3rdParty\PhysX_3.4\Source\GeomUtils\src\mesh
d:3rdParty\PhysX_3.4\Source\Common\src
d:3rdParty\PhysX_3.4\Source\PhysX\src
f:3rdParty\gmock\googletest\src\gtest-internal-inl.h
p:3rdParty\PhysX_3.4\Source\compiler\vc14win64\SimulationController.vcxproj
p:3rdParty\PxShared\src\compiler\vc14win64\PxFoundation.vcxproj
p:3rdParty\PhysX_3.4\Source\compiler\vc14win64\SimulationController.vcxproj
p:3rdParty\PxShared\src\compiler\vc14win64\PxFoundation.vcxproj

As you can see, "p" still leaves duplicates, and need each time manual disable projects between VS run, but "f"/"d" work as expected!!!
(I left 2 projects from 8 "problem" projects as "p" for testing)

Thank you for your help! ;)

Edited by - fn1186 on Feb 20 2017 3:51:37 PM
Go to Top of Page

fn1186
New Member

7 Posts

Posted - Feb 20 2017 :  3:21:52 PM  Show Profile  Reply with Quote
Actually after some manual editing, it turned out that I need only 3 strings left:

d:3rdParty\PhysX_3.4
d:3rdParty\PxShared
d:3rdParty\gmock

=)

Edited by - fn1186 on Feb 20 2017 3:22:59 PM
Go to Top of Page

fn1186
New Member

7 Posts

Posted - Feb 20 2017 :  3:41:01 PM  Show Profile  Reply with Quote
My only explanation for this is when a .vcxproj is in one folder, include - in another, and sources - in third, and h/cpp is not in same subtree, where vcxproj:

AAA\build\1.vcxproj
2\include\*.h
2\src\*.cpp

, it confuses VA: it removes tags in runtime (I can't see them in VA Hashtags window), "p" is written to config, but on VS startup, VA can't handle this situation, and when I disable them by "p", duplicate "p" is written to config, and VA Hashtag window does not contain this projects (but only till next VS start).
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Feb 20 2017 :  4:45:44 PM  Show Profile  Reply with Quote
Thank you for the update, and I am glad you have found a clear and helpful solution.

I suspect you are right, and in general, it is a reasonable assumption that the files in a project are going to sit in the directories below the project file. Not always the case, but as a rule of thumb, it should work fairly well.

zen is the art of being at one with the two'ness

Edited by - feline on Feb 20 2017 4:51:36 PM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000