Skip to content

Allow a space between # and region for folding in Python#46885

Merged
aeschli merged 1 commit into
microsoft:masterfrom
brettcannon:patch-1
Apr 16, 2018
Merged

Allow a space between # and region for folding in Python#46885
aeschli merged 1 commit into
microsoft:masterfrom
brettcannon:patch-1

Conversation

@brettcannon

Copy link
Copy Markdown
Member

Automatic formatting inserts a space between the comment marker # and text in the Python extension, so without the allowance for whitespace then "editor.formatOnType": true breaks all region markers.

Closes microsoft/vscode-python#1073 and microsoft/vscode-python#33

Automatic formatting inserts a space between the comment marker `#` and text in the Python extension, so without the allowance for whitespace then `"editor.formatOnType": true` breaks all region markers.

Closes microsoft/vscode-python#1073 and microsoft/vscode-python#33
@aeschli aeschli added this to the April 2018 milestone Mar 29, 2018
@aeschli aeschli merged commit efd3ac4 into microsoft:master Apr 16, 2018
@aeschli

aeschli commented Apr 16, 2018

Copy link
Copy Markdown
Contributor

Thanks @brettcannon !

@brettcannon

Copy link
Copy Markdown
Member Author

@aeschli Welcome! Thanks for helping me close out 2 issues on our own repo. 😄

@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
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.

Formating breaks collapsable regions

2 participants