Bug 479632

Summary: aql: completion fails when trying to insert something in the expression
Product: [Modeling] Sirius Reporter: Laurent Fasani <laurent.fasani>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: laurent.redor, pierre-charles.david, yvan.lussaud
Version: 3.0.0Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/74219
https://git.eclipse.org/c/acceleo/org.eclipse.acceleo.git/commit/?id=8326b2ac9b5c00be9654d0910b08b7c5aa2e347c
Whiteboard:
Bug Depends on:    
Bug Blocks: 470460    

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.