ton-blockchain / intellij-ton

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

Path Problem #179

Open starPaw opened 1 month ago

starPaw commented 1 month ago

Problem Description: I created a project using the npm create ton command in the directory .../myproject/TONProject. When I opened PyCharm from the directory .../myproject, the plugin did not work with TACT contracts. However, when I opened PyCharm directly from the ./myproject/TON/ton_project directory, the plugin worked correctly.

Steps to Reproduce:

Create a project using the npm create ton command in the directory ./myproject/TON/.
Open PyCharm from the ./myproject directory.
The TON Development plugin does not work correctly.
Open PyCharm from the ./myproject/TON/ton_project directory.
The TON Development plugin works correctly.

Expected Behavior: The plugin should work correctly regardless of which directory the project is opened from in PyCharm.

Additional Information:

PyCharm 2024.2 EAP (Professional Edition)
Node.js version: 18.0.0
TON Development plugin installed via Plugin Marketplace

I hope this information helps in diagnosing and solving the problem. Thank you!