microsoft/compose-language-service

Idea: Image autocomplete suggestions

v-mengwe opened this issue · 1 comments

OS: All
Build Version: 20210204.1

Repro Steps:

  1. Create a project and open in VS Code -> Open the docker-compose.yml file.
  2. Type the following into the docker-compose.yml file:
     version: '2'
     redis:
         image: 
  1. Press CTRL+SPACE -> Select "centos" -> Press CTRL+SPACE -> Select an image.
  2. Cursor is placed after "centos" -> Press CTRL+SPACE -> Select an image(same/different).
  3. Check whether the image is replaced automatically.

Actual:
The image is not replaced automatically.
ima

Suggestion:
It would be better to replace the image automatically.

Good suggestion! We're working on our Compose intellisense story as a whole, so I added this idea to our checklist on microsoft/vscode-docker#2539.