jw3 / example-daffodil-vscode

A VS Code extension for DFDL with Daffodil
Apache License 2.0
2 stars 3 forks source link

Prettier #103

Closed jw3 closed 3 years ago

jw3 commented 3 years ago

Use Prettier for formatting

Include VSCode settings to format on save

commands

reference

closes #99

jw3 commented 3 years ago

This adds a formatting option to remove semicolons. I did not realize they were not required in Typescript... any objections @arosien @Shanedell ?

jw3 commented 3 years ago

This also adds a setting for final newline in file so those are synced up

"files.insertFinalNewline": true

shanedell commented 3 years ago

@jw3 Semi-colons are not required but I believe for the most part they are put in usually. But if its not a big deal I have no problem whichever way.