Bug 62285 - [projection] Java folding usability and UI improvements.
Summary: [projection] Java folding usability and UI improvements.
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-14 11:17 EDT by Eugene Kuleshov CLA
Modified: 2004-07-23 12:06 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Kuleshov CLA 2004-05-14 11:17:27 EDT
Present implementation of the Java folding in Eclipse I20040513 is removing
lines except first and adding some square marker at the end of the line. It is
somehow confusing, because it is not easy to notice that code is folded.

I propose to use the following representation in text:

import:
import ...

javadoc comment:
/** ... */

method:
public void method( String[] args) { ... }

I believe that this way it will be more noticeable.
Comment 1 Joris Verschoor CLA 2004-05-29 07:33:34 EDT
It'd be nice to have folded blocks displayed like:

text { ... } 

so it will stay on one line, instead of:
text
{...
}

I like the work done at http://www.coffee-bytes.com/servlet/ShowEntryForId?id=71
(initial folding prefs)

Although I'm still missing getter/setter folding. That would clean things up a 
lot.
Comment 2 Eugene Kuleshov CLA 2004-07-23 12:06:21 EDT
There were a lot of improvements in
http://www.coffee-bytes.com/servlet/ShowEntryForId?id=78 since last post.
Probably it wouldn't be a bad idea to integrate this code into Eclipse core.