TypeFox / yang-lsp

A Language Server for YANG
http://www.yang-central.org
Apache License 2.0
52 stars 13 forks source link

Support external library pathes #115

Closed svenefftinge closed 6 years ago

svenefftinge commented 6 years ago

It would be good to allow external paths and zips to include. See https://github.com/theia-ide/yang-vscode/issues/4

JanKoehnlein commented 6 years ago

You can add these libs as yangPath in the yang.settings file in your home folder or in the workspace root now. Entries can be yang file names, directory names or zip file names (all absolute) in OS specific syntax, separated by the OS specific path separator.

Example

{
    "yangPath": "/path/to/rift.zip:/some/special/my.yang:/some/dir/containing/yang/files",
}