Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preference to select/deselect C Base Style formatting #64

Open
3 tasks
kdauer opened this issue May 12, 2022 · 0 comments
Open
3 tasks

Preference to select/deselect C Base Style formatting #64

kdauer opened this issue May 12, 2022 · 0 comments
Labels
story 📚 User stories are short, simple descriptions of a feature.

Comments

@kdauer
Copy link
Contributor

kdauer commented May 12, 2022

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
@kdauer kdauer added the story 📚 User stories are short, simple descriptions of a feature. label May 12, 2022
@kdauer kdauer added this to the Sprint: Jun 1 - Jun 15, 2022 milestone Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
story 📚 User stories are short, simple descriptions of a feature.
Projects
None yet
Development

No branches or pull requests

1 participant