LanguageServer.jl
LanguageServer.jl copied to clipboard
Package indexing takes very long when the package is `dev`ed
Package attached in .zip file its a simple package made with package template ,
newpackage.jl simple import enzyme ,defines 1 function and exports it.
module newpackage
using Enzyme
# Write your package code here.
function f3()
return 4
end
export f3
end
if a project is using this using the package in dev mode.
any change to the package source files causes lsp to index again and this takes very long , logs show it to be stuck on indexing the package
adding the package however does not cause lsp to stall.
[ERROR][2024-12-16 16:08:56] .../vim/lsp/rpc.lua:770 "rpc" "/usr/bin/julia" "stderr" "[ Info: Indexing newpackage... (0%)\n"
[ERROR][2024-12-16 16:11:40] .../vim/lsp/rpc.lua:770 "rpc" "/usr/bin/julia" "stderr" 'WARNING: both Libdl and ObjectF
here it takes about 3 minutes.
another package i have in development takes 5-6 minutes
[ERROR][2024-12-16 14:06:32] .../vim/lsp/rpc.lua:770 "rpc" "/home/antineutrino/.julia/environments/nvim-lspconfig/bin/julia" "stderr" "[ Info: Indexing TMSimulator... (0%)\n"
[ERROR][2024-12-16 14:12:18] .../vim/lsp/rpc.lua:770 "rpc" "/home/antineutrino/.julia/environments/nvim-lspconfig/bin/julia" "stderr" 'WARNING: both DiffEqBase and BoundaryValueDiffEqCore export "AbsNormTerminationMode"; uses of it in module BoundaryValueD