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) Trick to convert constants to functions with asm and back #103

Open MicroNovaX opened 1 year ago

MicroNovaX commented 1 year ago

I propose to add an IntelIJ trick that allows you to convert strings such as const int i = 1; to such (int) i() asm "PUSHINT 1" and vice versa. This will help to refactor the code more conveniently and make it more gas-efficient.

Savioure commented 3 months ago

Good

petvaizAkhtar commented 2 months ago

Good

Cryptocurrencykh1 commented 1 month ago

I propose to add an IntelIJ trick that allows you to convert strings such as const int i = 1; to such (int) i() asm "PUSHINT 1" and vice versa. This will help to refactor the code more conveniently and make it more gas-efficient.

Cryptocurrencykh1 commented 1 month ago

I propose to add an IntelIJ trick that allows you to convert strings such as const int i = 1; to such (int) i() asm "PUSHINT 1" and vice versa. This will help to refactor the code more conveniently and make it more gas-efficient.

Elgayar777 commented 3 weeks ago

Cool

MORTEZAMIRSALI commented 2 weeks ago

**1726104421561.png

**

Marazali75 commented 1 week ago

I propose to add an IntelIJ trick that allows you to convert strings such as const int i = 1; to such (int) i() asm "PUSHINT 1" and vice versa. This will help to refactor the code more conveniently and make it more gas-efficient.

V