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

Signature parameter is calculated incorrectly for ENV and LABEL instructions #176

Closed
rcjsuen opened this issue Sep 15, 2017 · 0 comments
Closed
Assignees
Labels

Comments

@rcjsuen
Copy link
Owner

rcjsuen commented Sep 15, 2017

If signature help is prompted for after the a character on the second line, the parameter that gets calculated is key2 instead of key. If the cursor is before or after the v then it is okay. If it is is after a or r then key2 gets returned.

FROM node
ENV var=\
value

If it is a LABEL instruction, the parameter calculation is completely off regardless of where the cursor is in the var word.

FROM node
LABEL var=\
value

Note however that the error cannot be reproduced with the following Dockerfiles.

FROM node
ENV var=\
FROM node
LABEL var=\
@rcjsuen rcjsuen added the bug label Sep 15, 2017
@rcjsuen rcjsuen self-assigned this Sep 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant