Author |
Topic |
|
daniel.hampe
Junior Member
Germany
21 Posts |
Posted - May 26 2006 : 08:26:45 AM
|
With C++/CLI in VS2005 i am abel to see some documentation in tooltips. For example: if I type the parameters of a method, I get a documentation for the current parameter - the same thing like the c#-editor provides.
But I only get these documerntaion if I disable VAX or if I enable the 'Get the content from default Intellisense' option. I don't want to disable VAX an I don't want to enable the default intellisense, because it let me down all too often ...
It would be cool if VAX could show these documentation, too.
Regards, Daniel |
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - May 27 2006 : 12:45:56 PM
|
can you post a couple of lines of code that will allow me to trigger these documentation tooltips?
the IDE tooltips normally contain less information than the VA tooltips, so it is interesting that you seem to be getting this effect in reverse. |
zen is the art of being at one with the two'ness |
|
|
daniel.hampe
Junior Member
Germany
21 Posts |
Posted - May 30 2006 : 11:25:48 PM
|
1) Create a new project in VS05 (I am using VS05 Pro, German), for example a CLR console app "IntellisenseTest". The Project Assistant should genearate the following code in IntellisenseTest.cpp
- IntellisenseTest.cpp --------------------------------------------
#include "stdafx.h"
using namespace System;
int main(array<System::String ^> ^args) { Console::WriteLine(L"Hello World"); return 0; }
-------------------------------------------------------------------
2) Now disable VAX or enable 'Get the content from default Intellisense' 3) Then place your cursor inside the brackets of WriteLine and call intelisense. 4) Now you should get a description for the overloaded version of WriteLine, you currently are focusing in the overload-list. For example: For void Console::WriteLine(String ^) the following description is displayed:
- Intellisense ToolTip ----------------------------------- 14 of 19 void WriteLine(System::String ^value) Writes the specified string value, followed by the current line terminator, to the standard output stream.
value: The value to write. --------------------------------------------------------
That is exactly the doc from MSDN.
|
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - May 31 2006 : 3:14:02 PM
|
a nice and simple example, thank you. i am seeing the same thing. i wonder where the IDE is getting the comments / documentation from. it is possible that this is "hard coded" into it, i have come across references to this idea before.
the work around for now is to enable "get content from default intellisense"
case=1224 |
zen is the art of being at one with the two'ness |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Sep 20 2010 : 10:15:29 PM
|
case=1224 is fixed in build 1832 |
Whole Tomato Software, Inc. |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Sep 20 2010 : 10:29:36 PM
|
We opened case=49718 for the comment/documentation issue. It is still open.
case=1224 was for parameter names in tooltips. That was fixed in 1832. |
|
|
|
Topic |
|