move-language / move

Apache License 2.0
2.24k stars 676 forks source link

Error parsing '[package]' section of manifest, VSCode #1097

Closed kvitlich closed 4 months ago

kvitlich commented 4 months ago

I installed the move-analyzer following official documentation https://marketplace.visualstudio.com/items?itemName=move.move-analyzer . For some reason when i open .move file it shows Error parsing '[package]' section of manifest

image

Also, when i open .move file "go to the definition" , "Go References" and others features doesn't work, but seems like i have highlights.

image

I tried to fix it about 3 days by deleting and installing all the packages. Please community, if someone had the same trouble or you know reasons why this happen i will be appreciate for any information!

wrwg commented 4 months ago

The Move analyzer in the Move repo here is not maintained. Rather you find an evolved and maintained analyzer by searching for it in VS Code.

kvitlich commented 4 months ago

The Move analyzer in the Move repo here is not maintained. Rather you find an evolved and maintained analyzer by searching for it in VS Code.

What does mean "here"? In the VSCode or my project? The Move Analyzer actually links here

wrwg commented 4 months ago

Both the Aptos and Sui move analyzers have been forked from here and are currently maintained by Movebit. I don't know exactly where to find the Sui version, but the Aptos one is here: https://github.com/movebit/move/tree/aptos-move-analyzer. You need to search for "aptos move" or similar in VS (I'm not a VS user so I can't tell you how to exactly do this).

In general this is really not the right repo here for user question. You should ask on either the Aptos or the Sui discord channels.