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) Automatic convertation if to throw_if #106

Open MicroNovaX opened 11 months ago

MicroNovaX commented 11 months ago

I propose to automatically convert such structure languages if (i > b) { throw(error); } to such throw_if(error, i > b); due to the fact that due to the formed habit of programming in other programming languages, the language structure throw_if is not so familiar, but more syntactically correct.