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

Line after braceless if statement doesn't auto-indent #41702

Closed
mccreeker opened this issue Jan 16, 2018 · 2 comments
Closed

Line after braceless if statement doesn't auto-indent #41702

mccreeker opened this issue Jan 16, 2018 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-autoindent Editor auto indentation issues feature-request Request for new features or functionality

Comments

@mccreeker
Copy link

  • VSCode Version: 1.19.1
  • OS Version: Win10

Steps to Reproduce:

  1. If I type a valid if statement (in PHP for example) without an opening brace then hit Enter, the cursor doesn't further indent the next line like in other editors.
  2. It just puts the cursor right below the beginning of the if indent, indicating it's a new line completely unrelated to its if statement.

image

Does this issue occur when all extensions are disabled?: Yes

@vscodebot vscodebot bot added editor editor-autoindent Editor auto indentation issues labels Jan 16, 2018
@rebornix rebornix added the bug Issue identified by VS Code Team member as probable bug label Sep 5, 2018
@rebornix rebornix added feature-request Request for new features or functionality and removed bug Issue identified by VS Code Team member as probable bug labels Sep 19, 2018
@rebornix
Copy link
Member

Duplicate of #43244, let's track it here.

@rebornix rebornix added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 19, 2018
@vscodebot
Copy link

vscodebot bot commented Sep 19, 2018

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Sep 19, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-autoindent Editor auto indentation issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants