ton-blockchain / intellij-ton

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

(2.0) Live templates #112

Open MicroNovaX opened 1 year ago

MicroNovaX commented 1 year ago

I propose to add live templates to the most frequently used pieces of code.

idea64_UDKJemcF5k

Ex:

  1. Bounce check bche if (flags & 1) { throw(error::bounce()); return (); }
  2. recvi
    
    () recv_internal(int my_balance, int msg_value, cell in_msg_full, slice in_msg_body) impure {

}

3. recve

() recv_external(slice in_msg_body) impure {

}

4. gete

_ my_get_method() method_id {

}


and etc.
andreypfau commented 1 year ago

i purpose use getm for 4. as an abbreviation of get method