vscode-ebnf icon indicating copy to clipboard operation
vscode-ebnf copied to clipboard

Formatting deletes string contents

Open james-pre opened this issue 1 year ago • 0 comments

Installed product versions

  • Visual Studio Code: 1.93.0
  • This extension: 1.3.1

Description

Certain string literals have their contents wiped on format

Steps to recreate

  1. Create an EBNF file which uses a string literal
  2. Format it

Current behavior

Certain strings are emptied

Expected behavior

String contents should always be preserved

https://github.com/user-attachments/assets/3c15a998-21db-4f1e-9d73-a50c0e2b5f98

james-pre avatar Sep 10 '24 19:09 james-pre