move-language / move

Apache License 2.0
2.24k stars 676 forks source link

Unable to parse Move package manifest #1098

Closed kvitlich closed 4 months ago

kvitlich commented 4 months ago

I am getting error in VSStudio

image

In .toml file:

[[bin]]
name = "test"
path = "path = "Project/Main.move"   

[package]
name = "poker"

[dependencies]
Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/testnet" }

[addresses]
poker = "0x0"

And also this error

image

When i have this in .toml file:

[package]
name = "testnet"

[dependencies]
Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "framework/testnet" }

[addresses]
poker = "0x0"

I followed this instructions on https://marketplace.visualstudio.com/items?itemName=move.move-analyzer and i am expecting this features available: compiler diagnostics go to definition go to type definition go to references type on hover outline view showing symbol tree for Move source files

But when i open the .move file they does't work and i am getting this errors.

P.S. I followed instructions clearly and reinstalled all the packages several times.

P.S. I use Windows 11