Menu

#618 Proposed name in refine action

3.5
closed-fixed
5
2018-12-11
2012-05-09
No

In the Event-B Explorer, if I select a component and click the refine action in its context menu (named "Refine" or "Extend"), then a pop-up window appears with a proposed name, which is always the name of the selected component with a "0" appended, even when the component name ends with a number.

When the name ends with a number, I would rather expect the number to be incremented by 1 in the proposed name.

Discussion

  • Nicolas Beauger

    Nicolas Beauger - 2013-04-24
    • Group: 2.5 --> 3.0
     
  • Nicolas Beauger

    Nicolas Beauger - 2013-04-24
    • Group: 3.0 --> 2.8
     
  • Laurent Voisin

    Laurent Voisin - 2013-04-25
    • Group: 2.8 --> 3.0
     
  • Laurent Voisin

    Laurent Voisin - 2018-09-21
    • Group: 3.0 --> 3.5
     
  • Laurent Voisin

    Laurent Voisin - 2018-09-21

    Similarly, if the name starts with a number, then increment that number, but retain possible left padding with zeros. E.g., the name 02-test would produce 03-test

     
  • Son Hoang

    Son Hoang - 2018-09-29

    Just want to mention that we would like to keep the name of the projects and the machines/contexts to be proper identifiers, so that it can be identified with other mechanism, e.g., machine inclusion.

     
  • Laurent Voisin

    Laurent Voisin - 2018-12-11
    • status: open --> closed-fixed
     
  • Laurent Voisin

    Laurent Voisin - 2018-12-11

    Implemented in [f1976a].

     

    Related

    Commit: [f1976a]


Log in to post a comment.