Bug 537873 - Add option to change content assist insert key
Summary: Add option to change content assist insert key
Status: CLOSED DUPLICATE of bug 348857
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.9   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui, usability
Depends on:
Blocks:
 
Reported: 2018-08-11 14:53 EDT by bob ross CLA
Modified: 2018-09-10 19:48 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 bob ross CLA 2018-08-11 14:53:45 EDT
In order to make the Content Assist appear all the time (as per this stackoverflow question: https://stackoverflow.com/questions/19449175), I changed the "Auto activation triggers" for Content Assist to ".abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"

Now, it works as I wanted. The only problem is that if I press space while there is a content-assist suggestion, the suggestion is inserted, even though I wanted to insert a space, not the code suggestion.

I think that for this reason, there should be an setting to make it so that only the enter key inserts the code suggestion.
Comment 2 bob ross CLA 2018-08-29 08:19:56 EDT
I found some more stackoverflow posts. Quite a few people have also had this issue.
https://stackoverflow.com/questions/17605855
https://stackoverflow.com/questions/6698722
https://stackoverflow.com/questions/14297735
https://stackoverflow.com/questions/7759855
Comment 3 bob ross CLA 2018-08-29 08:37:07 EDT
I just found bug 348857. From reading through it, I got the impression that a lot of people wanted an option to only insert suggestions on 'enter', and it seemed like some people were interested in fixing it, but it was never solved. Autocomplete is a feature you want to work intuitively and flawlessly in any modern IDE. This is the case in IntelliJ IDEA and so it's currently a very convincing reason to switch...
Comment 4 Stephan Herrmann CLA 2018-09-06 06:55:48 EDT
Explaining why I marked this as "enhancement" request: there is no bug here, no specification that is violated by the implementation, simply the wish that an additional option be added enabling an alternative behavior.

If you want to raise visibility you may vote for this issue.

See also https://www.eclipse.org/forums/index.php/t/1094977/
Comment 5 bob ross CLA 2018-09-10 19:48:47 EDT

*** This bug has been marked as a duplicate of bug 348857 ***