[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ide-dev] Auto content assist

The issue is not whether to use a workaround or not - it's quite easy to add a preference that auto-invokes completion with any keypress.

The foremost issue is what Mickael Istria mentioned: the completion API needs to be adapted to work in asynchronous mode, instead of in the UI thread. Otherwise, enabling auto-invocation of completion is almost certain to be a grief to the user.

On 21 April 2017 at 16:42, Daniel Megert <daniel_megert@xxxxxxxxxx> wrote:
There's no need for a regex or adding more complexity. Entering the characters is just a current hack/workaround. What we would have to add is support to support auto-completion at any position after the specified delay.

Dani



From: Â Â Â Â"Eric Moffatt" <emoffatt@xxxxxxxxxx>
To: Â Â Â Âide-dev@xxxxxxxxxxx
Date: Â Â Â Â21.04.2017 17:39
Subject: Â Â Â ÂRe: [ide-dev] Auto content assist
Sent by: Â Â Â Âide-dev-bounces@xxxxxxxxxxx




Good point....would an exclusion string or RegExp work ?
Â
Perhaps it's irrelevant; the concept of content assist 'trigger' sounds like it's language specific (in more ways than one...;-). Is there an LSP concept for this ? To get the best experience we need to have as much context as possible to filter / rank the results (things like whether the editor is expecting a field, methods with different args...).
Â
Just for my interest do you know how close preference change approach comes to mimicking IJ ?
Â
Eric
Â
----- Original message -----
From: Doug Schaefer <dschaefer@xxxxxxxxxxxxxx>
Sent by: ide-dev-bounces@xxxxxxxxxxx
To: Discussions about the IDE <ide-dev@xxxxxxxxxxx>
Cc:
Subject: Re: [ide-dev] Auto content assist
Date: Fri, Apr 21, 2017 10:54 AM

What if Iâm using Unicode characters in my identifiers, do I have to enter all 32000? Sorry, that workaround is a bit silly. And it sounds like there are a lot of issues to solve before we even get there anyway.
Â
Doug
Â
From: <ide-dev-bounces@xxxxxxxxxxx> on behalf of Eric Moffatt <emoffatt@xxxxxxxxxx>
Reply-To:
Discussions about the IDE <
ide-dev@xxxxxxxxxxx>
Date:
Friday, April 21, 2017 at 10:20 AM
To:
"
ide-dev@xxxxxxxxxxx" <ide-dev@xxxxxxxxxxx>
Subject:
Re: [ide-dev] Auto content assist

Â
For at least some editors (java) this can be controlled through preferences...Preferences->Java->Editor->content assist has a value called 'Auto-activation triggers for java'. it's defaults to '.' but if you change it to 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.' then it'll always invoke content assist (much closer to the IJ feel).
Â
Onwards,
Eric
Â
Â
----- Original message -----
From: Mickael Istria <
mistria@xxxxxxxxxx>
Sent by:
ide-dev-bounces@xxxxxxxxxxx
To:
ide-dev@xxxxxxxxxxx
Cc:
Subject: Re: [ide-dev] Auto content assist
Date: Fri, Apr 21, 2017 6:18 AM

On 04/21/2017 04:25 AM, Doug Schaefer wrote:
Then I switched back to Eclipse to do some CDT work and typed the beginning of an identifier and expected content assist to just pop up. I forgot that I had to ask the editor to pop it up for me. Auto content assist is one of those features that once you start using it just becomes natural.
It's also a reason why some people do prefer IJ for Java development. Auto content-assist is a must-have nowadays.
--
Mickael Istria
Eclipse developer for
Red Hat Developers
My blog - My Tweets
_______________________________________________
ide-dev mailing list

ide-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/ide-dev
Â
_______________________________________________
ide-dev mailing list
ide-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/ide-dev
Â
_______________________________________________
ide-dev mailing list
ide-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ide-dev



_______________________________________________
ide-dev mailing list
ide-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ide-dev



--
Bruno Medeiros
https://twitter.com/brunodomedeiros