Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Preview of large data very slow

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
cblessing Posted - Sep 01 2016 : 10:43:35 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
cblessing Posted - Sep 02 2016 : 04:20:09 AM
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
ChrisG Posted - Sep 01 2016 : 7:39:19 PM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000