Bug 511483 - [codege] indentation of generated user code lost
Summary: [codege] indentation of generated user code lost
Status: ASSIGNED
Alias: None
Product: Papyrus-rt
Classification: Modeling
Component: codegen (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 normal
Target Milestone: Future   Edit
Assignee: Ernesto Posse CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-01 11:40 EST by Ernesto Posse CLA
Modified: 2017-06-12 10:07 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernesto Posse CLA 2017-02-01 11:40:15 EST
Indentation of user code specified in entry, exit and transition actions as well as guards is not preserved by code generation.

This has as side-effect that when synchronization with code in a CDT editor is performed, the code that is brought-back into the model doesn't have the user's original indentation.
Comment 1 Young-Soo Roh CLA 2017-02-10 09:03:57 EST
Once this is fixed we need to update source code sync feature so that we can property handle spaces added from the source code.