Skip to content

formatOnType removes spaces between if and opening parentheses #1791

@brettcannon

Description

@brettcannon
if (this_is_one_thing and that_is_another_thing):
   pass

becomes:

if(this_is_one_thing and that_is_another_thing):
   pass

This breaks syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-formattingbugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions