vscode icon indicating copy to clipboard operation
vscode copied to clipboard

[PHP] Function autocomplete not formatting correctly

Open vsccarl opened this issue 10 years ago • 1 comments

OS: Windows 10

Steps:

  1. In a php file type "fun" to get function autocomplete.
  2. Press Enter. phpautocomplete

Expected: Formatting should be the same as when right-click-> Format Code phpautocompleteexpected

vsccarl avatar Mar 10 '16 23:03 vsccarl

Note that you can customize the templates using Preferences > User Snippets. For that reason I don't think we should run a formatter on them, as this would change the snippet. The creator of the snippet might have added empty lines and such on purpose.

aeschli avatar Mar 11 '16 09:03 aeschli