[jbosstools-issues] [JBoss JIRA] (JBDS-3553) Integrate/Enable CodeRecommenders substring completion in JBDS
Alexey Kazakov (JIRA)
issues at jboss.org
Mon Oct 26 16:03:00 EDT 2015
[ https://issues.jboss.org/browse/JBDS-3553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122113#comment-13122113 ]
Alexey Kazakov commented on JBDS-3553:
--------------------------------------
> substring completion is just one of many, right?
> Can someone outline the features we get beyond it ?
Yes. There are:
- % of most used calls for: Call Completion, Constructor Completion, Override Completion
- Subtypes Completion (disabled by default)
- Subwords Completion
- Chain Completion (e.g. getA().foo().setB().doSomeOtherStuff() etc.)
- Adaptive Template Completion (inserts group of methods)
- Mylyn Completion
The full list of features is here: https://www.eclipse.org/recommenders/manual/
> last I checked the big feature of code recommenders was about showing the % of the likelihood of a completion being relevant for a given situation - afaik that only works for SWT/Eclipse platform code. Not for Java/JavaEE in general. Can anyone confirm ?
That's true. Afaik you have to provide your own remote model if you want to extend it. For example Mars by default includes http://download.eclipse.org/recommenders/models/mars only. It's mostly about SWT stuff only.
> The coderecommenders rely on a remote DB to be updated and I believe thre might also be data sent to coderecommenders or eclipse - is that part of the default code recommender suggested here ? if yes, how does that affect our online/offline story (if at all) ?
Afaik Eclipse downloads the models listed in the model repositories view. So you probably should be online to download them. Don't know if you can pre-download them and include in the installation and use them as a cache.
> Integrate/Enable CodeRecommenders substring completion in JBDS
> --------------------------------------------------------------
>
> Key: JBDS-3553
> URL: https://issues.jboss.org/browse/JBDS-3553
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Feature Request
> Components: p2-product
> Reporter: Mickael Istria
> Assignee: Mickael Istria
> Fix For: 9.0.1.Beta1
>
>
> Eclipse Mars release are shipped with CodeRecommenders enabled so that Java developers can benefit from substring completion and many others: https://www.eclipse.org/recommenders/manual/
> JBDS doesn't have it enabled by default when installing from installer. Since it provides a lot of value for Java developers, it should be on by default.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list