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
 VA Hashtag reference
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Adequat
Tomato Guru

182 Posts

Posted - Aug 14 2020 :  03:00:48 AM  Show Profile  Reply with Quote
I use VA Hashtag a lot but miss the following feature:
when a given Hashtag is used in several places, generally one is a "reference point" among all others, hence I wish it could be highlighted as such in both the Hashtag list and in the goto menu.

An example: let's say there is a long code comment to explain some system. I wish various parts of the code to be able to jump easily to that reference comment.

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Aug 14 2020 :  10:34:42 AM  Show Profile  Reply with Quote
Are you aware of cross references for Hashtags? In this situation I would mark the main reference with a cross reference saying "main", so for example:

// main:#ExampleCrossReference
void functionHoldingManySections()
{
	// Alt-Shift-G on the hashtag here lists "references" and "cross-references" as sub-menus of hashtags
	// #ExampleCrossReference

	// #ExampleCrossReference

	// #ExampleCrossReference
}

this makes sure that it gets listed separately, so you can easily identify it, and jump to it from any of the other instances of the hashtag.

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

Adequat
Tomato Guru

182 Posts

Posted - Aug 14 2020 :  2:05:26 PM  Show Profile  Reply with Quote
Thanks, I was not aware of this (https://docs.wholetomato.com/default.asp?W574#cross)
Not 100% what I imagined but probably good enough.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18751 Posts

Posted - Aug 15 2020 :  10:38:13 AM  Show Profile  Reply with Quote
The syntax looks a little odd the first time you see it, but without doing something similar, I am not actually sure how we would mark a single instance of the hashtag as the "main" instance.

zen is the art of being at one with the two'ness
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