tact-lang / tact-vscode

Tact VS Code plugin
Apache License 2.0
18 stars 8 forks source link

Formatting curly brace #11

Closed pizza-777 closed 11 months ago

pizza-777 commented 11 months ago

Hi! Now after formatting I have:

       send(SendParameters{to: to,
                value: ton("0.01"),
                body: "Hello from Tact!".asComment() 
            }
        );

But It would be better:

      send(SendParameters { //space before curly brace and param at new line
                to: to,
                value: ton("0.01"),
                body: "Hello from Tact!".asComment()
            }
       );
pizza-777 commented 11 months ago

P.S. Join this repo to https://github.com/alefmanvladimir/HACK-TON-BERFEST-2023#-how-to-join-with-your-project

logvik commented 11 months ago

Thank you for the contribution!

logvik commented 11 months ago

fixed on v1.0.8