Skip to content

Newline (enter/ctrl+enter) still auto indents. #30872

Closed
@VinceMalone

Description

@VinceMalone
  • VSCode Version: Code 1.14.1 (2648980, 2017-07-13T19:18:47.188Z)
  • OS Version: Windows_NT ia32 10.0.15063
  • Extensions:
Extension Author (truncated) Version
vscode-eslint dba 1.2.11
EditorConfig Edi 0.9.4
tslint eg2 0.16.0
typescript-javascript-grammar ms- 0.0.23

Steps to Reproduce:

"editor.formatOnType": false,
"editor.autoIndent": false
  1. Change lang mode to JavaScript.
  2. Insert into editor:
var x = {

};
  1. Ensure there is no whitespace in the empty line from the code in step 2.
  2. Create a newline from the empty line (enter/ctrl+enter)

Reproduces without extensions: Yes

The expected result, at least historically, is that the new line doesn't auto indent.

Metadata

Metadata

Assignees

Labels

editor-autoindentEditor auto indentation issuesunder-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions