forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-editor-*User-facing catch-allUser-facing catch-allarea-formattingmetaIssue that is tracking an overall projectIssue that is tracking an overall project
Milestone
Description
Causes syntax error:
- formatOnType breaks underscore-separated numbers #1779 - underscore-separated numbers (inserts space)
- formatOnType breaks raw strings #1781 - raw strings (inserts space)
- formatOnType breaks iterable unpacking when the collecting variable leads #1783 - leading collecting var in unpacking (inserts space)
- formatOnType removes space before attribute lookup on numeric literal #1784 - int literal attr lookup (removes space)
- formatOnType breaks *args when it is in the middle of a parameter list #1785 - *args (inserts space) (dupe formatOnType breaks iterable unpacking when the collecting variable leads #1783)
- formatOnType removes spaces between
ifand opening parentheses #1791 - parens in conditional statements (removes spaces) (dupe Format on type with brackets in conditional statements removes empty space #1780)
Incorrect formatting:
- Format on type with brackets in conditional statements removes empty space #1780 - parens in conditional statements (removes spaces)
- formatOnType strips spaces around matrix multiplication #1782 - matmul (removes spaces)
- Format on type removes spaces when we have brackets #1786 - parens around expression (removes spaces) (dupe Format on type with brackets in conditional statements removes empty space #1780?)
- formatOnType strips spacing around
=for comma-trailing statements #1787 - trailing comma (removes spaces) - formatOnType strips space when LHS has a trailing comma #1788 - LHS trailing comma (removes space)
- formatOnType strips space on single item unpacking #1789 - single item unpacking (removes space) (dupe formatOnType strips space when LHS has a trailing comma #1788)
- Format on type adds unnecessary spaces #1790 - unary operator (inserts space)
- formatOnType strips spaces in slices where
:acts like a binary operator #1792 - slice notation (removes spaces) - formatOnType strips spaces around
=when used in type hints #1793 - type hints (removes spaces) - formatOnType add unnecessary spaces in kwargs in split line function #1796 - kw args (inserts spaces)
Metadata
Metadata
Assignees
Labels
area-editor-*User-facing catch-allUser-facing catch-allarea-formattingmetaIssue that is tracking an overall projectIssue that is tracking an overall project