Bug 479632 - aql: completion fails when trying to insert something in the expression
Summary: aql: completion fails when trying to insert something in the expression
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks: 470460
  Show dependency tree
 
Reported: 2015-10-13 04:58 EDT by Laurent Fasani CLA
Modified: 2016-06-07 04:25 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Fasani CLA 2015-10-13 04:58:16 EDT
Scenario:
Let's suppose self is an EObject
* write a simple expression like aql:self.eAllContents().
* put the cursor just after self.
* launch completion(Alt+espace) 
=> issue: the completion only proposes eAllContents() while it should propose all candidates for self

This issue is reproducible, not only for eAllContents(), but for any other methods that completion could proposed.
Comment 1 Yvan Lussaud CLA 2016-06-01 08:57:14 EDT
This behavior has been fixed in
https://git.eclipse.org/r/#/c/59353/

You can profide your own org.eclipse.acceleo.query.runtime.IProposalFilter to customize the way proposals are filtered.
Comment 2 Eclipse Genie CLA 2016-06-01 09:02:45 EDT
New Gerrit change created: https://git.eclipse.org/r/74219
Comment 3 Laurent Redor CLA 2016-06-03 10:40:18 EDT
Thanks for the comment Yvan, we will try this as soon as possible.