Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 5870 - content assist add import, scrolls window
Summary: content assist add import, scrolls window
Status: RESOLVED DUPLICATE of bug 6010
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 major (vote)
Target Milestone: ---   Edit
Assignee: Claude Knaus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 44959 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-11-13 16:13 EST by Howard M. Lewis Ship CLA
Modified: 2005-02-23 03:40 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 Howard M. Lewis Ship CLA 2001-11-13 16:13:43 EST
Often when I use the content assist, it adds an import for me (nice!) but 
scrolls the window so I can't see what I'm typing (not nice!).

The window is re-scrolled when I begin typing again.

Ideally, if the window has to be scrolled, it should try and keep the current 
line (with the carat) visible, as well as the next closing brace (this may be a 
separate issue, but the way Eclipse scrolls the window, I often can't see the 
closing brace of the method I'm in and can end up adding unwanted extra braces).
Comment 1 Dirk Baeumer CLA 2002-01-09 04:58:12 EST
Steps to reproduce:
- create a new CU with a top level type
- insert empty lines in the type's body so that you see a blank editor
- position the cursor on the last visible line
- type \t public void g() { \return
- type File and activate content assist
- choose java.io.File
observe:
  the line containing File disappears
Comment 2 Claude Knaus CLA 2002-02-06 08:53:30 EST
Dirk's case works for me.
Howard's case is a duplicate of 6010.

*** This bug has been marked as a duplicate of 6010 ***
Comment 3 Dani Megert CLA 2005-02-23 03:40:06 EST
*** Bug 44959 has been marked as a duplicate of this bug. ***