Skip to content

Commit

Permalink
[docs] Update move-analyzer install instructions (MystenLabs#8872)
Browse files Browse the repository at this point in the history
## Description 

We recently changed the size of addresses used by Sui to be 32B instead
of 20B and move-analyzer installation instructions need to be updated to
reflect this.

## Test Plan 

Tested locally to confirm that the new install makes the address-related
IDE errors go away.

---------

Co-authored-by: ronny-mysten <[email protected]>
  • Loading branch information
awelc and ronny-mysten authored Mar 7, 2023
1 parent e7ad713 commit 8ea514c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/src/build/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,10 @@ Use the `--help` flag to access helpful information for any of these binaries.

## Integrated development environment

The recommended IDE for Move development is [Visual Studio Code](https://code.visualstudio.com/) with the move-analyzer extension. Follow the Visual Studio Marketplace instructions to install the [move-analyzer extension](https://marketplace.visualstudio.com/items?itemName=move.move-analyzer), then install the move-analyzer language server passing `address20` using the `--features` flag:
The recommended IDE for Move development is [Visual Studio Code](https://code.visualstudio.com/) with the move-analyzer extension. Follow the Visual Studio Marketplace instructions to install the [move-analyzer extension](https://marketplace.visualstudio.com/items?itemName=move.move-analyzer), then install the move-analyzer language server passing `address20` using the `--features` flag and passing `sui-move` to the `branch` flag:

```shell
cargo install --git https://github.com/move-language/move move-analyzer --features "address20"
cargo install --git https://github.com/move-language/move move-analyzer --branch sui-move --features "address32"
```

See more [IDE options](https://github.com/MystenLabs/awesome-move#ides) in the [Awesome Move](https://github.com/MystenLabs/awesome-move) documentation.
Expand Down

0 comments on commit 8ea514c

Please sign in to comment.