Difficulty with more traditional smart contract languages that #MoveLang is trying to solve is code composition & reuse. New VSCode plugin delivers a set of features that can aid developers. A thread 🧵
The new features provided by the current version of move-analyzer’s language server include:
▫️ Type on hover
▫️ Go to definition
▫️ Go to type definition
▫️ Find references
▫️ Error reporting
Type on hover:
When encountering identifier in unknown code base, you may not know the type of the identifier. If you hover a cursor over the name of an identifier, you will see the name of this identifier displayed in a tooltip.
Go to definition:
Another piece of information about an identifier that may not be obvious is where this identifier is defined. Right-click on identifier name & choose "Go to Definition" option. Your cursor will be transported to location of identifier’s definition.
Go to type definition:
It's not trivial to locate an identifier's type definition. Right-click on the identifier name & choose "Go to Type Definition" option. Your cursor will be transported to where the type of this identifier is defined.
Find references:
Right-click on identifier name & choose "Find All References" option. All occurrences of this identifier will be displayed in the left pane of the VSCode editor window.
Error reporting:
In new version of VSCode plugin, we introduce displaying compiler diagnostics in editor window. Whenever you save file, language server will run compiler in background & send resulting output back to VSCode to be displayed.
The new VSCode plugin delivers a set of features that can aid developers in better understanding their entire code base. Dive more into it here: bit.ly/3OKamBe
That's a wrap! If you enjoyed this thread:
1. Follow @Mysten_Labs for more of these 2. Join our Sui AMA this week featuring our #MoveLang Dev Team
• • •
Missing some Tweet in this thread? You can try to
force a refresh
Excited to finally share the economic model that will let Sui serve the next billion web3 users & deliver a flourishing economy. A thread by our Head Economist @alonsodegortari : 🧵👇 1/n
2/n: The Sui Smart Contracts Platform is:
🍃 environmentally-friendly
🤑 cost-efficient
🌊 high-throughput
⬇️ low-latency
⛓️ permissionless blockchain
Sui’s economic model is tailored to operate smoothly in sync with Sui’s engineering design: bit.ly/twtokenomics
3/n: Sui’s ⛽ gas price mechanism + 🗄️ storage fund work hand-in-hand with Sui’s ability to parallelize transactions, scale horizontally, & store arbitrary amounts of on-chain data.
Ensuring Sui's engineering design is matched by an economic model enabling success at scale.
Mysten Labs is proud to present... Sui! Let’s dive into “parallel agreement” — a breakthrough in system design. A 🧵. 1/8 #blockchaintechnology
2/8 - Sui scales horizontally with no upper bound to meet application demand while maintaining extremely low operating costs per transaction. #blockchain
3/8 - Sui's system design breakthrough eliminates a critical bottleneck in existing #blockchains : the need to achieve global consensus on a total-ordered list of transactions.