Skip to content

Fixed "else" Autoformat issue #364#1713

Merged
benfry merged 1 commit into
processing:masterfrom
pif:master
Apr 11, 2013
Merged

Fixed "else" Autoformat issue #364#1713
benfry merged 1 commit into
processing:masterfrom
pif:master

Conversation

@pif

@pif pif commented Apr 3, 2013

Copy link
Copy Markdown

I've read a Project List page. "Else"-autoformat is one of the most-improtant ones.

This commit fixes #364.
"else" statements are correctly formatted.

Autoformat Before:

  if(i%20 == 0) {
    println("hello world 1");
  } 
  else {
    println("hello world 2");
  }

Autoformat After:

  if (i%20 == 0) {
    println("hello world 1");
  } else {
    println("hello world 2");
  }

benfry added a commit that referenced this pull request Apr 11, 2013
Fixed "else" Autoformat issue #364
@benfry benfry merged commit d96c750 into processing:master Apr 11, 2013
@benfry

benfry commented Apr 11, 2013

Copy link
Copy Markdown
Contributor

Awesome! Thanks so much.

@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto Format: "if-else" block formatting doesn't follow Processing conventions

2 participants