Bug 84675 - [rendering] JavaElementLabelProvider could support compressed wildcards
Summary: [rendering] JavaElementLabelProvider could support compressed wildcards
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-08 09:04 EST by Tom Hofmann CLA
Modified: 2009-01-23 11:32 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Hofmann CLA 2005-02-08 09:04:35 EST
I20050202

The Java (quick) outline, content assist etc. become quite cluttered for generic
types, since many method lables contain wildcards rendered as "? extends Type"
and "? super Type". 

We should have a user-controllable preference to use condensed wildcards using
'+' and '-' along the lines of what signatures look like. Example for a
Collection<String>:

addAll(int i, Collection(+String)) void

instead of:

addAll(int i, Collection(? extends String)) void
Comment 1 Dirk Baeumer CLA 2005-02-10 13:46:42 EST
Nice idea.

Martin, as discussed I am assigning the PR to you.
Comment 2 Martin Aeschlimann CLA 2005-05-22 16:46:57 EDT
Dirk, should we still do that? I would leave thing as they are as we are most
likly going to miss some places.
Comment 3 Dirk Baeumer CLA 2005-05-23 07:10:45 EDT
OK to deferr for 3.2. But I still like the idea so we should keep the request open.
Comment 4 Martin Aeschlimann CLA 2005-05-24 13:08:26 EDT
defered
Comment 5 Tom Hofmann CLA 2005-09-26 10:58:15 EDT
reopen after 3.2?
Comment 6 Martin Aeschlimann CLA 2005-09-26 11:16:17 EDT
I move it to Dirk to make the call. I wouldn't introduce the new notation,
unless this is already some established standard. 
Comment 7 Dirk Baeumer CLA 2006-04-05 11:02:00 EDT
I still like the idea since it makes the code more compact. May be it can be an option in the apperance preference page.

Moving back to Martin. I will definitelly not have the time to look at this.