We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is still the file2 heredoc to process so we should not be prompting any completion items. We should include ADD and COPY in our heredoc support.
file2
ADD
COPY
ADD a.txt <<file b.txt <<file2 /destination/ abc file
COPY a.txt <<file b.txt <<file2 /destination/ abc file
const lib = require("dockerfile-language-service"); const service = lib.DockerfileLanguageServiceFactory.createLanguageService(); console.log(service.computeCompletionItems("ADD a.txt <<file b.txt <<file2 /destination/\nabc\nfile\n", { line: 3, character: 0 }).length); console.log(service.computeCompletionItems("COPY a.txt <<file b.txt <<file2 /destination/\nabc\nfile\n", { line: 3, character: 0 }).length);
19 19
The text was updated successfully, but these errors were encountered:
85b2bce
rcjsuen
No branches or pull requests
There is still the
file2
heredoc to process so we should not be prompting any completion items. We should includeADD
andCOPY
in our heredoc support.ADD a.txt <<file b.txt <<file2 /destination/ abc file
COPY a.txt <<file b.txt <<file2 /destination/ abc file
The text was updated successfully, but these errors were encountered: