But when I work with .move files I can't: compiler diagnostics, move to definition, move to type definition, move to references, type on hover, outline view, etc.
I also tried changing the 'move-analyzer.server.path' to "~/.cargo/bin/move-analyzer" That didn't work
Error message
In the 'OUTPUT' section of the VS Code console, if you select Move Language Server
will show the following output
Starting language server '/home/user/.cargo/bin/move-analyzer' communicating via stdio...
starting symbolicator runner loop
symbolicating "Project_path/aptos-core/aptos-move/move-examples/hello_blockchain"
typed AST compilation failed <--- I think this is the main problem
text document notification
scheduling run for "Project_path/aptos-core/aptos-move/move-examples/hello_blockchain/sources/hello_blockchain.move"
scheduled run
text document notification handled
symbolication started
Move Analyzer CIient:
INFO [3/21/2023, 6:13:05 PM]: move.move-analyzer version 0.0.10
INFO [3/21/2023, 6:13:05 PM]: configuration: {"server":{"path":"~/.cargo/bin/move-analyzer"}, "trace":{"server": "verbose"}}
INFO [3/21/2023, 6:13:05 PM]: Starting client...
π Bug
installed using cargo install move-cli & move-analyser also installed aptos-cli but I don't think it has any effect
Installed the move-analyzer extension in VS Code
But when I work with .move files I can't: compiler diagnostics, move to definition, move to type definition, move to references, type on hover, outline view, etc.
I also tried changing the 'move-analyzer.server.path' to "~/.cargo/bin/move-analyzer" That didn't work
Error message
In the 'OUTPUT' section of the VS Code console, if you select Move Language Server will show the following output
Move Analyzer CIient:
System information
Please complete the following information: