MystenLabs / sui

Sui, a next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by the Move programming language
https://sui.io
Apache License 2.0
6.01k stars 11.12k forks source link

[move][move-ide] Add cursor support and tests #18371

Closed cgswords closed 2 months ago

cgswords commented 3 months ago

Description

This updates the move analyzer to have a notion of a cursor and partially revises autocompletion request handling to use that cursor. This is just a start, but hopefully paves the way for further and better autocomplete suggestions in the future.

This PR also makes a few smaller changes:

Test plan


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 9, 2024 1:04am
3 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **multisig-toolkit** | ⬜️ Ignored ([Inspect](https://vercel.com/mysten-labs/multisig-toolkit/GgDiea62wFpL7Fqad1YJsbwt8Ay5)) | [Visit Preview](https://multisig-toolkit-git-cgswords-idecursor-mysten-labs.vercel.app) | | Jul 9, 2024 1:04am | | **sui-kiosk** | ⬜️ Ignored ([Inspect](https://vercel.com/mysten-labs/sui-kiosk/8EEwHsQinux5amYtvtVE2Kt3CPBu)) | [Visit Preview](https://sui-kiosk-git-cgswords-idecursor-mysten-labs.vercel.app) | | Jul 9, 2024 1:04am | | **sui-typescript-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/mysten-labs/sui-typescript-docs/3wQ7jCrCcDPsu8AwEf1wtv9gxqch)) | [Visit Preview](https://sui-typescript-docs-git-cgswords-idecursor-mysten-labs.vercel.app) | | Jul 9, 2024 1:04am |
cgswords commented 2 months ago

Stamping but @todd-mystenlabs should probably take a look before this lands

I think you meant to tag @tnowacki