IDE Integration
Astro Editor is built for writing, not coding, but sometimes you need to jump into a proper code editor — to tweak a component, fix a build, or edit something Astro Editor deliberately hides. Configure your editor once and Astro Editor can hand a file, a collection, or the whole project straight over to it.
Configuring your IDE
Section titled “Configuring your IDE”Set your IDE Command in the General preferences (PATH, the name alone is enough:
codefor Visual Studio Codecursorfor Cursorsublfor Sublime Textzedfor Zed
Otherwise, give the full path to the executable (e.g. /usr/local/bin/nvim). A leading ~/ is expanded to your home directory.
Once a command is set, the “Open in IDE” features below become available. Until then, they stay hidden.
Opening from the context menu
Section titled “Opening from the context menu”With an IDE configured, right-clicking a file in the sidebar adds an Open in IDE item that opens that file directly in your editor.
Opening from the command palette
Section titled “Opening from the command palette”The command palette (
| Command | Opens |
|---|---|
| Open File in IDE | The file you’re currently editing |
| Open Collection in IDE | The folder for the current collection |
| Open Project in IDE | The entire project |