Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbols not indexed on deved packages on remote servers #3205

Open
ssfrr opened this issue Jan 27, 2023 · 2 comments
Open

Symbols not indexed on deved packages on remote servers #3205

ssfrr opened this issue Jan 27, 2023 · 2 comments

Comments

@ssfrr
Copy link

ssfrr commented Jan 27, 2023

I'm not getting symbols generated for some reason. On one large private project it doesn't seem to be indexing anything outside of Base, but in the minimal example below it works for other installed packages, but not a package that's deved.

It also appears to work locally, just not on a machine I'm accessing through vscode's SSH remote feature. I'm not sure if that's core to this issue or if there's some other difference between the machines.

Not sure if it's related, but I also sometimes see the error:

┌ Error: CST does not match input string length.
└ @ LanguageServer ~/.vscode-server/extensions/julialang.language-julia-1.38.2/scripts/packages/LanguageServer/src/requests/textdocument.jl:118

I pushed a package that reproduces the issue for me: https://github.com/ssfrr/SymbolTest.jl

If you go into the SubPkg environment and edit src/SubPkg.jl, after the julia server starts up it's able to find the definition of domath (from Example.jl) but not greet (which is defined in the SymbolTest.jl package, which is deved into the SubPkg environment.

@ssfrr
Copy link
Author

ssfrr commented Feb 10, 2023

The issue of the large private project not getting symbols may be a separate issue (unrelated to the CST error above). See julia-vscode/SymbolServer.jl#265.

@Octogonapus
Copy link

Octogonapus commented Sep 2, 2023

I am also experiencing this issue, but entirely locally instead of over SSH. @pfitzseb let me know if you'd like me to provide a trace or something. however i can help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants