Wie bekomme ich vollständige Intellisense-Tooltip-Kommentare zum Laufen?
Ich habe eine C ++ / CLI-Software, die alle nett und in einer C # -artigen Art und Weise dokumentiert ist, was bedeutet, dass DOxygen sie in ein nettes HTML ziehen kann. Gibt es eine Möglichkeit, die gleichen Informationen in den Intellisense-Tooltipps anzuzeigen wie das .net-Framework?
Angenommen, dies ist meine Header-Datei (MyApp.h):
/*************** MyApp.h ***************/
/// My namespace containing all my funky classes
namespace MyNamespace
{
using namespace System;
ref class WorldHunger;
/// A truly elegent class which solves all the worlds problems
public ref class MyClass
{
public:
/// Constructs a MyClass
MyClass()
{
}
/// <summary>Attempts to fix world hunger</summary>
/// <param name="problem">The problem to try and fix</param>
/// <returns>Whether or not the problem was solved</param>
bool FixWorldHunger( WorldHunger^ problem );
};
}
... und das ist die entsprechende Implementierung:
/*************** MyApp.cpp ***************/
#include "MyApp.h"
using namespace MyNamespace;
MyClass::MyClass()
{
}
bool MyClass::FixWorldHunger( WorldHunger^ problem )
{
bool result = false;
/// TODO: implement something clever
return result;
}
Folgendes bewirkt Intellisense für eingebaute Funktionen, wenn ich tippe:http://www.geekops.co.uk/photos/0000-00-02%20%28Forum%20images%29/BrokenIntellisense1.jpg
Folgendes bewirkt Intellisense für meine eigenen Funktionen, wenn ich tippe:http://www.geekops.co.uk/photos/0000-00-02%20%28Forum%20images%29/BrokenIntellisense2.jpg
Sicher gibt es einen Weg, dies zu tun?