Bug 465947 - Supporting the :: syntax for type names in the VSM editor
Summary: Supporting the :: syntax for type names in the VSM editor
Status: CLOSED DUPLICATE of bug 507065
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-04-30 10:16 EDT by Cedric Brun CLA
Modified: 2016-11-04 13:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***