madskristensen/JavaScriptPrettier

Comments in vannila JS oddly formated

FerreiraRaphael opened this issue · 2 comments

Installed product versions

  • Visual Studio: Microsoft Visual Basic 2017
  • This extension: 1.1.21

Description

Comments on JS code are being oddly formated

Steps to recreate

  1. Create a comment like this
    image

  2. Use preetier to format (Crtl+K + Crtl+J)

Current behavior

Every time a use preetier to format it add spaces to the comment like:
image

And if I format again, the result will be:
image

And so on

Expected behavior

A normal indentation and format.

This should be fixed by the newest CI version. I will close the issue when a new version is published to the public gallery