kokororin / vscode-phpfmt

Integrates phpfmt into VS Code
https://marketplace.visualstudio.com/items?itemName=kokororin.vscode-phpfmt
BSD 3-Clause "New" or "Revised" License
129 stars 30 forks source link

When closing HTML tags they jump to column one #83

Closed omniomi closed 1 year ago

omniomi commented 5 years ago

Description

When you close an HTML tag on its own line with this extension enabled the tag jumps to beginning of the line:

home

Steps to Reproduce

  1. Open a PHP file with phpfmt enabled.
  2. Nest a couple divs or whatever tags you want with proper indenting.
  3. Delete one of the closing tags and on its own line type it manually at the correct indentation level.

Questions

Reproducible with extension disabled?: No