Configuring the DevPod Frontend Plugin#
This guide covers the configuration options for the DevPod frontend plugin.
Basic Configuration#
Add the following to your app-config.yaml
:
Configuration Options#
Default IDE#
The defaultIDE
setting determines which IDE is pre-selected in the DevPod launcher. If not specified, it defaults to vscode
.
Supported values:
vscode
- Visual Studio Codevscode-insiders
- VS Code Insidersopenvscode
- OpenVSCodeintellij
- IntelliJ IDEApycharm
- PyCharmwebstorm
- WebStormgoland
- GoLandclion
- CLionphpstorm
- PhpStormrider
- Riderrubymine
- RubyMinerustrover
- RustRoverfleet
- JetBrains Fleetcursor
- Cursorjupyternotebook
- Jupyter Notebook
Component Customization#
Grid Placement#
You can customize where the DevPod component appears in your entity overview page by adjusting its grid placement:
Conditional Rendering#
The isDevpodAvailable
condition can be combined with other checks:
<EntitySwitch>
<EntitySwitch.Case if={e => isDevpodAvailable(e) && isGitRepository(e)}>
<Grid item md={6}>
<DevpodComponent />
</Grid>
</EntitySwitch.Case>
</EntitySwitch>
Best Practices#
-
IDE Selection
- Choose a default IDE that matches your team's primary development environment
- Consider your developers' preferences and workflows
- Ensure the selected IDE is installed on development machines
-
Component Placement
- Place the DevPod button where it's easily accessible
- Consider grouping it with other development-related tools
- Maintain consistent placement across different entity types
-
User Experience
- Provide clear documentation about available IDEs
- Ensure DevPod is properly installed on development machines
- Consider adding links to DevPod installation guides