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

Completions of module names (types, et cetera) should be limited to modules that are actually available #59

Open
davidmichaelkarr opened this issue Dec 2, 2015 · 0 comments

Comments

@davidmichaelkarr
Copy link
Contributor

It appears that yang-ide indexes all the Yang files it finds in all open projects, along with those found in Maven dependencies of the current project. The Yang components it finds in those modules (modules, types, et cetera) are offered as completion suggestions.

However, if you select a module (or type) from completion suggestions that isn't actually available for the yangtools compiler for this project (in Maven dependencies or the same project), then right after inserting that module reference, you'll get a red marker, saying it can't find that module (or type).

Completion suggestions should be limited to choices that are valid for the current module and project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant