Bug 479752 - Improve feature:, service: and var: code completion
Summary: Improve feature:, service: and var: code completion
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 2.0.5   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on: 477963 475131
Blocks: 542859
  Show dependency tree
 
Reported: 2015-10-14 09:24 EDT by Maxime Porhel CLA
Modified: 2018-12-17 11:28 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Porhel CLA 2015-10-14 09:24:34 EDT
See improvements done in Bug 475131 for AQL code completion. 

Steps to reproduce:

- open the interpreter and select a model element with a structural feature named "name".
- type "[self.na/]" and put your cursor between the "a" and the "/"
- call the code completion and select "name"
- the result will be [self.name\] as expected
- now replace the expression with "feature:na"
- put your cursor after the "a" and select "name" in the code completion
- the result will be "feature:naname" (the existing part of the expression has not been replaced)

- now replace the expression with "feature:econ"
- call the completion: KO there is no completion as it expect the feature to start with "eCon" -> the proposal start analysis should not be case sensitive.

Note: eContainer, eContents, eAllContents... should be proposed event if the specifier started to type ECON, eCO, econ, ...

Note that this enhancement should also impact var: and service: