Bug 290353 - [content assist] want smarter carriage return handling in code completion
Summary: [content assist] want smarter carriage return handling in code completion
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-24 00:14 EDT by pengcheng CLA
Modified: 2009-09-24 10:29 EDT (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 pengcheng CLA 2009-09-24 00:14:03 EDT
Have defined this method:
        TreeItem addImageItem(TreeItem root, String title, AbstractImagePrototype imageProto)
and want to use it:
        addImageItem(root, "Inbox", images.inbox());
1. type:  addImageItem(
    get:  addImageItem()
2. type:  addImageItem(root, ")
    get:  addImageItem(root, "<cursor here>")
3. type:  Inbox
    then carriage return
    get:  addImageItem(root, "Inbox")<cursor here>
    or sometimes get:  addImageItem(root, "Inbox"<cursor here>)
    
    WANT:  addImageItem(root, "Inbox"<cursor here>)
    WANT if then carriage return again, get:
                 addImageItem(root, "Inbox")<cursor here>
                 
4. continue:  addImageItem(root, "Inbox", images.<cursor here>)
    select "inbox()" from the code completion list
    then carriage return
    get:  addImageItem(root, "Inbox", images.inbox()<cursor here>)
    then carriage return again
    get:  addImageItem(root, "Inbox", images.inbox()<line break>
				<cursor here>)
	
	WANT:  addImageItem(root, "Inbox", images.inbox())<cursor here>
    
That might make typing using a notebook keyboard more efficient & enjoyable. Thanks.