Add one indentation level inside a code block

Bug #1604570 reported by Zisu Andrei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scratch
New
Undecided
Unassigned

Bug Description

If my code is:

  if (something) {
  }

If my cursor is at the end of the first line (after the bracket) and I press enter, Scratch sets my cursor at the beginning of the next line, at the same indentation level as the if statement.

Expected: Scratch takes me the next line, but adds an extra indentation level.

Revision history for this message
Zisu Andrei (matzipan) wrote :

This should also include the behavior of reducing the indentation level when a code block is closed (ie when enter is pressed after a "}" character)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.