[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.cdt] Context Information in CDT 5.0.2: Default values for methods calls

Hello.

I'm wondering if it is possible in Eclipse 3.4/CDT 5.0.2 to display Context Information tooltips (ones that are displayed when Shift+Ctrl+Space get pressed) with full method/function prototypes, including default values for some of the parameters?

I mean, that if somewhere beneath the code I've got something like this:

..
static wxFont *New(const wxSize& pixelSize,
                  wxFontFamily family,
                  int flags = wxFONTFLAG_DEFAULT,
                  const wxString& face = wxEmptyString,
                  wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
..

Then I want to get context information tooltip like:

"const wxSize& pixelSize, wxFontFamily family, [int flags = wxFONTFLAG_DEFAULT], [const wxString& face = wxEmptyString], [wxFontEncoding encoding = wxFONTENCODING_DEFAULT]",

instead of:

"const wxSize& pixelSize, wxFontFamily family, int flags, const wxString& face, wxFontEncoding encoding".

Is it possible with current CDT codebase? If it is possible, then what should I do to enable such behavior?

Thanks in advance!

---
Best Regards,
Alexey Loukianov
System Engineer
*nix Specialist