# VS Code

**URL:** https://discourse.julialang.org/c/tools/vscode/42.md?page=19

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 20

---

## [Julia extension in VS Code under Windows](https://discourse.julialang.org/t/julia-extension-in-vs-code-under-windows/51610)

<div class="topic-metadata">

**Author:** [@Vahagn\_Altunyan](https://discourse.julialang.org/u/Vahagn_Altunyan)\
**Replies:** 1\
**Last updated:** [December 10, 2020, 8:32pm UTC](https://discourse.julialang.org/t/julia-extension-in-vs-code-under-windows/51610 "2020-12-10T20:32:27Z")

</div>

Hi. I’m using Julia in VS Code under Windows. I have installed the Julia extension for VS Code, but autocomplete won’t work properly. It only suggests some words from the same file and not any variables. Also the Latex …

---

## [Development package dependencies in VSCodium](https://discourse.julialang.org/t/development-package-dependencies-in-vscodium/51181)

<div class="topic-metadata">

**Author:** [@GerhardHippmann](https://discourse.julialang.org/u/GerhardHippmann)\
**Replies:** 9\
**Last updated:** [December 7, 2020, 12:58pm UTC](https://discourse.julialang.org/t/development-package-dependencies-in-vscodium/51181 "2020-12-07T12:58:37Z")

</div>

I am working on a development package Modia3D which depends on another development package ModiaMath: (@v1.5) pkg\> status Status \`~/.julia/environments/v1.5/Project.toml\` ... \[ee78f7c6\] Makie v0.11.1 \[eff96d63\] Meas…

---

## [VSCode Debugger: Pause on failed test](https://discourse.julialang.org/t/vscode-debugger-pause-on-failed-test/51297)

<div class="topic-metadata">

**Author:** [@ettersi](https://discourse.julialang.org/u/ettersi)\
**Replies:** 2\
**Last updated:** [December 6, 2020, 3:48pm UTC](https://discourse.julialang.org/t/vscode-debugger-pause-on-failed-test/51297 "2020-12-06T15:48:01Z")

</div>

What’s the most convenient way to have the debugger pause upon hitting a failed @test? I assume I could set a breakpoint on some function in the Test package, but figuring out (and remembering) which is the appropriate …

---

## [VSCode displaying error markers for positional arguments](https://discourse.julialang.org/t/vscode-displaying-error-markers-for-positional-arguments/50980)

<div class="topic-metadata">

**Author:** [@Niclas\_Wiberg](https://discourse.julialang.org/u/Niclas_Wiberg)\
**Replies:** 1\
**Last updated:** [November 30, 2020, 2:52pm UTC](https://discourse.julialang.org/t/vscode-displaying-error-markers-for-positional-arguments/50980 "2020-11-30T14:52:36Z")

</div>

I’m using the awesome Julia mode in VSCode, thanks for that! One slight issue however is that vscode seems to display incorrect error markers on some calls to functions with keyword arguments. Is it possible to get rid …

---

## [VS Code cursor jumps to the end of file after execution](https://discourse.julialang.org/t/vs-code-cursor-jumps-to-the-end-of-file-after-execution/50929)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 2\
**Last updated:** [November 29, 2020, 11:29am UTC](https://discourse.julialang.org/t/vs-code-cursor-jumps-to-the-end-of-file-after-execution/50929 "2020-11-29T11:29:04Z")

</div>

When I execute a file in VS Code by pressing “Shift+Enter” the cursor jumps to the end of the file. How can I avoid this behavior?

---

## [\[ANN\] VS Code extension 1.0.10 released](https://discourse.julialang.org/t/ann-vs-code-extension-1-0-10-released/50320)

<div class="topic-metadata">

**Author:** [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Replies:** 8\
**Last updated:** [November 20, 2020, 1:20am UTC](https://discourse.julialang.org/t/ann-vs-code-extension-1-0-10-released/50320 "2020-11-20T01:20:00Z")

</div>

Hey everyone, we’ve released v1.0.10 of the VSCode extension for Julia! There are a bunch of fixes, improvements and new features – most notably the fact that you can now interrupt your code – (also see our changelog fo…

---

## [Redefining modules in VS Code](https://discourse.julialang.org/t/redefining-modules-in-vs-code/49978)

<div class="topic-metadata">

**Author:** [@evanfields](https://discourse.julialang.org/u/evanfields)\
**Replies:** 1\
**Last updated:** [November 11, 2020, 3:08pm UTC](https://discourse.julialang.org/t/redefining-modules-in-vs-code/49978 "2020-11-11T15:08:25Z")

</div>

I have a tiny file defining a module: module A using Dates: now println("Module $(@\_\_MODULE\_\_) defined at $(now())") end If I do Julia: Execute File three times, the REPL output is like so: Module Main.A defined at 20…

---

## [Shortcuts for editor/repl switching](https://discourse.julialang.org/t/shortcuts-for-editor-repl-switching/49955)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 3\
**Last updated:** [November 11, 2020, 9:14am UTC](https://discourse.julialang.org/t/shortcuts-for-editor-repl-switching/49955 "2020-11-11T09:14:59Z")

</div>

I’m used to being able to quickly go to the last editor (ctrl-j, ctrl-e) or to the repl (ctrl-j, ctrl-o) in juno. Is anyone willing to throw some hand-holding in the docs for how to do this in vs code? I looked at the d…

---

## [How can switch between two Julia versions using VS Code?](https://discourse.julialang.org/t/how-can-switch-between-two-julia-versions-using-vs-code/49472)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 2\
**Last updated:** [November 2, 2020, 7:33pm UTC](https://discourse.julialang.org/t/how-can-switch-between-two-julia-versions-using-vs-code/49472 "2020-11-02T19:33:22Z")

</div>

I have versions v1.5 and v1.6 installed and VS Code. I would like to benchmark both versions. How can I quickly switch between them without needing to reconfigure the path every time? Ideally I would like to be able t…

---

## [Error with multiprocessing in VSCode Julia](https://discourse.julialang.org/t/error-with-multiprocessing-in-vscode-julia/46450)

<div class="topic-metadata">

**Author:** [@bender9000](https://discourse.julialang.org/u/bender9000)\
**Replies:** 1\
**Last updated:** [October 30, 2020, 2:14pm UTC](https://discourse.julialang.org/t/error-with-multiprocessing-in-vscode-julia/46450 "2020-10-30T14:14:45Z")

</div>

I am trying to start Julia interpreter in VSCode with additional arguments -p 4 and getting this error. ERROR: LoadError: On worker 2: ArgumentError: Package VSCodeServer \[9f5989ce-84fe-42d4-91ec-6a7a8d53ed0f\] is requir…

---

## [Interactive slider in VSCode](https://discourse.julialang.org/t/interactive-slider-in-vscode/45246)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 5\
**Last updated:** [October 20, 2020, 2:45pm UTC](https://discourse.julialang.org/t/interactive-slider-in-vscode/45246 "2020-10-20T14:45:14Z")

</div>

Hey! So I know that one can make interactive sliders bound to for example a variable in the two notebooks Jupyter and Pluto. It is also possible in Juno according to the Interact.jl docs. But as VSCode is my favorite ID…

---

## [Input unicode characters in jupyther notebooks from vscode](https://discourse.julialang.org/t/input-unicode-characters-in-jupyther-notebooks-from-vscode/48537)

<div class="topic-metadata">

**Author:** [@Andrea\_Pagnani](https://discourse.julialang.org/u/Andrea_Pagnani)\
**Replies:** 0\
**Last updated:** [October 17, 2020, 10:18am UTC](https://discourse.julialang.org/t/input-unicode-characters-in-jupyther-notebooks-from-vscode/48537 "2020-10-17T10:18:41Z")

</div>

Dearests, I succeeded in making vscode run jupyther notebooks and also make it understand julia language syntax. (For those interested, I basically installed Python vscode extension + some small tweaks for syntax highl…

---

## [Plots window as a pane in VS Code](https://discourse.julialang.org/t/plots-window-as-a-pane-in-vs-code/48426)

<div class="topic-metadata">

**Author:** [@scheinerman](https://discourse.julialang.org/u/scheinerman)\
**Replies:** 1\
**Last updated:** [October 15, 2020, 12:53pm UTC](https://discourse.julialang.org/t/plots-window-as-a-pane-in-vs-code/48426 "2020-10-15T12:53:39Z")

</div>

I’m using Plots in the terminal in VS Code. I use the GR back end. Whenever I make a plot in the REPL the plot opens in a separate GR window (invariably behind my VS Code window). How do I make my plots appear in a panel…

---

## [VS code extension uses debugger to run the code not as in Docs](https://discourse.julialang.org/t/vs-code-extension-uses-debugger-to-run-the-code-not-as-in-docs/48215)

<div class="topic-metadata">

**Author:** [@BenCzaczkes](https://discourse.julialang.org/u/BenCzaczkes)\
**Replies:** 0\
**Last updated:** [October 12, 2020, 11:46am UTC](https://discourse.julialang.org/t/vs-code-extension-uses-debugger-to-run-the-code-not-as-in-docs/48215 "2020-10-12T11:46:24Z")

</div>

I am a new user so might be doing something wrong but I tried to follow “Getting Started · Julia in VS Code” specifically “To run the Hello World program, click Run: Julia File in Terminal play button in the top-right…

---

## [Exucute code in VS Code](https://discourse.julialang.org/t/exucute-code-in-vs-code/48171)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 14\
**Last updated:** [October 11, 2020, 8:02pm UTC](https://discourse.julialang.org/t/exucute-code-in-vs-code/48171 "2020-10-11T20:02:19Z")

</div>

I’m trying to use VS Code, and I got the REPL to run, as well as doing a little bit of arithmatic, but I’m not sure how to run a file.

---

## [How do you get debugger to work in current environment in VsCode](https://discourse.julialang.org/t/how-do-you-get-debugger-to-work-in-current-environment-in-vscode/47659)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 0\
**Last updated:** [October 2, 2020, 6:16pm UTC](https://discourse.julialang.org/t/how-do-you-get-debugger-to-work-in-current-environment-in-vscode/47659 "2020-10-02T18:16:00Z")

</div>

I cannot find the documentation on setting an active environment for the debugger. It doesn’t appear to use the active environment set in the REPL. Instead it goes back to the default for the Julia version @1.5. That …

---

## [Tab completion is not working in VS Code](https://discourse.julialang.org/t/tab-completion-is-not-working-in-vs-code/44580)

<div class="topic-metadata">

**Author:** [@yarnabrina](https://discourse.julialang.org/u/yarnabrina)\
**Replies:** 7\
**Last updated:** [October 1, 2020, 8:50am UTC](https://discourse.julialang.org/t/tab-completion-is-not-working-in-vs-code/44580 "2020-10-01T08:50:41Z")

</div>

Hi! I’m using Think Julia to learn Julia on my Windows 10 laptop using Visual Studio Code. I’m not using Atom+Juno as I’m much more familiar with VS Code. It is suggested in the book that pressing Tab after x\\^1 or x\\\_…

---

## [Question about VS code extension crash](https://discourse.julialang.org/t/question-about-vs-code-extension-crash/45769)

<div class="topic-metadata">

**Author:** [@Jian\_Zhao](https://discourse.julialang.org/u/Jian_Zhao)\
**Replies:** 2\
**Last updated:** [September 25, 2020, 11:52am UTC](https://discourse.julialang.org/t/question-about-vs-code-extension-crash/45769 "2020-09-25T11:52:50Z")

</div>

when I run println(“Hello world”), it works. However, when I want to plot something or run 1+1, it shows there is a code entension crash. I can run this on Jupyter, and can’t do it on VS code. Does anyone know why? t…

---

## [Plotting over ssh without X11](https://discourse.julialang.org/t/plotting-over-ssh-without-x11/47247)

<div class="topic-metadata">

**Author:** [@Niclas\_Wiberg](https://discourse.julialang.org/u/Niclas_Wiberg)\
**Replies:** 5\
**Last updated:** [September 25, 2020, 9:05am UTC](https://discourse.julialang.org/t/plotting-over-ssh-without-x11/47247 "2020-09-25T09:05:19Z")

</div>

I am running Julia over ssh in VSCode. What plotting options are there? I don’t have X11. VSCode can display images from the remote file system, so in principle it should be possible to plot to a file, and then show it …

---

## [Long start-up times for Julia REPL in VS Code](https://discourse.julialang.org/t/long-start-up-times-for-julia-repl-in-vs-code/43796)

<div class="topic-metadata">

**Author:** [@ettersi](https://discourse.julialang.org/u/ettersi)\
**Replies:** 10\
**Last updated:** [September 23, 2020, 4:25pm UTC](https://discourse.julialang.org/t/long-start-up-times-for-julia-repl-in-vs-code/43796 "2020-09-23T16:25:07Z")

</div>

It takes VS Code about 10 seconds to go from me clicking on “Julia: Start REPL” to the REPL being up and running. In comparison, starting Julia in a terminal takes only one second. Where does this difference come from? …

---

## [Where are exception details shown in VS Code when debugger is "paused on exception"?](https://discourse.julialang.org/t/where-are-exception-details-shown-in-vs-code-when-debugger-is-paused-on-exception/46470)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 1\
**Last updated:** [September 11, 2020, 5:59pm UTC](https://discourse.julialang.org/t/where-are-exception-details-shown-in-vs-code-when-debugger-is-paused-on-exception/46470 "2020-09-11T17:59:12Z")

</div>

Subject more or less says it all. My code causes an exception to be raised–in the terminal I get a detailed description of the exception including a stack trace. In VS Code all I see is “paused on exception” in the call …

---

## [\[ANN\] VS Code extension v0.15 released - with debugger](https://discourse.julialang.org/t/ann-vs-code-extension-v0-15-released-with-debugger/36415)

<div class="topic-metadata">

**Author:** [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Replies:** 21\
**Last updated:** [August 31, 2020, 7:33am UTC](https://discourse.julialang.org/t/ann-vs-code-extension-v0-15-released-with-debugger/36415 "2020-08-31T07:33:05Z")

</div>

We just released the first build from the v0.15 series of the VS Code Julia extension to the marketplace. The main new feature in this release is an experimental debugger. The rest of this post will describe what debuggi…

---

## [VS Code Debugger include("bar.jl") "paused on exception"](https://discourse.julialang.org/t/vs-code-debugger-include-bar-jl-paused-on-exception/42779)

<div class="topic-metadata">

**Author:** [@rdjconti](https://discourse.julialang.org/u/rdjconti)\
**Replies:** 4\
**Last updated:** [August 29, 2020, 4:00pm UTC](https://discourse.julialang.org/t/vs-code-debugger-include-bar-jl-paused-on-exception/42779 "2020-08-29T16:00:14Z")

</div>

Hello, I try to debug the example from julia discourse foo() calls bar() but with bar() in a separate file bar.jl function bar(a, b) c = a + b; d = a \* b; return c + d end and the file main.jl include("b…

---

## [Linting operator minus -](https://discourse.julialang.org/t/linting-operator-minus/45576)

<div class="topic-metadata">

**Author:** [@DOT](https://discourse.julialang.org/u/DOT)\
**Replies:** 0\
**Last updated:** [August 26, 2020, 2:05pm UTC](https://discourse.julialang.org/t/linting-operator-minus/45576 "2020-08-26T14:05:46Z")

</div>

When operator - has a type assert for the return type, the linter declares the two arguments “Missing References” (orange under-wriggle in the screenshot):

---

## [VS Code Editor and Terminal on Separate Monitors](https://discourse.julialang.org/t/vs-code-editor-and-terminal-on-separate-monitors/45248)

<div class="topic-metadata">

**Author:** [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Replies:** 8\
**Last updated:** [August 26, 2020, 12:19am UTC](https://discourse.julialang.org/t/vs-code-editor-and-terminal-on-separate-monitors/45248 "2020-08-26T00:19:42Z")

</div>

My desktop uses three monitors. I was wondering if it is possible to make VS Code’s editor and terminal shown on separate monitors. This would allow me to focus on the editor area while being able to view results on the …

---

## [Can I configure the Julia VSCode extension to send code to an external terminal window?](https://discourse.julialang.org/t/can-i-configure-the-julia-vscode-extension-to-send-code-to-an-external-terminal-window/45428)

<div class="topic-metadata">

**Author:** [@pjentsch0](https://discourse.julialang.org/u/pjentsch0)\
**Replies:** 1\
**Last updated:** [August 23, 2020, 8:06pm UTC](https://discourse.julialang.org/t/can-i-configure-the-julia-vscode-extension-to-send-code-to-an-external-terminal-window/45428 "2020-08-23T20:06:46Z")

</div>

I really like the VSCode extension but prefer to use an external terminal running julia as my REPL. Is it possible to tell VSCode to send code to that terminal when I do “run code” (for instance)?

---

## [Is it possible to start VS code with Julia repl running?](https://discourse.julialang.org/t/is-it-possible-to-start-vs-code-with-julia-repl-running/45389)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 5\
**Last updated:** [August 23, 2020, 7:20pm UTC](https://discourse.julialang.org/t/is-it-possible-to-start-vs-code-with-julia-repl-running/45389 "2020-08-23T19:20:58Z")

</div>

As it says in the subject line.

---

## [VS code error](https://discourse.julialang.org/t/vs-code-error/45349)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 8\
**Last updated:** [August 23, 2020, 1:07am UTC](https://discourse.julialang.org/t/vs-code-error/45349 "2020-08-23T01:07:34Z")

</div>

I get this error when I try to run Julia REPL in VS Code (Windows 10): ERROR: LoadError: IOError: mkdir: invalid argument (EINVAL) Stacktrace: \[1\] uv\_error at .\\libuv.jl:97 \[inlined\] \[2\] mkdir(::String; mode::UInt16) …

---

## [Not getting inline results on VS Code similar to Juno](https://discourse.julialang.org/t/not-getting-inline-results-on-vs-code-similar-to-juno/45314)

<div class="topic-metadata">

**Author:** [@LasseKatten](https://discourse.julialang.org/u/LasseKatten)\
**Replies:** 13\
**Last updated:** [August 21, 2020, 9:55pm UTC](https://discourse.julialang.org/t/not-getting-inline-results-on-vs-code-similar-to-juno/45314 "2020-08-21T21:55:23Z")

</div>

Hi I recently switched from Juno to VS Code, and I’m looking for a way to replicate the following Thus far, I’ve set the results to show inline but it only appears in REPL on execution. What am I doing wrong?

---

## [Juno buttons in the sidebar?](https://discourse.julialang.org/t/juno-buttons-in-the-sidebar/45105)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 0\
**Last updated:** [August 17, 2020, 1:44pm UTC](https://discourse.julialang.org/t/juno-buttons-in-the-sidebar/45105 "2020-08-17T13:44:49Z")

</div>

I liked the play (start repl), pause, stop, save buttons in Juno. Is there a way to manually create them ? Or is it planned to add them to VS ?

[Previous page](https://discourse.julialang.org/c/tools/vscode/42.md?page=18)

[Next page](https://discourse.julialang.org/c/tools/vscode/42.md?page=20)
