-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Unable to import "well-known" modules #29
Comments
Hi there, I have the same problem too. Anybody knows the solution. |
To manage such situations ~/.yang/yang.settings { For those who use NSO, here are some path examples: { or even: { More about this: https://github.com/theia-ide/yang-lsp/blob/master/docs/Settings.md |
@nckbgov cool, thank you for the feedback. I will give this a try. |
@nckbgov Your advice works. However, the $HOME or ~/ in "yangPath" path are not resolved. In result, yang.settings in project folder cannot be put in a git repo used by different people. Similarly, yang.settings in ~/.yang folder will not be set by a project git repo. Not quite convenient. |
Hi there, first of all great tool, it helps me a lot!
I use it with Cisco NSO primarily, and most of my modules have a set of imports for things like ietf-yang-types, tailf-ncs, etc at the beginning, but yangster doesn't seem to be able to resolve those. They are underlined and hovering over them prints up "Couldn't resolve reference to AbstractModule 'ietf-yang-types'.(org.eclipse.xtext.diagnostics.Diagnostic.Linking)".
Is there any way to fix this or at least ignore these errors?
Thanks!
The text was updated successfully, but these errors were encountered: