microsoft/compose-language-service

Idea: IntelliSense for selecting the correct file path in Volumes in Compose

ucheNkadiCode opened this issue · 3 comments

As the user aims to type their volumes command in compose, we provide them with

volumes:
- hostFilePath:/containerPath

As the user types their volume in composefile (as seen below)

volumes:
- ./src/Services/DomainAPI/data/mssql:/scripts/

We provide them the context and tab completion of both their host directory and their container directory (if possible). Even if they start from “C://User/”. The example above is a relative path.

Also for the long-winded format of writing out a volume. We should give suggestions for the four types of volumes.

type: volume, bind, tmpfs, or npipe

We are thinking that developers should be able to find find and map their file paths. Wontfix in favor of higher priority items