Skip to content

Preference to select/deselect C Base Style formatting #64

@kdauer

Description

@kdauer

Problem to solve

As Squeak Developer, I want select wether to format my code in C Base Style or not so that I can choose between formatting styles.

Further details

relates to #54
and #21

C Base style would look like this:

/* Original pre-ISO C style without function prototypes */
int main(argc, argv)
    int   argc;
    char  *argv[];
{
    ...
}

C Base style in smalltalk would look like this:

^ {
    4.
    5.
    6.
   }

"normal" style would be:

[a
self b]

Acceptance Criteria

  • Biased on one styling option I want to choose my favoured one. Given a preference selector, when C Base Styilng is selected/deselcted, then Poppyprint styles in the selected/deselected matter
  • If C Base style is selected Poppyprint formats like Code Example 1 above
  • If C Base Style is not selected Poppyprint formats like Code Example 2 above

Metadata

Metadata

Assignees

No one assigned

    Labels

    story 📚User stories are short, simple descriptions of a feature.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions