| Summary: | The "Problem During Content Assist" dialog pops up whenever contents assist is invoked. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Antonel Ernest Pazargic <antonel.pazargic> | ||||
| Component: | Recommenders | Assignee: | Marcel Bruch <marcel.bruch> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | stefan.henss | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Antonel Ernest Pazargic
*** Bug 338613 has been marked as a duplicate of this bug. *** We failed to reproduce this on mac32/64 and win64. Could you provide some additional information? If you could attache an example code snippet or even better and an example project this may enable us to reproduce. However, to eliminate these popups we added an additional catch clause to clearEvidence(). At least the popup should be gone now. This emergency fix is available on the update site. Thanks for reporting thanks for helping us to hunt this bug down. Marcel Unfortunately I didn't managed to reproduce it again. Yesterday I've been playing with Content Assist preferences in order to address the issue, and I've been managed to get rid of the error pop-up by opt-out Code Recommenders Proposal. But also I've been playing with other recommenders content assist options, in terms of activating some of them in default section and others in cycling content assist section. To make the long story short I can tell you that checking back the Code Recommenders Proposal option doesn't lead to the error popup issue. I think I should use a clean workspace (and without importing my useful preferences, which BTW could contain a certain content assist preferences). I will keep an eye on this useful project. I really like the the new template feature (I remember that once I've been hand-crafting a lot of useful templates starting from SWT once. It was very time consuming but I really need those templates). I will put a useful comment (with reproducible steps, installation details and .log) as soon as I manage to reproduce the issue. Hi Antonel, ok. I will close this bug until we are able to reproduce it. Just reopen it if it pops up again. May I ask you a few questions regarding your needs for the templates engine? 1. You say you handcrafted a lot of them. Would you mind sharing them with us for research purpose? They could provide us some insights what kind of templates developers are using, and thus may allow us to design the template engine more properly according to your/a developer's need. 2. What would be needed so that you wouldn't deinstall code recommenders? :-) The aim of this question is to figure out what features we should concentrate on most for next two releases. 3. There is one team member that will continue work on template completion engine. So far we planned to design a "community template store" that enables developers to search and share such code templates easily. This store then would be a mixture of mined and hand-crafted templates and tightly integrated into code completion. How do you feel? Would _you_ share some of your code snippets with the community if sharing would be pretty simple? Or do you have any concerns about this? The aim of this questions is to figure out whether we should rely on mined templates only of provide means for sharing them from your IDE. Thanks, Marcel Hi Marcel. I will try to give short answers in order to not pollute this issue with irrelevant comments. So please see my inlined comments. Also if there is an issue (or more) where we could make suggestions and add wish-list please let me know. Regards, jtonic May I ask you a few questions regarding your needs for the templates engine? 1. You say you handcrafted a lot of them. Would you mind sharing them with us for research purpose? They could provide us some insights what kind of templates developers are using, and thus may allow us to design the template engine more properly according to your/a developer's need. jtonic >> See the attachment some_templates.zip. They are pretty specialized (ANTLR and JOBS related). Note: It seems that, in order to use some public API, the developer needs to read javadoc/tutorials and then author the client code. And sometimes this involves a significant bunch of types and methods + a certain calls order). Many times I'm asking myself where do I wrote a correct piece of APi client code, and then dive into my old code and/or Eclipse code, in order to find it and use it again. That's why I was flooded with relief as I've heard the EC Recomenders latest release announcement (TEMPLATE). 2. What would be needed so that you wouldn't deinstall code recommenders? :-) The aim of this question is to figure out what features we should concentrate on most for next two releases. jtonic >> a. I really would like Code Recommenders not degrade the overall eclipse performance (taken into account that content assist is one of the most used eclipse functionality. And also there is a builder involved); b. I really like to easily create a template from previous authored code; c. I would like to let user be in control. IMO is it frustrating to have a content assist polluted with tens (maybe hundreds) of useless proposals; d. Innovations ;) 3. There is one team member that will continue work on template completion engine. So far we planned to design a "community template store" that enables developers to search and share such code templates easily. This store then would be a mixture of mined and hand-crafted templates and tightly integrated into code completion. How do you feel? Would _you_ share some of your code snippets with the community if sharing would be pretty simple? Or do you have any concerns about this? The aim of this questions is to figure out whether we should rely on mined templates only of provide means for sharing them from your IDE. jtonic >> I like the "community template store" idea. I didn't develop with IntelliJ Idea for a long time, but if I remember right they provide a good template authoring support. It seems that Eclipse doesn't provide a powerful template authoring support. :( Thanks, Marcel Created attachment 190221 [details]
Some handcrafted templates
In order to simplify the repeated use of some ANTLR and Eclipse Jobs client APIs I've been handcrafted some templates, starting from SWT ones. See the attachment (which encompasses some exported templates).
It would be nice if authoring TEMPLATES will become much easier. :)
|