Repository navigation
Editor Setup
Choosing the right code editor helps you get started quickly and catch mistakes early. While you are welcome to use any editor you prefer (such as Cursor, Zed, Sublime Text, or Neovim), we officially recommend Visual Studio Code or JetBrains WebStorm for beginners.
| Feature / Aspect | Visual Studio Code (VS Code) | JetBrains WebStorm |
|---|---|---|
| Pricing | Completely free & open-source | Paid, but 100% free for students via JetBrains Education |
| Setup | Lightweight core; you customize it with extensions | Fully configured out of the box with robust tooling |
| Performance | Fast startup, low initial memory footprint | Feature-rich IDE; can use more memory/CPU |
| Ecosystem | Huge community and extension marketplace | Deeply integrated refactoring, Git tools, and debugging |
Visual Studio Code (VS Code) is the most popular editor for web development.
Install these extensions from the VS Code Extensions tab (Ctrl+Shift+X or Cmd+Shift+X):
- ESLint: Highlights code quality issues and bugs directly in your editor as you type.
- Prettier - Code Formatter: Automatically formats code to keep consistent style across the codebase.
- Tailwind CSS IntelliSense: Provides intelligent autocomplete, color previews, and hover documentation for Tailwind classes.
- Pretty TypeScript Errors: Makes TypeScript compiler errors readable and beginner-friendly.
-
ES7+ React/Redux/React-Native snippets: Fast snippets for generating React component boilerplates (e.g.,
rafce). - Auto Rename Tag: Automatically renames matching HTML/JSX tags when you change either the opening or closing tag.
Enable automatic formatting on save in settings.json (Ctrl+, / Cmd+, > Search "Format On Save"):
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
}WebStorm is a dedicated JavaScript/TypeScript IDE with comprehensive built-in tools.
- If you are a student with an
.eduemail address, apply for a free JetBrains Student Pack.
WebStorm includes TypeScript, React, and Next.js support natively. To ensure optimal project formatting:
-
Prettier on Save: Go to
Settings(orPreferenceson macOS) >Languages & Frameworks>JavaScript>Prettier. Check "Automatic Prettier configuration" and check "Run on save". -
ESLint: Go to
Settings>Languages & Frameworks>JavaScript>Code Quality Tools>ESLint. Select "Automatic ESLint configuration" and enable "Run eslint --fix on save". -
Tailwind CSS: WebStorm provides built-in Tailwind support under
Settings>Languages & Frameworks>Style Sheets>Tailwind CSS.
Instead, suggest a change by
creating an issue,
or
opening a pull request
with your change. See How To Contribute for more
details. These docs are automatically generated from
the docs/folder of this repository.