castwide / vscode-solargraph

A Visual Studio Code extension for Solargraph.
Other
425 stars 24 forks source link

Prevent format on save #158

Closed josemigallas closed 4 years ago

josemigallas commented 4 years ago

Hi, whenever I try to format my document (manually), the following error pops up: Screen Shot 2020-01-30 at 09 41 17

However if "solargraph.formatting" is true, then it will always format on save regardless of "editor.formatOnSave" being false.

Is there a workaround for this? Would it be possible to allow formatting at will?

castwide commented 4 years ago

I haven't been able to reproduce this problem. With solargraph.formatting: true and editor.formatOnSave: false, I get the expected behavior. Could another extension be ignoring the formatOnSave option and triggering the format?