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

haven't auto indent whenever press enter。 #4563

Closed
lfjbb opened this issue Nov 7, 2019 · 7 comments
Closed

haven't auto indent whenever press enter。 #4563

lfjbb opened this issue Nov 7, 2019 · 7 comments

Comments

@lfjbb
Copy link

lfjbb commented Nov 7, 2019

捕获
Type: LanguageService

Describe the bug

  • OS and Version:
  • VS Code Version:
  • C/C++ Extension Version:
  • Other extensions you installed (and if the issue persists after disabling them):
  • A clear and concise description of what the bug is.

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

Additional context

捕获1
捕获

捕获

@michelleangela
Copy link
Contributor

Can you provide an example of when auto indent does not occur when pressing enter? Is it pressing enter after a statement or within function arguments?

Is your auto indent related to #1993 or #883?

@lfjbb
Copy link
Author

lfjbb commented Nov 8, 2019

Can you provide an example of when auto indent does not occur when pressing enter? Is it pressing enter after a statement or within function arguments?

Is your auto indent related to #1993 or #883?

actually , it's does work everywhere and everytime

@michelleangela
Copy link
Contributor

Closing as resolved.

@lfjbb
Copy link
Author

lfjbb commented Nov 8, 2019

Closing as resolved.

is there something wrong with my vscode or don't have this function yet?

@michelleangela
Copy link
Contributor

Hi @lfjbb

I closed the issue as resolved because of the comment:

actually , it's does work everywhere and everytime

From the screenshots you provided, the circled blue line means an edit was done to that line.
image

Sorry if I misunderstood the issue you are reporting. Is the issue about the editor is not doing an auto indent or is the issue about the editor doing an auto indent when it should not?

@michelleangela michelleangela reopened this Nov 8, 2019
@lfjbb
Copy link
Author

lfjbb commented Nov 8, 2019

Hi @lfjbb

I closed the issue as resolved because of the comment:

actually , it's does work everywhere and everytime

From the screenshots you provided, the circled blue line means an edit was done to that line.
image

Sorry if I misunderstood the issue you are reporting. Is the issue about the editor is not doing an auto indent or is the issue about the editor doing an auto indent when it should not?

sorry, there is a typing error
actually , it's doesn't work everywhere and everytime, the editor is not doing an auto indent。
if the editor doing an auto indent. the screenshots should be like this one:
捕获
捕获

@lfjbb
Copy link
Author

lfjbb commented Nov 8, 2019

this problem may cause by a conflict with vsc-python-indent extension. I uninstall that extension. then the "enter" key doesn't work. with the help from microsoft/vscode I sloved the "enter" key problem and uninstall vsc-python-indent extension then everything is fine. but I can't reproduce this problem now.
thanks!!

@lfjbb lfjbb closed this as completed Nov 8, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Oct 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants