Bug 517254

Summary: Insert type quick fix should know about language keywords
Product: [Modeling] Viatra Reporter: Abel Hegedus <abel.hegedus>
Component: QueryAssignee: Zoltan Ujhelyi <zoltan.ujhelyi>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.6.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows NT   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=492435
https://git.eclipse.org/r/125649
https://git.eclipse.org/c/viatra/org.eclipse.viatra.git/commit/?id=e39f59d8311ff0e631773a1de75357d33ecf67ee
https://git.eclipse.org/r/125669
https://git.eclipse.org/c/viatra/org.eclipse.viatra.git/commit/?id=085baa81d5dc614faf4a4e10451014eba0828d42
Whiteboard:

Description Abel Hegedus CLA 2017-05-25 11:21:27 EDT
If the Insert Java Type quick fix is executed on an EString parameter, it inserts "p: java java.lang.String" which also produces a new error "Keywords of the query language are to be prefixed with the ^ character when used as an identifier" (that also has a quick fix).

It would be great if the quick fix would prefix keywords on insertion already.
Comment 1 Zoltan Ujhelyi CLA 2017-10-04 05:04:26 EDT
Postponing.
Comment 2 Zoltan Ujhelyi CLA 2018-02-08 07:21:15 EST
Postponing to a future release.
Comment 3 Eclipse Genie CLA 2018-07-05 11:32:59 EDT
New Gerrit change created: https://git.eclipse.org/r/125649
Comment 5 Eclipse Genie CLA 2018-07-05 16:36:58 EDT
New Gerrit change created: https://git.eclipse.org/r/125669
Comment 7 Zoltan Ujhelyi CLA 2018-07-06 03:42:43 EDT
Fixed in master and backported to 2.0-maintenance branch. Closing as fixed.