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
 Feature Requests
 Hide certain VA Hashtags by name
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Adequat
Tomato Guru

182 Posts

Posted - Apr 06 2020 :  03:41:57 AM  Show Profile  Reply with Quote
I have a category of hashtags that are numerous and that I would like to hide from the VA Hashtags window, and only from there.

IOW, I would like to have a kind of regular expression filter, to exclude certain hashtags by name.

My use case is this: I use auto-generated names as hash tags, to navigate between code sections. My pattern is eg. #ref_7O3H2I6
I wish all these hashtags to be active, but no polute the VA Hashtags window.

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Apr 06 2020 :  07:23:10 AM  Show Profile  Reply with Quote
Are new tags generated fairly often, or are they generated fairly slowly?

I am wondering if doing a file search for all of these tags, to generate a sorted unique list of the tags, which could then be written out in one go to the VA "filter these hashtags out of the display" file is a good solution. It should be fairly easy to extract the tags from your code, but if the list of tags is constantly growing this will tend to lag behind.

https://docs.wholetomato.com/default.asp?W574#global

and the file:

$(SOLUTIONDIR)\.va\shared\.vahashtags

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Apr 06 2020 :  2:27:16 PM  Show Profile  Reply with Quote
Another option is to put something like "-ref_" in the filter edit control at the top of the VA Hashtags window.
Go to Top of Page

Adequat
Tomato Guru

182 Posts

Posted - Apr 07 2020 :  04:11:49 AM  Show Profile  Reply with Quote
quote:
Are new tags generated fairly often, or are they generated fairly slowly?


Often created. I use hashtags to create "hyperlinks" in my code, following an idea emitted in the past, there: https://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=16655

Which is, btw, and with hindsight, a very good code commenting help :)

quote:
Another option is to put something like "-ref_" in the filter edit control at the top of the VA Hashtags window


Great. I think this is sufficient.
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