julia-vscode / SymbolServer.jl

Other
23 stars 31 forks source link

fix paths of symbols in stdlibs #184

Closed aviatesk closed 4 years ago

aviatesk commented 4 years ago

Currently the locations of symbols in standard library are invalid for julia that is not built from source. E.g. LinearAlgebra.eigen's location would be /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/InteractiveUtils/src/InteractiveUtils.jl:53 on macOS. This is because of https://github.com/JuliaLang/julia/issues/26314 and I'm trying to fix this borrowing the code in CodeTracking.jl to fix this issue.

@ZacLN is my understanding correct that SymbolServer only collects locations of methods, right ? Otherwise we need to use this kind of patching for other places as well.

ZacLN commented 4 years ago

@aviatesk yep