Bug 172200 - Parameter hint proposals formatted incorrectly
Summary: Parameter hint proposals formatted incorrectly
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.0 M5   Edit
Assignee: Bryan Wilkinson CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-01-30 13:25 EST by Bryan Wilkinson CLA
Modified: 2009-01-09 15:09 EST (History)
0 users

See Also:


Attachments
proposed patch (1.47 KB, patch)
2007-01-30 13:36 EST, Bryan Wilkinson CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Wilkinson CLA 2007-01-30 13:25:20 EST
The proposal popup obtained by pressing CTRL-SHFT-Space between the parentheses of a function call or a function style macro should display its results in the same way that completion proposals are displayed.

Currently, the proposals are formatted like so:

	func_name()

But they should be formatted in the following way:

	image func_name(parameters) return_type
Comment 1 Bryan Wilkinson CLA 2007-01-30 13:36:36 EST
Created attachment 57824 [details]
proposed patch

This patch alters the DOMCompletionContributor to construct context information objects with a different constructor (one that accepts an image).  Also, a different string (the display string for code completion) is passed to the constructor as the context display string.
Comment 2 Anton Leherbauer CLA 2007-01-31 03:35:54 EST
Perfect!
Comment 3 Anton Leherbauer CLA 2007-01-31 03:36:48 EST
Patch applied to HEAD.