Chapter 359: Setting the default code editor
Core Idea
Remotion Studio can quickly open various things in your code editor:
Key Concepts
- Setting your preferred editor
- In the Studio
- In the config file
- Via command line
- Configuring a custom editor
- type
- name
- executable
Code Examples
Config.setDefaultEditor('cursor');
- What it demonstrates: Usage pattern for Setting the default code editor from the official docs.
Reference Tables
| Placeholder | Value |
|---|
%TARGET_PATH% | Absolute source file or project directory path. Windows editors launched through WSL receive a relative path. |
%LINE_NUMBER% | One-based source line. |
%COLUMN_NUMBER% | One-based source column. |
Key Takeaways
- Understand setting your preferred editor when working with Setting the default code editor.
- Understand in the studio when working with Setting the default code editor.
- Understand in the config file when working with Setting the default code editor.
- Understand via command line when working with Setting the default code editor.
- Understand configuring a custom editor when working with Setting the default code editor.
Connects To
- Clipper: related page in the Studio, Player & Editing section.
- Design Systems: related page in the Studio, Player & Editing section.
- Editor Starter: related page in the Studio, Player & Editing section.