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
 Goto comment symbols
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

foxmuldr
Tomato Guru

USA
412 Posts

Posted - Jul 23 2015 :  05:54:50 AM  Show Profile  Reply with Quote
Consider:

// In a header file:
const int _TYPE1 = 1;   // Should use algorithm 1
const int _TYPE2 = 2;   // Should use algorithm 2

// Somewhere else in code:
struct SWhatever
{
    int type;   // Refers to _TYPE1 or _TYPE2 constant
};


If you position your caret on _TYPE1 in "// Refer to _TYPE1..." and press alt+g, it will not go that symbol.

Is this feature available somehow already?

If not, can this be added so that no matter where the caret is, even if it's in a comment, it will attempt to go to the symbol beneath the caret when using alt+g?

Best regards,
Rick C. Hodgin

Edited by - foxmuldr on Jul 23 2015 05:56:51 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 01 2015 :  10:35:39 AM  Show Profile  Reply with Quote
It should already work. I have just tried and it works with your sample code.

Can you please create a clean new win32 test project and paste your source code there to see if alt+g works on the comment?

Edited by - accord on Aug 01 2015 10:36:27 AM
Go to Top of Page

foxmuldr
Tomato Guru

USA
412 Posts

Posted - Aug 03 2015 :  7:53:25 PM  Show Profile  Reply with Quote
quote:
Originally posted by accord

It should already work. I have just tried and it works with your sample code.

Can you please create a clean new win32 test project and paste your source code there to see if alt+g works on the comment?



Quite correct! When I posted that example, the code I was basing it on did not work in my project. I have since rebuilt my project's database, so maybe it was an issue that was corrected.

Best regards,
Rick C. Hodgin
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