open-southeners / vscode-laravel-pint

🍺 Integrates Laravel Pint into your VSCode projects for automatic code formatting
https://marketplace.visualstudio.com/items?itemName=open-southeners.laravel-pint
MIT License
83 stars 17 forks source link

Workspace settings being modified on every workspace opened #24

Closed adrum closed 2 years ago

adrum commented 2 years ago

I have a variety of project types I work with and this extension seems to automatically modify the workspace's .vscode/settings.json file. It's adding this line specifically:

"laravel-pint.enable": true

It would be nice to either:

  1. Remove this functionality
  2. Hide it behind a config option and set it in my user settings to not offer to modify my workspace settings every time I open a project.
d8vjork commented 2 years ago

Indeed can be troublesome, this was meant to maintain the simple "out of the box" of this extension, but might workaround this

d8vjork commented 2 years ago

Ok using global context for all now on v1.1.2 (pre-release)