imc-trading / svlangserver

MIT License
100 stars 13 forks source link

initial setup questions #40

Open forensicgarlic opened 1 year ago

forensicgarlic commented 1 year ago

I'm having some problems with initial setup in VsCode. I can tell that the the verilator lint command is running successfully on a single file based on what the highlighter and problems log says, but I can also tell it's not passing other files, even other files in that directory to Verilator. When I manually run the linting command in my terminal on a single file, I see the same problem output, but including even one more file (again, in that same directory) is enough to move past these early import myPkg::*; errors.

How does the include indexxing globs get turned into filenames to pass to verilator? I'm new to VsCode, is there a way I can see the command SVLangServer runs for verilator to get a better feel for how i might need to modify the searches?

kkanhere commented 1 year ago

Can you please provide the version of the language server you are on? A quick and easy way would be to look at the .vscode/svlangserver/linter.vc file which is basically what is used for linting of files.