VS Code could not index GLMakie

I just downloaded Julia form oficial source, installed VSCode recommended extension. created and activated a new env. Then installed GLMakie

using Pkg
Pkg.add("GLMakie")

Everything works fine, the examples in Makie run correctly, and the language server works correctly except when I hover using GLMakie it says GLMakie could not be indexed.

Its quite annoying, I cant access docs or definitions for GLMakie functions.

Hi,

Welcome to the Julia community!

Could you post some more information about your setup? E.g. what version of Julia, GLMakie, VS Code and the Julia extension are you using? On what operating system?

If you install GLMakie to the base environment and work in that, does the indexing then work properly?

Hi, thank you for replying.

  • julia 1.11.1
  • GLMakie 0.10.16
  • VSCode 1.95
  • Extension julialang
    Im on Pop! OS.

Installing GLMakie on base env doesn’t work either

To clarify, does it also work on other packages you installed (e.g. Format.jl, which has nice documentation and is lightweight)?

(Not that I would be able to make much out of the concrete version number, but perhaps someone more knowledgeable than I could jump in.) Which version exactly? E.g. I have v1.127.2 installed.

It doesn’t work with Format.jl, right now it only works with Base and Core.
I also have julialang 1.127.2

Are the packages by any chance installed to a location where VS Code does not have read permissions?

(You can find the location of e.g. Format.jl via

using Format
println(pathof(Format))

)