You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM node
ARG var=value
ARG var=value2
RUN echo $var
RUN echo $var
If you select the $var on the two RUN lines and invoke the textDocument/definition request, it will jump to the second ARG line. It should jump to the first ARG line instead.
The text was updated successfully, but these errors were encountered:
rcjsuen
changed the title
textDocument/definition finds most recent variable declaration instead of the earliest one
textDocument/definition finds most the last variable declaration instead of the earliest one
Aug 7, 2017
Actually, looks like it finds the last one instead. The textDocument/definition request returns the second ARG instruction at the bottom instead of the first.
FROM node
ARG var
RUN echo $var
ARG var
rcjsuen
changed the title
textDocument/definition finds most the last variable declaration instead of the earliest one
textDocument/definition finds the last variable declaration instead of the earliest one
Aug 7, 2017
If you select the
$var
on the twoRUN
lines and invoke thetextDocument/definition
request, it will jump to the secondARG
line. It should jump to the firstARG
line instead.The text was updated successfully, but these errors were encountered: