The Major Editor provides a collaborative environment to modify your applications and manage deployments.
Live Editor
You can edit any application via a live editing session in the browser. Changes are reflected instantly in the preview pane.
AI Assistance
The editor includes an AI assistant that has full context of your application code. You can ask it to:
- Explain complex logic
- Refactor components
- Implement new features directly in the codebase
Real-time Preview
Every editing session includes a live preview of the application’s latest version, allowing you to verify changes immediately before deploying.
Version Control & Deployment
Major integrates with GitHub to version control your applications.
Version History
You can view a complete history of your application’s versions. Each version is linked to a commit, ensuring full traceability of changes.
One-Click Deploy
Deploying to production is instant. Navigate to the version you want to ship and click Deploy. The new version becomes available to all users with access immediately.
Plan Mode
Plan Mode is a safety feature that lets you review AI-proposed changes before they’re applied to your code.
How it works
When you start an AI session, it begins in Plan Mode:
- Exploration — The AI reads your files and analyzes your codebase (read-only)
- Plan creation — The AI summarizes its understanding and outlines proposed changes
- Review — You see the plan in the Plan tab on the right panel
- Decision — You choose to approve, reject, or provide feedback
The Plan tab
When the AI creates a plan, it appears in the Plan tab alongside the Web, Code, and Logs tabs. The plan shows:
- Summary of the proposed changes
- Files that will be created or modified
- Implementation approach
Making a decision
After reviewing the plan, you have three options:
- Approve — The AI proceeds with the implementation
- Reject — The session stays in Plan Mode; no changes are made
- Give Feedback — Tell the AI what to adjust, and it revises the plan
After approval
Once you approve a plan:
- The session switches to Accept Edits mode
- The AI implements the changes
- You see edits appear in real-time in the code panel
- You can still request modifications as the AI works
Plan Mode ensures you always understand what changes will be made. Use it to catch misunderstandings before code is written.