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

[python] Wrong indentation in python files when declaring class #3754

Closed
jsnjack opened this issue Mar 6, 2016 · 2 comments
Closed

[python] Wrong indentation in python files when declaring class #3754

jsnjack opened this issue Mar 6, 2016 · 2 comments
Assignees
Labels
feature-request Request for new features or functionality languages-basic Basic language support issues
Milestone

Comments

@jsnjack
Copy link

jsnjack commented Mar 6, 2016

When declaring class in python files, the next line should has indentation. For example:

  • type class Class:
  • hit Enter
  • the cursor should be on position 4 (for indentation 4 spaces)

On the version 0.10.8 the cursor position is 0

@isidorn isidorn added the feature-request Request for new features or functionality label Mar 7, 2016
@aeschli aeschli added this to the Backlog milestone Mar 7, 2016
@aeschli aeschli added the languages-basic Basic language support issues label Mar 7, 2016
@aeschli aeschli changed the title Wrong indentation in python files when declaring class [rust] Wrong indentation in python files when declaring class Mar 7, 2016
@aeschli aeschli changed the title [rust] Wrong indentation in python files when declaring class [python] Wrong indentation in python files when declaring class Apr 21, 2016
@misja
Copy link

misja commented May 14, 2016

When defining an asynchronous function with the new async syntax the next line doesn't have indentation.

asycnc def hello():
    pass

@aeschli aeschli assigned DonJayamanne and unassigned aeschli Jul 14, 2016
@aeschli
Copy link
Contributor

aeschli commented Jul 14, 2016

Could be done in the VSCode built-in Python extension, but rather something for the full Python support.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality languages-basic Basic language support issues
Projects
None yet
Development

No branches or pull requests

5 participants