Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 16, 2018

Conversation

brettcannon
Copy link
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
Copy link
Contributor

aeschli commented Apr 16, 2018

Thanks @brettcannon !

@brettcannon
Copy link
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