Community
Participate
Working Groups
I believe the download of the models is currently triggered the first time I try to use CR. Would be nice to aslo have a button in the preferences to trigger the download. This make it more explicit.
This is something we considered but I didn't found the time to implement this for 1.0. I'll put this on the enhancement list. Patch welcome.
(In reply to comment #1) > This is something we considered but I didn't found the time to implement this > for 1.0. I'll put this on the enhancement list. Patch welcome. Can you say me which plugins are affected for this job? Where is the class who have to be extended?
The code for this is hosted in o.e.recommenders.rcp. The preference page and classes in the package o.e.r.internal.rcp.models would be affected. Note that we have a student assistant working on this API from next week which will change the backend and repository management code completely. These changes are going into 2.0 then.
(In reply to comment #3) > The code for this is hosted in o.e.recommenders.rcp. The preference page and > classes in the package o.e.r.internal.rcp.models would be affected. > > Note that we have a student assistant working on this API from next week > which will change the backend and repository management code completely. > These changes are going into 2.0 then. Hm okay, what that means for me? Wait until the student have made his changes?
(In reply to comment #4) > Hm okay, what that means for me? > Wait until the student have made his changes? That this is not a good candidate for a GSOC ATM ;-)
(In reply to comment #5) > (In reply to comment #4) > > Hm okay, what that means for me? > > Wait until the student have made his changes? > > That this is not a good candidate for a GSOC ATM ;-) Yes sure, I looked for this bug as a first entry to the recommenders code, not as a GSoC project. That means I could provide a patch for this solution before the GSoC starts. Or you have another small interesting bugs?
(In reply to comment #6) > Or you have another small interesting bugs? Snipmatch's current code snippets do not support variables in templates. For example, trigger snipmatch in a method body and enter "file" in the search field. Select a proposal and insert it into your code. You'll notice that the inserted snippet does not support variables as templates usually do. I guess that this is because the last GSOC didn't implement it. How about adding the support for evaluating variables in JFAce templates to Snipmatch? You may find o.e.r.completion.rcp.templates helpful to see how we use the JFace templates to get variable support in our dynamic snippets.
(In reply to comment #7) > Snipmatch's current code snippets do not support variables in templates. For > example, trigger snipmatch in a method body and enter "file" in the search > field. Select a proposal and insert it into your code. You'll notice that > the inserted snippet does not support variables as templates usually do. I > guess that this is because the last GSOC didn't implement it. > > How about adding the support for evaluating variables in JFAce templates to > Snipmatch? You may find o.e.r.completion.rcp.templates helpful to see how we > use the JFace templates to get variable support in our dynamic snippets. Sound good! I will check this out, at the weekend :D
(In reply to comment #7) > Snipmatch's current code snippets do not support variables in templates. For > example, trigger snipmatch in a method body and enter "file" in the search > field. Select a proposal and insert it into your code. I don't get any proposals for the keyword *file*. I have deployed the product from etc (ide.product). Maybe I have to configure some things in the preference?
Let's continue the discussion on the mailing list. This bug has a different purpose :)
I'm fine with the current implementation, I therefore close my bug. Please open a new bug if this is still planned.
Closing.
(In reply to Lars Vogel from comment #0) > I believe the download of the models is currently triggered the first time I > try to use CR. > > Would be nice to aslo have a button in the preferences to trigger the > download. This make it more explicit. FWIW, 2.0 offers the ability to download models from within the models view.
Thanks for the info.