Skip to content

'is_third_party' does not disable errors in third party libraries #366

Open
@JakubFranek

Description

@JakubFranek

Hello

I am using vhdl-ls linter via TerosHDL integration in VS Code. I have a vhld_ls.toml file like this in the root of my repository:

[libraries]

vunit_lib.files = ['.venv/Lib/site-packages/vunit/**/*.vhd']
vunit_lib.is_third_party = true

mylib.files = ['sources/**/*.vhd']
mylib.is_third_party = false

Adding vunit_lib like this was the only way I found to have vhdl-ls recognize vunit_lib usage within my testbenches successfully.

My expectation is that the vunit_lib.is_third_party = true statement will supress all errors within vunit_lib.

The reality is hundreds of errors, all in vunit_lib:

Image

Is this a bug, working as intened, or is there perhaps a different way to ignore/supress/exclude errors in a particular folder?

I find this behavior very annoying. If I don't include vunit_lib files, I get errors in my testbench, if I do, I get errors in vunit_lib itself.

Thank you.

Kind regards
Jakub

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions