Docker Compose settings
Enable the Docker plugin
This functionality relies on the Docker plugin, which is bundled and enabled in PhpStorm by default. If the relevant features are not available, make sure that you did not disable the plugin.
Press Ctrl+Alt+S to open settings and then select .
Open the Installed tab, find the Docker plugin, and select the checkbox next to the plugin name.
Configure service completion in Docker Compose files. For more details, refer to Complete a service configuration.
- Enable Docker Compose service completion
Select the option to enable automatic completion of service configurations in Docker Compose files.
- Show popup on basic completion invocation
Select the option to use the basic completion shortcut (Ctrl+Space) to invoke the Services popup.
- Show inline service completion hint
Select the option to display a hint in the editor, guiding how to add a service by its name or from the available list.