I gave it a new try this morning (on JavaEE M6, Java M6, Luna SR2). Here's
my experience :

(java.util.)List<?> foo = new <Ctrl+Space> => Anonymous List. I expected
ArrayList to be available among all List subtypes. I reckon that's a JDT
issue, but I was expecting/hoping code recommenders would "fix" it OOTB.

(java.util.)List<?> foo = new A<Ctrl+Space> => Now code recommenders adds 2
links during autocompletion :
- enable subword completions
- not the results I expected, discover new extensions (something like that)

so I enabled subword completion. new A<Ctrl+Space> then gave me a huge list
of useless choices. ArrayList showed up after typing ArrayL<Ctrl+Space>.
Not really a time saver.

So I wanted to go back to displaying the "not the results I expected,
discover new plugins " link. I disabled subword completion in the prefs,
but couldn't have that link to be displayed again. Eventually I figured out
I had to go to Code Recommenders preferences and click the link to discover
new extensions.

After guessing the Codetrails crowdsource extension would be a good fit for
me, I installed it, restarted eclipse and tried again.

(java.util.)List<?> foo = new A<Ctrl+Space> => ArrayList first. Yeah! So I
select that and ... doesn't use the diamond operator [1]. That one really
bothers me.

So, from my experience, *if* code recommenders were to be enabled by
default, then it'd need to have :
1 - Codetrails crowdsource extension installed by default
2 - subword completion disabled
3 - [1] fixed before the Mars release

Once all these criteria are met, then that'll make a really awesome
feature.

Just my 2 cents.

Fred

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=435597


On Tue, Mar 31, 2015 at 12:07 PM, Wayne Beaton <wa...@eclipse.org> wrote:

> Greetings folks.
>
> We include code recommenders in a bunch of packages. By default it is
> turned off. I'm of the opinion that--if it is included in the package--it
> should be turned on by default.
>
> Frankly, I see Code Recommenders as a significant competitive advantage
> that we need to leverage. I see no disadvantage to having it turned on.
>
> Am I missing something important?
>
> I prefer that you leave your comments on the bug, but here is okay too.
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=445213
>
> Wayne
> --
> Wayne Beaton
> @waynebeaton
> The Eclipse Foundation
> _______________________________________________
> cross-project-issues-dev mailing list
> cross-project-issues-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
>



-- 
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

Reply via email to