MySolidity

All plugins

By limalime

Version 1.0.0

MySolidity GitHub Repo stars BuyMeACoffee GitHub Release A comprehensive Solidity development plugin for Acode editor with modern features and support for Foundry projects. Features Syntax Highlighting - Full Solidity Latest Version (0.8.30 0.8.33) syntax support - Keywords, types, operators, and constants - NatSpec documentation tags - Proper comment highlighting - Number formats (decimal, hex) - String and hex string literals File Support - Standard Solidity files (.sol) - Foundry test files (.t.sol) - Foundry script files (.s.sol) - Alternative patterns (.test.sol, .script.sol) Code Features - Auto-indentation - Bracket matching - Code folding - C-style behavior (auto-closing brackets, quotes) - Basic code formatting Formatting - Auto-format command (Ctrl+Shift+P → "Format Solidity Code") - Indentation normalization - Spacing around operators - Bracket formatting Installation 1. Download the plugin ZIP file 2. Open Acode 3. Go to Settings → Plugins 4. Install from ZIP or via plugin manager Usage Opening Solidity Files Simply open any .sol file, and syntax highlighting will be applied automatically. This includes: - Contract.sol - Regular contracts - MyContract.t.sol - Foundry tests - Deploy.s.sol - Foundry scripts Formatting Code 1. Open a Solidity file 2. Press Ctrl+Shift+P (Command Palette) 3. Type "Format Solidity Code" 4. Press Enter Supported Syntax Keywords Types - Address types: address , address payable - Integers: uint8 to uint256 , int8 to int256 - Fixed-size: bytes1 to bytes32 - Dynamic: string , bytes - Boolean: bool Built-in Variables - msg.sender , msg.value , msg.data - block.number , block.timestamp - tx.origin , tx.gasprice TODO Future enhancements planned: - [ ] Integration with Solidity compiler - [ ] Real-time error detection - [ ] Advanced linting - [ ] Code completion suggestions - [ ] Import path resolution - [ ] Integration with Prettier for advanced formatting Contributing Contributions are welcome! Feel free to: - Report bugs - Suggest features - Submit pull requests License See License here This repository is based on Ace Editor's syntax highlighting system and inspired by the original acode-solidity-highlighting plugin by Zinda-Lukman.