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
I have a proto folder at /Users/userx/project/proto and am trying to import google types from: /Users/userx/google/proto. For the sake of the issue, lets say I am trying to import date.proto from /Users/userx/google/proto/google/type/date.proto.
I have set my --proto_path appropriately, so the imports do not give me errors (ie. they point to the correct google files). Here is my --proto_path in settings.json:
However, when I try to Go to definition or Peek definition on my import line, I get the error No definition found for date.proto.
I am aware of #12, but this is not a solution as this issue only covers local imports, meaning I am able to Go to Definition for imports inside of my /Users/userx/project/proto directory, but as soon as I want to step out of that directory, I can not Go to or Peek.
The text was updated successfully, but these errors were encountered:
Hi,
I have a proto folder at
/Users/userx/project/proto
and am trying to import google types from:/Users/userx/google/proto
. For the sake of the issue, lets say I am trying to importdate.proto
from/Users/userx/google/proto/google/type/date.proto
.I have set my
--proto_path
appropriately, so the imports do not give me errors (ie. they point to the correct google files). Here is my--proto_path
in settings.json:Below is my example code:
However, when I try to
Go to definition
orPeek definition
on my import line, I get the errorNo definition found for date.proto
.I am aware of #12, but this is not a solution as this issue only covers local imports, meaning I am able to
Go to Definition
for imports inside of my/Users/userx/project/proto
directory, but as soon as I want to step out of that directory, I can not Go to or Peek.The text was updated successfully, but these errors were encountered: