ton-blockchain / intellij-ton

TON Development plugin for the IntelliJ Platform
https://plugins.jetbrains.com/plugin/23382-ton
GNU General Public License v3.0
65 stars 8 forks source link

(2.0) If generation #104

Closed MicroNovaX closed 3 months ago

MicroNovaX commented 11 months ago

I propose to change the code generation logic when writing "if" and make it similar to Java, due to the fact that at the moment automatic closing of conditions only creates additional problems. idea64_9YS3kLI8Ix

andreypfau commented 3 months ago

The current logic is implemented in such a way that in FunC (as in Rust/Go, for example), the condition can be any expression that does not have to be enclosed in parentheses. So auto-completion doesn't insert them