Open Custom Modules in IDE
Open in IDE
The Open in IDE button (top right corner) lets you seamlessly transfer your Terraform module code from this visual interface into a full development environment.
Preview (from the Module Catalog or an appStack) opens a read-only code view in StackGen. Open in IDE launches VS Code (or another supported editor) so you can edit, lint, and commit locally. For read-only inspection, see Module Preview.
Why Use Open in IDE
- For advanced editing (refactoring, search and replace, custom scripts).
- To use Terraform extensions, linters, and formatters.
- To integrate with source control (Git).
- To work on module code in a full IDE before you publish.
How It Works
When you click Open in IDE, you get options to open your module project in an external code editor:
-
Opens your Module in VSCode: Instantly launches Visual Studio Code, the popular code editor.
-
Loads your Terraform project directory in a new VSCode window.
-
Lets you continue editing, linting, formatting, and committing your code using all of VSCode’s extensions and tools.
-
All changes you commit are saved directly in your project folder after you save your changes to modules in VS Code. You can then return to this visual editor to see updates reflected in the StackGen Module Editor Web UI.
noteYou will need to install the StackGen Extension for VS Code via the VS Code Marketplace.
Coming Soon
We will start supporting the following IDEs over the next release.
- Cursor
- NVIM
- Windsurf