Bug 538815 - [Content assist] configure validation trigger chars
Summary: [Content assist] configure validation trigger chars
Status: CLOSED DUPLICATE of bug 348857
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-07 19:07 EDT by Mickael Istria CLA
Modified: 2018-09-08 08:39 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 Mickael Istria CLA 2018-09-07 19:07:45 EDT
I'm using content assist with about all chars as trigger chars to not have to use Ctrl+Space. However, I indentified that some chars (most notably to me: Space) do validate the current proposal while it's not really suitable with my workflow.
JDT should offer ability to configure validation character (and ideally recommend  some validation triggers according to enablement triggers) to allow better workflows.
Comment 1 Stephan Herrmann CLA 2018-09-08 07:23:08 EDT
Indeed many people seem to be unhappy about how content assist is triggered.

I believe a first start at solving this would be a clear definition of what we mean by "trigger".

(1) How is computation of proposals triggered?

(2) How is selection/insertion of a proposal triggered?

In my experience the main confusion is caused when the same keystroke triggers both (2) and (1) at the same time.

You seem to be proposing a third question concerning validation, but I'm having difficulties mapping that to the current implementation. Can you explain what you mean by validation?

Or is your request actually a duplicate of bug 348857?
Comment 2 Mickael Istria CLA 2018-09-08 07:57:21 EDT
In this ticket, I'm focusing on 2. how proposal selection/insertion is triggered. Currently, it seems like there is no way to customise it and that's missing.

Sorry for using the term 'validate'. It's erroneous in this context. FYI 'validate' can often be used as a synonymous for 'select' or 'apply' or 'confirm' in Freanch language, so I used it like this but it translate to something totally different in this context.
I don't see any particular issue with validation as we know it.
Comment 3 Stephan Herrmann CLA 2018-09-08 08:39:58 EDT
(In reply to Mickael Istria from comment #2)
> In this ticket, I'm focusing on 2. how proposal selection/insertion is
> triggered. Currently, it seems like there is no way to customise it and
> that's missing.
> 
> Sorry for using the term 'validate'. It's erroneous in this context. FYI
> 'validate' can often be used as a synonymous for 'select' or 'apply' or
> 'confirm' in Freanch language, so I used it like this but it translate to
> something totally different in this context.
> I don't see any particular issue with validation as we know it.

Thanks for confirming.

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