nuxtrdev / nuxtr-vscode

An extension offering commands and tools to make your experience with Nuxt more pleasant.
https://marketplace.visualstudio.com/items?itemName=Nuxtr.nuxtr-vscode
327 stars 13 forks source link

[Bug]: Created page get extra empty lines #100

Closed BananaAcid closed 8 months ago

BananaAcid commented 9 months ago

Environment

What went wrong?

Extra empty lines, please ignore the Nuxt3 missing type for nuxtApp.

Bildschirmfoto 2023-12-18 um 14 51 50

How to reproduce it?

  1. create a template by using the sidebar
  2. then CMD+SHIFT+P > Nuxtr: Create new Page

Lucky me: I thought you might be a Windows-Only-Developer, so had an Idea:

Default setting for VSCode on MacOS is CRLF (\r\n) on all new files. -- resaving each template file with LF helps.