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

PanelLocationPurpose
Icon BarFar leftSwitch between plugins (File Explorer, Compiler, Deploy, etc.)
Side PanelLeftActive plugin UI
EditorCenterSource code with syntax highlighting + inline errors
TerminalBottomTransaction logs, console output, test results
Status BarBottom edgeWorkspace + Git branch, notifications, AI assistant status

Keyboard Shortcuts

Remix defines only a handful of app-level shortcuts:

ActionShortcut
Compile current fileCtrl+S / Cmd+S
Compile file and run the open scriptCtrl+Shift+S
Open File ExplorerCtrl+Shift+F
Open Plugin ManagerCtrl+Shift+A
Format current fileCtrl+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

  1. Write — author .sol files in the File Explorer.
  2. Compile — Solidity Compiler plugin compiles on save or manually.
  3. Deploy — Deploy & Run plugin sends the constructor transaction.
  4. Interact — Call functions directly from the deployed contract panel.
  5. 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

ExtensionTreatment
.solSolidity source — compiled by the Solidity Compiler plugin
.vyVyper source — requires Vyper plugin
.jsonABI / artifact files, displayed as JSON
.ts / .jsScripts run via Remix Script Runner (Hardhat-compatible)
.test.jsMocha unit tests (Remix tests plugin or Script Runner)
_test.solSolidity 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;
    }
}
  1. Paste into contracts/Hello.sol.
  2. Press Ctrl+S — green checkmark = compiled.
  3. Open Deploy & Run (rocket icon) → Deploy.
  4. Expand the deployed contract, click greeting — returns "Hello, Remix!".