Remix IDE Cheatsheet
Overview
Use this Remix IDE reference while you build software engineering projects, review code for technical interview prep, or polish examples for a software engineer resume.
What is Remix IDE
Remix IDE is a browser-based Solidity development environment. No install required — open the URL and start writing contracts. It handles compilation, deployment, interaction, debugging, and testing in one place.
Remix is continuously deployed — remix.ethereum.org always serves the current release; there is no version to install or update. New Solidity compiler releases show up in the compiler dropdown as they ship.
Panel Layout
| Panel | Location | Purpose |
|---|---|---|
| Icon Bar | Far left | Switch between plugins (File Explorer, Compiler, Deploy, etc.) |
| Side Panel | Left | Active plugin UI |
| Editor | Center | Source code with syntax highlighting + inline errors |
| Terminal | Bottom | Transaction logs, console output, test results |
| Status Bar | Bottom edge | Workspace + Git branch, notifications, AI assistant status |
Keyboard Shortcuts
Remix defines only a handful of app-level shortcuts:
| Action | Shortcut |
|---|---|
| Compile current file | Ctrl+S / Cmd+S |
| Compile file and run the open script | Ctrl+Shift+S |
| Open File Explorer | Ctrl+Shift+F |
| Open Plugin Manager | Ctrl+Shift+A |
| Format current file | Ctrl+Alt+F |
The editor itself is Monaco (VS Code's editor), so standard editor bindings work inside it: Ctrl+F find, Ctrl+/ toggle comment, F12 go to definition, F1 editor command palette.
Core Workflow
- Write — author
.solfiles in the File Explorer. - Compile — Solidity Compiler plugin compiles on save or manually.
- Deploy — Deploy & Run plugin sends the constructor transaction.
- Interact — Call functions directly from the deployed contract panel.
- Debug — Step through failed transactions in the Debugger plugin.
Workspaces
Remix organizes files into workspaces (isolated virtual filesystems stored in browser localStorage or connected to GitHub/IPFS).
- Create: File Explorer → Workspaces dropdown → Create.
- Switch: dropdown at the top of the File Explorer.
- Clone from GitHub: Workspaces → Clone Git Repository (requires GitHub plugin or URL).
Workspaces persist in
localStorage— use File → Save to disk or GitHub sync for backups. Clearing browser storage wipes local workspaces.
File Types Remix Understands
| Extension | Treatment |
|---|---|
.sol | Solidity source — compiled by the Solidity Compiler plugin |
.vy | Vyper source — requires Vyper plugin |
.json | ABI / artifact files, displayed as JSON |
.ts / .js | Scripts run via Remix Script Runner (Hardhat-compatible) |
.test.js | Mocha unit tests (Remix tests plugin or Script Runner) |
_test.sol | Solidity unit tests (SolidityUnitTesting plugin) |
Quick-Start: Hello World
// SPDX-License-Identifier: MIT pragma solidity ^0.8.24; contract Hello { string public greeting = "Hello, Remix!"; function setGreeting(string calldata _g) external { greeting = _g; } }
- Paste into
contracts/Hello.sol. - Press
Ctrl+S— green checkmark = compiled. - Open Deploy & Run (rocket icon) → Deploy.
- Expand the deployed contract, click
greeting— returns"Hello, Remix!".