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
Packages and Name Resolution
Type name resolution in the protocol buffer language works like C++: first the innermost scope is searched, then the next-innermost, and so on, with each package considered to be “inner” to its parent package. A leading ‘.’ (for example, .foo.bar.Baz) means to start from the outermost scope instead.
In other words models.CompanyResponse should be resolved same as prototes.models.CompanyResponse when called within a scope of prototest package.
Language guide defines name resolution as follows:
In other words
models.CompanyResponse
should be resolved same asprototes.models.CompanyResponse
when called within a scope ofprototest
package.Here is a minimal example:
https://github.com/doctorstal/nvim-protols-test/tree/main/prototest
CompanyService
andCompanyServiceRelative
should be the same, and they are compiled the same byprotoc
.However, when I'm using
protols
and try Go to Definition or References - onlyCompanyService
is working as expectedThe text was updated successfully, but these errors were encountered: