move-language / move

Apache License 2.0
2.24k stars 677 forks source link

move-analyzer could not be found on VS code #1052

Open EnbangWu opened 1 year ago

EnbangWu commented 1 year ago

❓ Questions and Help

Sorry the discord invitation is invalid. So I installed move-analyzer and add it to my $PATH. When I promptmove-analyzer --version my console will output move-analyzer 1.0.0. However, my VS code cannot find it (language server executable 'move-analyzer' could not be found ).

my move-analyzer is at /Users/wuenbang/.cargo/bin/move-analyzer and when I put this to the move-analyzer.server.path it does not work either.

What should I do next?

EnbangWu commented 1 year ago

the output error message says : Unable to find package manifest. Make sure that the source files are located in a sub-directory of a package containing a Move.toml file.

Andrew2337 commented 1 year ago

I can't catch it either, and I don't understand why I can't catch it. My Sui move command will only be executed after VS code is closed. This really bothers me. Have you solved it? I use the windws system.

EnbangWu commented 1 year ago

I can't catch it either, and I don't understand why I can't catch it. My Sui move command will only be executed after VS code is closed. This really bothers me. Have you solved it? I use the windws system.

I tried Sui move analyzer and it worked. that might be an alternative option for you,