Intellisense: Often does not work, reproducable sample 
Author Message
 Intellisense: Often does not work, reproducable sample

Hi,

I *know* that is known that intellisense does not always work. So MS guys,
please work on it...
I suspect that intellisense stops when the level of if .. else.. gets too
deep.

// note: include ole2.h

PROPVARIANT jaddaclass::writePropVariant(Object* clrValue)
{
 PROPVARIANT propval;
 PropVariantInit(&propval);

 if (clrValue == NULL)
  return propval;

 System::Type *myType = clrValue->GetType();
 int cbEl = 0;

 if (myType->IsArray)
 {

  if (myType == __typeof(String*[]))
  {
   String *sdata[] = static_cast<String*[]>(clrValue);
   cbEl = sdata->Length;
   if (useunicode)
   {
    // here we HAVE intellisense
   }
   else
   {
   }
  }
  /* like VT_VECTOR & VT_VARIANT*/
  else if (myType == __typeof(Object*[]))
  {

   propval.vt = VT_VECTOR | VT_VARIANT;
   // here intellisense still WORKS

  }
 }
 else
 {
  if (myType == __typeof(Int32))
  {
  // FROM here to down NO intellisense
  }
  else if (myType == __typeof(Int16))
  {

  }
  else if (myType == __typeof(Int64))
  {
  }
  else if (myType == __typeof(System::Byte))
  {

  }
  else if (myType == __typeof(System::String))
  {
  }

  else if (myType == __typeof(System::DateTime))
  {
  }
  else if (myType == __typeof(System::Drawing::Bitmap))
  {
  }
  else if (myType == __typeof(System::Drawing::Imaging::Metafile))
  {

  }
  else if (myType == __typeof(System::Decimal))
  {

  }
  else if (myType == __typeof(System::Boolean))
  {
  }
  else if (myType == __typeof(System::Double))
  {
  }
  else if (myType == __typeof(System::Single))
  {
  }
  else
  {
  }

 }
 return propval;

Quote:
}



Sun, 19 Jun 2005 18:21:49 GMT  
 Intellisense: Often does not work, reproducable sample


Quote:
> Hi,

> I *know* that is known that intellisense does not always work. So MS guys,
> please work on it...
> I suspect that intellisense stops when the level of if .. else.. gets too
> deep.

> [code snippet]

This is a bug with IntelliSense in VC++ 7.0. It was fixed along with many
other bugs in subsequent releases (currently working in VC++ .NET 2003,
which is in post Beta).

Thanks,
--
Tarek Madkour   ---   Program Manager - Visual C++ IDE Team
This posting is provided "AS IS" with no warranties, and confers no rights.



Tue, 21 Jun 2005 04:51:41 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. C++/ATL/ADO - Intellisense not working (statement completion options) not working

2. IMPORTANT: IntelliSense does not work after __typeof operator

3. IntelliSense Does NOT Work?

4. intellisense not working

5. IntelliSense not working with header file only classes

6. Intellisense does not work any more

7. Intellisense not working

8. ClassView, Wizardbar and Intellisense do NOT work

9. ClassView, Wizardbar and Intellisense do NOT work

10. IMPORTANT: IntelliSense does not work after the __typeof operator

11. ClassView, Wizardbar and Intellisense do NOT work

12. Wizzards often don't work?

 

 
Powered by phpBB® Forum Software