Replies: 1 comment 2 replies
-
I'm not able to repro the issue with Object.h struct IDisplayDevice{};
struct Sensor{};
struct IInputDevice{};
struct LCD_800x600 : public IDisplayDevice{};
struct OneButton: public IInputDevice {};
class Object
{
public:
// Sets the display device.
void SetDisplay(IDisplayDevice* display);
// Sets the Flow Sensor.
void SetSensor(Sensor* flow);
// Sets the Input device.
void SetInput(IInputDevice* input);
}; main.cpp #include "Object.h"
int main()
{
Object *object;
object->SetSensor(new Sensor());
object->SetDisplay(new LCD_800x600());
object->SetInput(new OneButton());
} Are you able to repro the issue with those files or can you provide a repro? One thing you could try is to set C_Cpp.intelliSenseCacheSize to 0 in case it's a bug with the IntelliSense caching. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When mousing over the first two methods in "main" the quick info pops up as usual and show the preceding line comment from the header for the method. However, when mousing over the third line it just shows the declaration line. The majority of the quick infos do not show up for the entire source (though worked fine when I checked out last week), I just selected these three since they are declared and used in the same proximity. I have tried reverting to older versions of cpptools to no avail, and even tried the pre-release version. I could not find any quick info settings. How can I restart the Quick Info engine? I have also tried resetting the intellisense db and restarting it.
Object.h
main.cpp
Any help figuring this out would be much appreciated.
-IdleGoose
Beta Was this translation helpful? Give feedback.
All reactions