Skip to content

body and head tag not indenting #119323

@nxsmcaspani

Description

@nxsmcaspani

Issue Type: Bug

Hello,

Despite having enabled the option to indent head & body html tags, every time I save a file, the indent is removed. I have also disabled the option to check syntax on save, so I don't know why it behaves, seems like a bug for that preference ?

Thank you

VS Code version: Code 1.54.3 (2b9aebd, 2021-03-15T10:55:45.459Z)
OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz (8 x 3998)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.94GB (6.84GB free)
Process Argv --crash-reporter-id 398a21a0-a39a-4585-a734-5372f9f149b1
Screen Reader no
VM 0%
Extensions (16)
Extension Author (truncated) Version
html-snippets abu 0.2.1
vscode-eslint dba 2.1.19
vscode-html-css ecm 1.10.2
php-debug fel 1.14.9
php-intellisense fel 2.3.14
php-pack fel 1.0.2
vscode-JS-CSS-HTML-formatter lon 0.2.3
python ms- 2021.3.658691958
jupyter ms- 2021.3.619093157
java red 0.76.0
vscodeintellicode Vis 1.2.12
vscode-java-debug vsc 0.32.0
vscode-java-dependency vsc 0.18.1
vscode-java-pack vsc 0.13.0
vscode-java-test vsc 0.28.1
vscode-maven vsc 0.28.0
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry914:30276682
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
pythontb:30265425
pythonvspyt943:30277001
vscoresta800cf:30276762
vspre833:30267464
vsdfh931:30275552
vshan820:30276952

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions