# How to jump to julia std lib source code in vscoe

**URL:** <https://discourse.julialang.org/t/how-to-jump-to-julia-std-lib-source-code-in-vscoe/44803>\
**Category:** VS Code\
**Tags:** question\
**Created:** [August 12, 2020, 12:19pm UTC](https://discourse.julialang.org/t/how-to-jump-to-julia-std-lib-source-code-in-vscoe/44803 "2020-08-12T12:19:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hzgzh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hzgzh/32/6596_2.png) [@hzgzh](https://discourse.julialang.org/u/hzgzh)\
**Post date:** [August 12, 2020, 12:19pm UTC](https://discourse.julialang.org/t/how-to-jump-to-julia-std-lib-source-code-in-vscoe/44803/1 "2020-08-12T12:19:17Z")

</div>

sorry for my poor english.  
In vscode when I hove on svd function,it display a window about function instruction,I get this

````julia
svd!(A; full::Bool = false, alg::Algorithm = default_svd_alg(A)) -> SVD
svd! is the same as svd, but saves space by overwriting the input A, instead of creating a copy. See documentation of svd for details. ```

svd!(A, B) -> GeneralizedSVD
svd! is the same as svd, but modifies the arguments A and B in-place, instead of making copies. See documentation of svd for details. ```

LinearAlgebra.svd! is a Function. 4 methods for function LinearAlgebra.svd!

svd!(A::LinearAlgebra.AbstractTriangular where S<:Core.AbstractArray where T where T) in LinearAlgebra at `D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\triangular.jl:2672`
svd!(A::Union{Core.DenseArray,Base.ReinterpretArray where S where A<:Union{Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T},Base.ReshapedArray where MI<:Core.Tuple where A<:Union{Base.ReinterpretArray where S where A<:Union{Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T} where N where T,Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T},Base.SubArray where L where I<:Core.Tuple where A<:Union{Base.ReinterpretArray where S where A<:Union{Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T} where N where T,Base.ReshapedArray where MI<:Core.Tuple where A<:Union{Base.ReinterpretArray where S where A<:Union{Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T} where N where T,Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T} where N where T,Core.DenseArray where N where T}}) in LinearAlgebra at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\svd.jl:93
svd!(A::Union{Core.DenseArray,Base.ReinterpretArray where S where A<:Union{Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T},Base.ReshapedArray where MI<:Core.Tuple where A<:Union{Base.ReinterpretArray where S where A<:Union{Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T} where N where T,Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T},Base.SubArray where L where I<:Core.Tuple where A<:Union{Base.ReinterpretArray where S where A<:Union{Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T} where N where T,Base.ReshapedArray where MI<:Core.Tuple where A<:Union{Base.ReinterpretArray where S where A<:Union{Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T} where N where T,Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T} where N where T,Core.DenseArray where N where T}}, B::Union{Core.DenseArray,Base.ReinterpretArray where S where A<:Union{Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T},Base.ReshapedArray where MI<:Core.Tuple where A<:Union{Base.ReinterpretArray where S where A<:Union{Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T} where N where T,Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T},Base.SubArray where L where I<:Core.Tuple where A<:Union{Base.ReinterpretArray where S where A<:Union{Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T} where N where T,Base.ReshapedArray where MI<:Core.Tuple where A<:Union{Base.ReinterpretArray where S where A<:Union{Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T} where N where T,Base.SubArray where I<:Union{Core.Tuple,Core.Tuple} where A<:Core.DenseArray where N where T where N where T,Core.DenseArray where N where T} where N where T,Core.DenseArray where N where T}}) in LinearAlgebra at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\svd.jl:363
svd!(M::LinearAlgebra.Bidiagonal where V<:Core.AbstractArray where #s823<:Union{Core.Float32,Core.Float64}) in LinearAlgebra at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\bidiag.jl:202

````

why there is the red color text link “D:\buildbot\worker\package\_win64\build\usr\share\julia\stdlib\v1.5\LinearAlgebra\src\triangular.jl:2672”  
in my computer ,there no such directory `d:\buildbot\worker\package-win64\build`  
when I click this link, can’t not open this link.  
How can I link to the correct src file position in vscode

---

<div class="post-metadata">

**Author:** ![hendri54](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hendri54/32/9621_2.png) [@hendri54](https://discourse.julialang.org/u/hendri54)\
**Post date:** [August 12, 2020, 2:09pm UTC](https://discourse.julialang.org/t/how-to-jump-to-julia-std-lib-source-code-in-vscoe/44803/2 "2020-08-12T14:09:51Z")

</div>

See [Go to Definition](https://code.visualstudio.com/docs/editor/editingevolved)

Press F12 to get a list of all method definitions that the language server can find.

---

<div class="post-metadata">

**Author:** ![hzgzh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hzgzh/32/6596_2.png) [@hzgzh](https://discourse.julialang.org/u/hzgzh)\
**Post date:** [August 13, 2020, 2:04am UTC](https://discourse.julialang.org/t/how-to-jump-to-julia-std-lib-source-code-in-vscoe/44803/3 "2020-08-13T02:04:42Z")

</div>

zeros round function can display the right source code file position and svd eigen function can not display

---

<div class="post-metadata">

**Author:** ![hendri54](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hendri54/32/9621_2.png) [@hendri54](https://discourse.julialang.org/u/hendri54)\
**Post date:** [August 13, 2020, 11:29am UTC](https://discourse.julialang.org/t/how-to-jump-to-julia-std-lib-source-code-in-vscoe/44803/4 "2020-08-13T11:29:33Z")

</div>

It looks like VSCode is using the path to the precompiled `svd!` (hence the buildbot directory). You may have to use `@edit svd!` (providing the args that you want so you get the right method) instead.  
This may be worth filing an issue for.
