Bug 331390 - [content assist] pressing ')' should exit auto-completion
Summary: [content assist] pressing ')' should exit auto-completion
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-29 23:38 EST by SRS CLA
Modified: 2024-03-31 19:04 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 SRS CLA 2010-11-29 23:38:16 EST
Build Identifier: M20100211-1343

This does not happen if you type fast enough to prevent the auto-complete box from opening:

While editing a class with the java editor, trying to type a Color like Color.BLUE leads to the cursor failing to stay at the end of the line.

Reproducible: Always

Steps to Reproduce:
1. Open a class in the java editor
2.import java.awt.Color;
3.assuming you can set the background color:  type setBackgroundColor(Color.BL
4.wait for auto complete to open
5.continue typing the following:  UE);
5.notice the cursor remains to the left side of the semicolon, pressing enter moves it to the next line
5.I expect the cursor to advance to after the semicolon as you type it
Comment 1 Dani Megert CLA 2010-11-30 06:03:52 EST
Simpler test case:
1. paste this:
public class Test {
	void set(Test testme) {
		set
	}
}
2. after set type "(test"
   ==> set(test<caret>)
3. Ctrl+Space
4. type "me);"
   ==> BUG: set(testme)<caret>;
Comment 2 Eclipse Genie CLA 2020-04-19 01:04:31 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Dani Megert CLA 2020-04-19 06:55:07 EDT
Still an issue.
Comment 4 Eclipse Genie CLA 2022-04-10 08:31:58 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Eclipse Genie CLA 2024-03-31 19:04:31 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.