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
 Preview of large data very slow
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

cblessing
New Member

United Kingdom
4 Posts

Posted - Sep 01 2016 :  10:43:35 AM  Show Profile  Reply with Quote
Hi,

In some of our code, we have some generated data that is included in the source code as a massive predefined array:

const unsigned char kIncludedData[48000] =
{
    0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 
    0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F,
    ...
    0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F
};

If we accidentally click on a reference to the symbol
kIncludedData
in our code somewhere, the automatic preview starts being generated (opening a tool-tip style pop up next to the cursor). I'm not sure if this is part of Visual Assist or Intellisense. This appears to parse the array and display its contents. The problem is that this takes ages (up to a minute) during which Visual Studio is unresponsive.

Is there a way to fix this?

Kind regards,
Charles

ChrisG
Whole Tomato Software

USA
299 Posts

Posted - Sep 01 2016 :  7:39:19 PM  Show Profile  Reply with Quote
Hi cblessing,

I think Visual Studio is generating the preview (on mouse hover) you describe.

You can disable the tooltip (called 'quick info') by navigating to the following menu.
(Tools | Options | Text Editor | C/C++ | Advanced)

Then, set 'Auto Quick Info' to False.

Please tell me if that helps your issue.

Edited by - ChrisG on Sep 01 2016 7:40:42 PM
Go to Top of Page

cblessing
New Member

United Kingdom
4 Posts

Posted - Sep 02 2016 :  04:20:09 AM  Show Profile  Reply with Quote
Hi ChrisG,

Thank you for the suggestion - yes that works. It seems a shame to disable it for everything just to fix this one situation though.

Kind regards,
Charles
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