pizza-777 / everscale-solidity-vscode-extension

VSCode extension for Solidity language for developing smart contracts on TVM-compatible blockchains.
Apache License 2.0
9 stars 0 forks source link

Fix comments formatting #11

Closed pizza-777 closed 2 years ago

pizza-777 commented 2 years ago

formatting it this case doesn't work

pragma ton-solidity >=0.61.2;
contract Comments13 {
    modifier modifier1() {
        _;
    }
    modifier            modifier2() {
        _;
    }   modifier modifier3(uint a) {
        _;
    }
  function commentInModifierInvocation() 
      external 
      // comment 1
                           modifier1 // comment 2
      (
        // comment 3
      ) // comment 4
      // comment 5
      modifier2 // comment 6
      (
        /* comment 7 */
      ) // comment 8
      modifier3 // comment 9
      (
        // comment 10
       1 // comment 11
        // comment 12
      ) // comment 13
      {
  }
}
pizza-777 commented 2 years ago

https://github.com/pizza-777/everscale-solidity-vscode-extension/commit/17643536c7473470877592b5a4e478f12398064e