hyperledger / solang

Solidity Compiler for Solana and Polkadot
https://solang.readthedocs.io/
Apache License 2.0
1.22k stars 207 forks source link

VS Code Format On Save bug #1630

Open throuz opened 3 months ago

throuz commented 3 months ago

Describe the bug If Format On Save is ticked in the VS Ccode settings, the solidity file will ignore the changed part when saving and save it as an unmodified version.

To Reproduce Steps to reproduce the behavior:

  1. Ticked Format On Save in the VS Ccode settings
  2. Make changes to the solidity file
  3. Use cmd + s to save the solidity file
  4. Will find that the changes are missing

Expected behavior Should be able to save changes.

Hyperledger Solang version v0.3.3

Additional context Manual format and manual save will not have this problem.