Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 465947

Summary: Supporting the :: syntax for type names in the VSM editor
Product: [Modeling] Sirius Reporter: Cedric Brun <cedric.brun>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: maxime.porhel
Version: unspecifiedKeywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Cedric Brun CLA 2015-04-30 10:16:57 EDT
A TypeName (in domain class attribute for instance) is either :
SomeType
or 
thepackagename.SomeType

this syntax (using the dot as a separator) is historical and comes from the legacy query language  (aka Acceleo2).  

The thing is, more recent query interpreters are all using a different syntax :
thepackagename::SomeType

This makes the whole experience slightly confusing, switching from an interpreted expression to a type name I surprised myself writting the "::" syntax and then figuring out "oh no, I should use the dot here".

It's probably worthwile to explore how we could move away from the "." syntax in order to provide a consistent user experience for the specifier.

Of course the most critical aspect here is to bring this change in regard to the many VSM's which are out there : should we migrate it at the XMI level ? should we support both but provide "::" as code assist ? And yes, that would have a fairly big impacts on tutorials and documentation too, if we want to go this way we might want to do that while we update everything regarding to AQL.
Comment 1 Cedric Brun CLA 2016-11-04 13:07:47 EDT

*** This bug has been marked as a duplicate of bug 507065 ***