Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest working directories when editing the last argument of an ADD or COPY instruction #77

Closed
rcjsuen opened this issue Feb 27, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@rcjsuen
Copy link
Owner

rcjsuen commented Feb 27, 2021

The final argument of an ADD or COPY instruction is either the name of a file or a folder. While it is not possible to deduce what folders exist on an image, we know with certainty that any directory defined by a prior WORKDIR instruction is valid. We should suggest these paths when we compute completion items.

@rcjsuen
Copy link
Owner Author

rcjsuen commented Feb 28, 2021

This has now been implemented. ADD and COPY instructions written in JSON form will be handled in #79.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant