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

HTML formatting breaks closing bracket to its own line #64446

Closed
smlombardi opened this issue Dec 5, 2018 · 1 comment
Closed

HTML formatting breaks closing bracket to its own line #64446

smlombardi opened this issue Dec 5, 2018 · 1 comment
Assignees
Labels
*caused-by-extension Issue identified to be caused by an extension html HTML support issues

Comments

@smlombardi
Copy link

Issue Type: Bug

This never used to happen...

I have my html format settings as:

  "html.format.unformatted": "wbr,span,code",
  "html.format.wrapAttributes": "force-aligned",
  "html.format.wrapLineLength": 0,

For some reason, it's now putting the closing > on a line by itself, as in

        <mat-tab label="TabTabHeader2"
          ><p>
            Lorem, ipsum dolor sit amet consectetur adipisicing elit. Dolores, cumque perferendis molestiae nulla iusto
          </p></mat-tab
        >

cleanshot 2018-12-05 at 13 39 42

VS Code version: Code - Insiders 1.30.0-insider (85f805a, 2018-12-05T12:13:44.894Z)
OS version: Darwin x64 18.2.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 3, 3
Memory (System) 16.00GB (0.48GB free)
Process Argv -psn_0_744609265
Screen Reader no
VM 0%
Extensions (34)
Extension Author (truncated) Version
better-comments aar 2.0.3
vscode-svgo ajh 0.1.0
Bookmarks ale 10.0.0
project-manager ale 10.0.0
ACF-Snippet ant 1.9.0
bracket-pair-colorizer Coe 1.0.61
vscode-eslint dba 1.7.0
tslint eg2 1.0.40
vscode-npm-script eg2 0.3.5
vscode-great-icons emm 2.1.45
prettier-vscode esb 1.7.2
auto-rename-tag for 0.0.15
path-autocomplete ion 1.13.1
svg joc 0.1.4
ecdc mit 0.12.0
HTMLHint mka 0.5.0
theme-monokai-pro-vscode mon 1.1.9
vscode-scss mrm 0.6.2
vscode-stylefmt mrm 2.5.0
debugger-for-chrome msj 4.11.1
angular2-inline nat 0.0.17
incrementor nms 0.1.0
vscode-html-scss P-d 0.0.42
vscode-versionlens pfl 0.22.0
polacode pnp 0.2.2
quicktype qui 12.0.46
LiveServer rit 5.3.1
code-settings-sync Sha 3.2.2
stylelint shi 0.47.0
rewrap stk 1.9.1
ayu tea 0.17.0
sort-lines Tyr 1.7.0
vscode-terminal-here Tyr 0.1.1
change-case wma 1.0.0

(3 theme extensions excluded)

@vscodebot vscodebot bot added the insiders label Dec 5, 2018
@octref octref added info-needed Issue requires more information from poster html HTML support issues and removed insiders labels Dec 12, 2018
@octref
Copy link
Contributor

octref commented Dec 12, 2018

Prettier recently added html support. And it overrode our HTML formatter. You can do this to disable it.

    "prettier.disableLanguages": [
      "vue",
      "html"
    ]

@octref octref closed this as completed Dec 12, 2018
@octref octref added *caused-by-extension Issue identified to be caused by an extension and removed info-needed Issue requires more information from poster labels Dec 12, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*caused-by-extension Issue identified to be caused by an extension html HTML support issues
Projects
None yet
Development

No branches or pull requests

2 participants