peggyjs / peggy

Peggy: Parser generator for JavaScript
https://peggyjs.org/
MIT License
914 stars 65 forks source link

Add peggy.code-workspace #432

Closed markw65 closed 9 months ago

markw65 commented 1 year ago

See discussion on #42

It turns out that you can include recommended extensions directly in the .code-workspace file, so I didn't need to add a .vscode/extensions.json file.

To test this:

Given that settings can be overridden via .vscode/settings.json, I'm inclined to turn on Format on Save in peggy.code-workspace too.

hildjj commented 9 months ago

peggy.code-workspace probably needs to be added to .npmignore. Check with npm pack --dry-run

hildjj commented 9 months ago

Note: I'll likely close #42 after this lands, after playing with it a little.

markw65 commented 9 months ago

I did need to add peggy.code-workspace to .npmignore, and while there I realized that I added tsconfig*.json, to cover the tsconfig-base.json that I added in #435.

hildjj commented 9 months ago

needs a changelog entry still, please.