Stylus Extension for VS CodeThis extension provides comprehensive support for Stylus projects, including project management, contract handling, and useful code snippets for rapid smart contract development. FeaturesProjects Management
Contract HandlingProvides user-friendly interfaces for all contract functions with custom parameters, supported by the Stylus Cargo. Functions include:
All contract interactions can be initiated by right-clicking on projects or via the VS Code command palette. Users can fill parameters one by one in order or from a JSON file for everyday use. Macro Insertions and Predefined Templates (Snippets)Quickly insert common code patterns and structures into your Stylus projects with predefined snippets and templates.
Each snippet is designed to expedite the development process by providing ready-to-use code templates for common smart contract patterns and functionalities. These snippets support various aspects of smart contract development, from creating and managing token contracts to handling complex data structures and optimizing storage interactions. Stylus GPT SupportThe Stylus Extension for VS Code also supports the Stylus GPT, a powerful AI-based code generation tool that can help you write smart contracts and other Rust code more efficiently. With Stylus GPT, you can generate code snippets, complete functions, and even entire contracts using natural language descriptions and prompts. This feature is powered by the OpenAI API and requires an API key to use. P.S: Stylus GPT works well with Cargo Stylus questions because for version 0.1.2, it only trained on Cargo Stylus. It will be improved in the future with more general Stylus and Arbitrum logic. RequirementsThis extension requires Visual Studio Code. Additionally, having the Rust and Cargo installed and configured on your system is necessary for Stylus project development.
Extension Settings
Known IssuesNo known issues at this time. If you encounter any problems, please report them using the issue template provided. Release Notes0.1.2Initial release of the Stylus Extension for VS Code.
Enjoy! |