Skip to content

cImport: how to add more includepath? #636

Closed Answered by Techatrix
kassane asked this question in Q&A
Discussion options

You must be logged in to vote

zls automatically runs your build.zig and extracts all include dirs which are added with addIncludePath.

I would recommend doing the following things to possibly find the issue:

  1. try updating to the latest master version
  2. double check if your build.zig adds all your required include dirs with addIncludePath
  3. check if the files are actually located in those directories
  4. Are there any error messages in your zls logs? Maybe they indicate what the problem is. Where you find the logs of your language server depends on your code editor.
  5. just post your entire zls logs so i can take a look at them. (you could also just skip to this step)

How to open ZLS logs for some editors

Code Editor Instruct…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kassane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants