# VS Code extension v0.11.0 beta release

**URL:** <https://discourse.julialang.org/t/vs-code-extension-v0-11-0-beta-release/17541>\
**Category:** VS Code\
**Created:** [November 15, 2018, 1:42am UTC](https://discourse.julialang.org/t/vs-code-extension-v0-11-0-beta-release/17541 "2018-11-15T01:42:33Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [November 22, 2018, 2:49am UTC](https://discourse.julialang.org/t/vs-code-extension-v0-11-0-beta-release/17541/21 "2018-11-22T02:49:16Z")

</div>

Thanks everyone for the feedback!

We are happy about feedback in any form, but you can make our lives a little easier by opening issues over at [GitHub - julia-vscode/julia-vscode: Julia extension for Visual Studio Code](https://github.com/JuliaEditorSupport/julia-vscode), ideally one issue for each problem you encounter 🙂 If that is too cumbersome, keep responding here, more important than our workflow is that we hear the feedback!

> If I use Julia REPL (started by F1, then “Julia: Start REPL” or by Ctrl-Enter to execute selected lines of code), my PyPlot plotting will take long time and will not generate any window with plot. However, if I go with the standard terminal and start Julia manually there, the PyPlot plotting works fine. This is a big problem for me as my script does a lot of plots.

This sounds to me like [this](https://github.com/JuliaEditorSupport/julia-vscode/issues/325)? Does it also now show anything when you call `gcf()`? Or is this another, distinct problem?

> [@Zhong\_Pan](#):
>
> I can see F5 is now using “include”. However, Julia REPL just hangs indefinitely after the “include” command. My guess is, I’m on Windows so “\” appeared in paths, and Julia took those “\” as part of escape sequences. I think using a raw string for the script full path and name should solve this problem.

Thanks for this report, very helpful! [F5 hangs on Windows · Issue #602 · julia-vscode/julia-vscode · GitHub](https://github.com/JuliaEditorSupport/julia-vscode/issues/602)

> [@Zhong\_Pan](#):
>
> Hover help takes quite some time to initialize and there is no indication it is still loading.

> <https://github.com/julia-vscode/julia-vscode/issues/603>
>
> Either that, or get rid of all startup delays somehow. Or both.

> [@Zhong\_Pan](#):
>
> Once loaded, it is still not showing doc string from my own functions or functions from my own modules. It does not show PyPlot’s “plot” as undefined symbol anymore, but it only shows something like "PyPlot.LazyHelp[LazyHelp(PyObject(Ptr{PyObject\_struct} @0x00000000224e23a8), (“plot”,))] for PyPlot functions.

> <https://github.com/julia-vscode/julia-vscode/issues/604>
>
> From discourse, on v0.11.0-beta.2:
> 
> \> Once loaded, it is still not showing doc… string from my own functions or functions from my own modules. It does not show PyPlot’s “plot” as undefined symbol anymore, but it only shows something like "PyPlot.LazyHelp\[LazyHelp(PyObject(Ptr{PyObject\_struct} @0x00000000224e23a8), (“plot”,))\] for PyPlot functions.

> [@barche](#):
>
> Thanks for this, it installed and loaded fine, but when I tried editing a project, it defaulted to the `1.0` environment, and when I pointed it manually to the directory (which has a Project.toml and Manifest.toml) it claimed the directory was not an environment. I think it would be better to use the current workspace directory as default environment, if it contains a Project.toml.

The whole environment support right now is half baked, and we won’t fix this before we ship v0.11.0… I know pretty much what needs to be done to get this all into shape (some of it is really tricky), and that will be the main thing for v0.12.0 for me. But right now, we mainly want to ship 🙂

---

<div class="post-metadata">

**Author:** ![Zhong\_Pan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhong_pan/32/19872_2.png) [@Zhong\_Pan](https://discourse.julialang.org/u/Zhong_Pan)\
**Post date:** [November 26, 2018, 7:05pm UTC](https://discourse.julialang.org/t/vs-code-extension-v0-11-0-beta-release/17541/22 "2018-11-26T19:05:26Z")

</div>

Thanks! Calling “gcf()” did show the plot in a new plane.

I almost thought “gcf()” didn’t work when I followed it by a semicolon “;” in REPL habitually. This “;” suppressed the plot output. When I removed “;” it worked.

---

<div class="post-metadata">

**Author:** ![Zhong\_Pan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhong_pan/32/19872_2.png) [@Zhong\_Pan](https://discourse.julialang.org/u/Zhong_Pan)\
**Post date:** [November 26, 2018, 7:53pm UTC](https://discourse.julialang.org/t/vs-code-extension-v0-11-0-beta-release/17541/23 "2018-11-26T19:53:48Z")

</div>

Sorry for so many questions - I’m new to VS plot planes.  
(1) How do I interact with a PyPlot plot in a plot plane? E.g. pan, zoom, change to full screen, save as figure, …  
(2) If I cannot do that for a plot plane, am I able to still use the F5 (and thus the REPL) but not the plot plane (which is triggered by gcf())?

Thanks!

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [November 27, 2018, 1:45am UTC](https://discourse.julialang.org/t/vs-code-extension-v0-11-0-beta-release/17541/24 "2018-11-27T01:45:40Z")

</div>

> [@Zhong\_Pan](#):
>
> How do I interact with a PyPlot plot in a plot plane? E.g. pan, zoom, change to full screen, save as figure, …

You can’t, the plot pane is quite basic right now.

> [@Zhong\_Pan](#):
>
> If I cannot do that for a plot plane, am I able to still use the F5 (and thus the REPL) but not the plot plane (which is triggered by gcf())?

You should be able to pop the VS Code display from the julia base display stack and then the plotpane won’t be used anymore.

---

<div class="post-metadata">

**Author:** ![Zhong\_Pan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhong_pan/32/19872_2.png) [@Zhong\_Pan](https://discourse.julialang.org/u/Zhong_Pan)\
**Post date:** [November 27, 2018, 8:27am UTC](https://discourse.julialang.org/t/vs-code-extension-v0-11-0-beta-release/17541/25 "2018-11-27T08:27:31Z")

</div>

Thanks! I’m newbie regarding this. Can you explain or point me to any document that explains how to “pop the VS Code display from the julia base display stack”?

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [December 19, 2018, 5:27pm UTC](https://discourse.julialang.org/t/vs-code-extension-v0-11-0-beta-release/17541/26 "2018-12-19T17:27:55Z")

</div>

> [@Zhong\_Pan](#):
>
> Thanks! I’m newbie regarding this. Can you explain or point me to any document that explains how to “pop the VS Code display from the julia base display stack”?

[https://docs.julialang.org/en/latest/base/io-network/#Base.Multimedia.popdisplay](https://docs.julialang.org/en/latest/base/io-network/#Base.Multimedia.popdisplay)

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [December 30, 2018, 12:33am UTC](https://discourse.julialang.org/t/vs-code-extension-v0-11-0-beta-release/17541/27 "2018-12-30T00:33:33Z")

</div>

We have a first release candidate:

> **[Release v0.11.0-rc.1 · julia-vscode/julia-vscode](https://github.com/julia-vscode/julia-vscode/releases/tag/v0.11.0-rc.1)**
>
> Julia extension for Visual Studio Code. Contribute to julia-vscode/julia-vscode development by creating an account on GitHub.

Please give it a spin and report back any errors/issues!

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [December 30, 2018, 6:42pm UTC](https://discourse.julialang.org/t/vs-code-extension-v0-11-0-beta-release/17541/28 "2018-12-30T18:42:20Z")

</div>

And we have a second release candidate:

[https://github.com/JuliaEditorSupport/julia-vscode/releases/tag/v0.11.0-rc.2](https://github.com/JuliaEditorSupport/julia-vscode/releases/tag/v0.11.0-rc.2)

This one fixes a bug where the plot pane “stole” various keyboard shortcuts from the editor.

---

<div class="post-metadata">

**Author:** ![affans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/affans/32/11911_2.png) [@affans](https://discourse.julialang.org/u/affans)\
**Post date:** [December 30, 2018, 11:01pm UTC](https://discourse.julialang.org/t/vs-code-extension-v0-11-0-beta-release/17541/29 "2018-12-30T23:01:36Z")

</div>

On Windows, it still seems to be pasting the code into the REPL.

```julia
julia> module Aretto
           using Distributed
               import Distributed.launch, Distributed.manage, Distributed.kill, Distributed.init_worker, Distributed.connect
                   export SlurmManager
                       export launch, manage
                           worker_arg = `--worker`
                               function __init__ ()
                                       global worker_arg
                                               worker_arg = `--worker=$(Distributed.cluster_cookie())`
                                                   end
                                                       struct ArettoManager <: ClusterManager
                                                               np::Integer
                                                                   end
                                                                       function launch(manager::ArettoManager, params::Dict, launched::Array, c::Condition)
                                                                               ## get the keyword arguments passed to addprocs()
                                                                                       exehome = params[:dir]
                                                                                               exename = params[:exename]
                                                                                                       exeflags = params[:exeflags]
julia> module Aretto using Distributed
               import Distributed.launch, Distributed.manage, Distributed.kill, Distributed.init_worker, Distributed.connect export SlurmManager
                       export launch, manage
                           worker_arg = `--worker`
                               function __init__ ()
                                       global worker_arg worker_arg = `--worker=$(Distributed.cluster_cookie())`
                                                   end
                                                       struct ArettoManager <: ClusterManager
                                                               np::Integer
                                                                   end
                                                                       function launch(manager::ArettoManager, params::Dict, launched::Array, c::Condition)
                                                                               ## get the keyword arguments passed to addprocs()
                                                                                       exehome = params[:dir]
                                                                                               exename = params[:exename]
                                                                                                       exeflags = params[:exeflags]
                                                                                                               ## get the default arguments passed to addprocs()
                                                                                                                       stdkeys = keys(Distributed.default_addprocs_params())
                                                                                                                               p = filter((x,y) -> !(x
in stdkeys), params) #get the keys passed in params that are not in stdkeys
                                                                                                                                       srunargs = []
                                                                                                                                               return nothing
                                                                                                                                                   end

function manage()

        error("not implemented")

            end

            end
WARNING: replacing module Aretto.
Main.Aretto

```

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [December 31, 2018, 1:43am UTC](https://discourse.julialang.org/t/vs-code-extension-v0-11-0-beta-release/17541/30 "2018-12-31T01:43:57Z")

</div>

You mean when you press F5? Try to save the file before you hit F5, then it should include it.

We’ll really have to revamp our whole code running story, but for now we just want to get a version that is compatible with julia 1.0 out…

[Previous page](https://discourse.julialang.org/t/vs-code-extension-v0-11-0-beta-release/17541.md?page=1)
