Opened 6 years ago
Last modified 3 years ago
#5410 assigned defect
Properly indent dragged-and-dropped components
Reported by: | Francesco Casella | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Interactive Environment | Version: | |
Keywords: | Cc: |
Description
When dragging and dropping a component in a model, the corresponding declararion should be indented by 2 characters, according to the common custom of hand-written Modelica models
Attachments (2)
Change History (12)
comment:1 by , 6 years ago
Component: | *unknown* → OMEdit |
---|---|
Milestone: | Future → 1.14.0 |
Owner: | changed from | to
comment:2 by , 6 years ago
Status: | new → accepted |
---|
comment:3 by , 6 years ago
Try with the library attached to #5392, drag components from the Components library into a model put in some other package.
by , 6 years ago
comment:4 by , 6 years ago
Component: | OMEdit → Interactive Environment |
---|---|
Owner: | changed from | to
Status: | accepted → assigned |
Another bug in diffModelicaFileListings
.
comment:5 by , 6 years ago
Not a bug. A feature you want. It just does diffs. It doesn't format new code for you :)
by , 6 years ago
Attachment: | indented.mos added |
---|
comment:6 by , 6 years ago
I consider it a feature if it has a constant behavior. It does indent the code in some cases. See attachment:indented.mos
comment:7 by , 5 years ago
Milestone: | 1.14.0 → 1.16.0 |
---|
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0
comment:9 by , 4 years ago
Milestone: | 1.17.0 → 1.18.0 |
---|
Retargeted to 1.18.0 because of 1.17.0 timed release.
I get the expected behavior. Do you have a use case where it is not indented properly?