# VS Code

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

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

**Page:** 9

---

## [Profiling in VSCode shows blank tab on first run?](https://discourse.julialang.org/t/profiling-in-vscode-shows-blank-tab-on-first-run/100492)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 2\
**Last updated:** [June 17, 2023, 6:10pm UTC](https://discourse.julialang.org/t/profiling-in-vscode-shows-blank-tab-on-first-run/100492 "2023-06-17T18:10:49Z")

</div>

Hi everyone, In the last few weeks, I have found that the @profview macro from the VSCode extension shows a blank tab the first time I run it, and then gives me the flame graph on the second run. Does it happen to anyon…

---

## [New pre-release distribution method for the Julia VS Code extension](https://discourse.julialang.org/t/new-pre-release-distribution-method-for-the-julia-vs-code-extension/88313)

<div class="topic-metadata">

**Author:** [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Replies:** 2\
**Last updated:** [June 13, 2023, 4:13pm UTC](https://discourse.julialang.org/t/new-pre-release-distribution-method-for-the-julia-vs-code-extension/88313 "2023-06-13T16:13:54Z")

</div>

We just changed how we distribute pre-release versions of the Julia extension for VS Code. In the past we had a separate extension in the VS Code marketplace that was called Julia Insider for this purpose. That insider e…

---

## [Installing Plots from Pkg](https://discourse.julialang.org/t/installing-plots-from-pkg/100210)

<div class="topic-metadata">

**Author:** [@Shashi\_Samdarshi](https://discourse.julialang.org/u/Shashi_Samdarshi)\
**Replies:** 3\
**Last updated:** [June 12, 2023, 4:45pm UTC](https://discourse.julialang.org/t/installing-plots-from-pkg/100210 "2023-06-12T16:45:27Z")

</div>

I am getting errors during installing Plots from Pkg Please guide me.

---

## [Inconvenience due to Code runner](https://discourse.julialang.org/t/inconvenience-due-to-code-runner/100132)

<div class="topic-metadata">

**Author:** [@BeitianMa](https://discourse.julialang.org/u/BeitianMa)\
**Replies:** 3\
**Last updated:** [June 11, 2023, 2:36pm UTC](https://discourse.julialang.org/t/inconvenience-due-to-code-runner/100132 "2023-06-11T14:36:11Z")

</div>

As I am recently learning C, I have installed Code runner to enable me to compile C code on VSCode, but the plugin seems to set the run button in the top right corner to the terminal of Code runner by default. Whereas wh…

---

## [Repl immediately crashes in VSCode](https://discourse.julialang.org/t/repl-immediately-crashes-in-vscode/100078)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 6\
**Last updated:** [June 9, 2023, 11:39pm UTC](https://discourse.julialang.org/t/repl-immediately-crashes-in-vscode/100078 "2023-06-09T23:39:20Z")

</div>

Hi, when opening Julia from the command palette (Julia: start REPL) it immediately crashes/closes too fast for me to see any errors. I followed the FAQ at FAQ · Julia in VS Code to use Julia: Connect external repl which …

---

## [Does Infiltrator work with Revise?](https://discourse.julialang.org/t/does-infiltrator-work-with-revise/99842)

<div class="topic-metadata">

**Author:** [@Soldalma](https://discourse.julialang.org/u/Soldalma)\
**Replies:** 1\
**Last updated:** [June 5, 2023, 2:11pm UTC](https://discourse.julialang.org/t/does-infiltrator-work-with-revise/99842 "2023-06-05T14:11:18Z")

</div>

I tried to use @infiltrate in my code as follows: ... println("\\n\\n1 &\*&\*&\*&\*&\*&\*&\*&\*&\*&\*&\*&\*&\*&\*&\*") println( "Debugging") @infiltrate ... but I got the following: 1 &\*&\*&\*&\*&\*&\*&\*&\*&\*&\*&\*&\*&\*&\*&\*…

---

## [VSCode Using Julia 1.47.2](https://discourse.julialang.org/t/vscode-using-julia-1-47-2/99693)

<div class="topic-metadata">

**Author:** [@eweiss](https://discourse.julialang.org/u/eweiss)\
**Replies:** 8\
**Last updated:** [June 4, 2023, 11:56pm UTC](https://discourse.julialang.org/t/vscode-using-julia-1-47-2/99693 "2023-06-04T23:56:30Z")

</div>

When I run Julia from the Mac command line, I use ver 1.9. VSCode’s most recent version (2 weeks old) is 1.47.2 and I can’t run the code I’ve developed in 1.9 (using the command line and MacVim) in VSCode. The most recen…

---

## [How to plot outside VS Code?](https://discourse.julialang.org/t/how-to-plot-outside-vs-code/47242)

<div class="topic-metadata">

**Author:** [@cricci](https://discourse.julialang.org/u/cricci)\
**Replies:** 17\
**Last updated:** [June 4, 2023, 10:58am UTC](https://discourse.julialang.org/t/how-to-plot-outside-vs-code/47242 "2023-06-04T10:58:49Z")

</div>

I noticed that in the plugin Julia there is the option to plot outside VSCode instead of using the plot pane. This in my mind should create a plot window as when I makes plot directly form the julia console (not insid…

---

## [CairoMakie with Julia 1.8 on VScode](https://discourse.julialang.org/t/cairomakie-with-julia-1-8-on-vscode/86289)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 23\
**Last updated:** [June 4, 2023, 6:38am UTC](https://discourse.julialang.org/t/cairomakie-with-julia-1-8-on-vscode/86289 "2023-06-04T06:38:14Z")

</div>

I just installed Julia 1.8 and am trying to use it in VScode. When I try to import CairoMakie in the REPL in VScode, it generates the following series of errors. I wonder if anyone is experiencing the same issue and kn…

---

## [UArgumentError: Package ... not found in current path](https://discourse.julialang.org/t/uargumenterror-package-not-found-in-current-path/99690)

<div class="topic-metadata">

**Author:** [@Ordens\_Ritter](https://discourse.julialang.org/u/Ordens_Ritter)\
**Replies:** 2\
**Last updated:** [June 3, 2023, 1:13pm UTC](https://discourse.julialang.org/t/uargumenterror-package-not-found-in-current-path/99690 "2023-06-03T13:13:04Z")

</div>

I used Pluto to create a file with julia 1.9. But when I want to execute the file in Visual Studio Code I always get the error: UArgumentError: sPackage … not found in current path. Run import Pkg; Pkg.add("..") to …

---

## [Remote Makie animation via vscode?](https://discourse.julialang.org/t/remote-makie-animation-via-vscode/99487)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 0\
**Last updated:** [May 27, 2023, 4:20pm UTC](https://discourse.julialang.org/t/remote-makie-animation-via-vscode/99487 "2023-05-27T16:20:18Z")

</div>

Hi, I use GLMakie to create mp4 animation comparable to https://docs.makie.org/stable/documentation/animation/ Everything is OK on my computer but I have GLFW issues when working on a remote machine (with GPU). I have…

---

## [Vscode language server crashes](https://discourse.julialang.org/t/vscode-language-server-crashes/99176)

<div class="topic-metadata">

**Author:** [@hros](https://discourse.julialang.org/u/hros)\
**Replies:** 1\
**Last updated:** [May 21, 2023, 4:28am UTC](https://discourse.julialang.org/t/vscode-language-server-crashes/99176 "2023-05-21T04:28:22Z")

</div>

vs code language server crashes when started I reinstalled the extension (first removed the extension and also deleted its directory) I’m running code (and Julia) in WSL-2 (Ubuntu 22.04) in Windows 11 I’ve seen severa…

---

## [How to disable automatic formatting options in vscode?](https://discourse.julialang.org/t/how-to-disable-automatic-formatting-options-in-vscode/75157)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 3\
**Last updated:** [May 20, 2023, 4:32pm UTC](https://discourse.julialang.org/t/how-to-disable-automatic-formatting-options-in-vscode/75157 "2023-05-20T16:32:14Z")

</div>

I’m referring especially to the indentation and the stripping of trailing semicolons, which I find a bit annoying tbh, but I wonder how to disable any of the automatic formatting settings in vscode? I have looked through…

---

## [Do I need to restart the REPL every time before rerunning a Julia script?](https://discourse.julialang.org/t/do-i-need-to-restart-the-repl-every-time-before-rerunning-a-julia-script/99110)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 2\
**Last updated:** [May 20, 2023, 1:04am UTC](https://discourse.julialang.org/t/do-i-need-to-restart-the-repl-every-time-before-rerunning-a-julia-script/99110 "2023-05-20T01:04:19Z")

</div>

Julia’s package loading process can be quite time-consuming, but when debugging code, I often need to run the script multiple times. To clear the previously produced results in the workspace, I employ the practice of res…

---

## [Vscode 'send to active terminal' for persistence and access to scheduler-controlled HPC nodes?](https://discourse.julialang.org/t/vscode-send-to-active-terminal-for-persistence-and-access-to-scheduler-controlled-hpc-nodes/65132)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 4\
**Last updated:** [May 15, 2023, 8:48am UTC](https://discourse.julialang.org/t/vscode-send-to-active-terminal-for-persistence-and-access-to-scheduler-controlled-hpc-nodes/65132 "2023-05-15T08:48:07Z")

</div>

Question: How do we make @command:language-julia.executeJuliaCodeInREPL control the active terminal instead of the REPL? This would be analogous to setting "r.alwaysUseActiveTerminal": true for Yuki Ueda’s R extension b…

---

## [VSCode Run Multiple Lines from File in Terminal Broken](https://discourse.julialang.org/t/vscode-run-multiple-lines-from-file-in-terminal-broken/94796)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 6\
**Last updated:** [May 11, 2023, 4:44pm UTC](https://discourse.julialang.org/t/vscode-run-multiple-lines-from-file-in-terminal-broken/94796 "2023-05-11T16:44:56Z")

</div>

EDITED: I was able to narrow down the problem a bit. I recently updated Julia to v1.9.0-beta4. Previously I was on v1.8.2. I have been using v1.41.1 Pre-Release of the Julia VSCode extension. After updating Julia versi…

---

## [VSCode plots wont show anymore anywhere](https://discourse.julialang.org/t/vscode-plots-wont-show-anymore-anywhere/73470)

<div class="topic-metadata">

**Author:** [@Wingmore](https://discourse.julialang.org/u/Wingmore)\
**Replies:** 17\
**Last updated:** [May 11, 2023, 3:48pm UTC](https://discourse.julialang.org/t/vscode-plots-wont-show-anymore-anywhere/73470 "2023-05-11T15:48:10Z")

</div>

I have had no issues with VSCode plots until all of a sudden, they stopped showing up. I dont even know what I changed because no matter what I do, the plots dont show up whatsoever. I’m using PlotlyJS, and a simple lin…

---

## [Juliaup and VS Code](https://discourse.julialang.org/t/juliaup-and-vs-code/98614)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [May 10, 2023, 3:28pm UTC](https://discourse.julialang.org/t/juliaup-and-vs-code/98614 "2023-05-10T15:28:24Z")

</div>

I have the juliaup package to manage my Julia version (and update Julia). With 1.9 arriving, I did a juliaup update command to get the latest version. Unfortunately, I ran into the following trouble when I tried to ope…

---

## [IntelliSense is very slow for code complete](https://discourse.julialang.org/t/intellisense-is-very-slow-for-code-complete/98418)

<div class="topic-metadata">

**Author:** [@lionisxn](https://discourse.julialang.org/u/lionisxn)\
**Replies:** 0\
**Last updated:** [May 6, 2023, 11:09am UTC](https://discourse.julialang.org/t/intellisense-is-very-slow-for-code-complete/98418 "2023-05-06T11:09:52Z")

</div>

I just switched from Atom to Vscode, and found that the “code complete” performs well when editing a small script, but acts very slowly in the case of editing a file, such as a function, belonging to a package. Any sugge…

---

## [\`Missing Reference: \_\` using Chain.jl](https://discourse.julialang.org/t/missing-reference-using-chain-jl/98334)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 5\
**Last updated:** [May 5, 2023, 7:21am UTC](https://discourse.julialang.org/t/missing-reference-using-chain-jl/98334 "2023-05-05T07:21:32Z")

</div>

I have been enjoying using Chain.jl. However, the VSCode Linter’s Missing Reference check doesn’t like that it requires using the underscore symbol without declaring a value for it. Is there any workaround for these fals…

---

## [Is there a Julia package similar to the Python's "ShowYourWork"?](https://discourse.julialang.org/t/is-there-a-julia-package-similar-to-the-pythons-showyourwork/97475)

<div class="topic-metadata">

**Author:** [@martinmestre](https://discourse.julialang.org/u/martinmestre)\
**Replies:** 17\
**Last updated:** [May 1, 2023, 10:57am UTC](https://discourse.julialang.org/t/is-there-a-julia-package-similar-to-the-pythons-showyourwork/97475 "2023-05-01T10:57:02Z")

</div>

Hello, I mean this Python package Thanks.

---

## [Exception raised when debugging Flux.jl code](https://discourse.julialang.org/t/exception-raised-when-debugging-flux-jl-code/97949)

<div class="topic-metadata">

**Author:** [@karim](https://discourse.julialang.org/u/karim)\
**Replies:** 0\
**Last updated:** [April 26, 2023, 2:11pm UTC](https://discourse.julialang.org/t/exception-raised-when-debugging-flux-jl-code/97949 "2023-04-26T14:11:37Z")

</div>

The below code runs fine but when I run it under the VS Code debugger I get an ErrorException: Method is @generated; try ‘code\_lowered’ instead. using Flux input = rand(28) label = rand(10) model = Chain( Dense(28 =\>…

---

## [Anaconda startup shell scripts are loaded into Julia REPL by mistake](https://discourse.julialang.org/t/anaconda-startup-shell-scripts-are-loaded-into-julia-repl-by-mistake/51180)

<div class="topic-metadata">

**Author:** [@xjtu-blacksmith](https://discourse.julialang.org/u/xjtu-blacksmith)\
**Replies:** 2\
**Last updated:** [December 3, 2020, 11:22am UTC](https://discourse.julialang.org/t/anaconda-startup-shell-scripts-are-loaded-into-julia-repl-by-mistake/51180 "2020-12-03T11:22:31Z")

</div>

Hi everyone! I’m currently using both Anaconda plugin and Julia plugin in VS Code. When I try to launch a Julia script (through REPL) inside a project where Python scripts exist, Anaconda startup shell scripts would alwa…

---

## [Julia VS code debugger gets stuck](https://discourse.julialang.org/t/julia-vs-code-debugger-gets-stuck/95449)

<div class="topic-metadata">

**Author:** [@HoldenCaulfield](https://discourse.julialang.org/u/HoldenCaulfield)\
**Replies:** 11\
**Last updated:** [April 24, 2023, 4:46pm UTC](https://discourse.julialang.org/t/julia-vs-code-debugger-gets-stuck/95449 "2023-04-24T16:46:26Z")

</div>

I’m trying to debug my code in VSCode, but the debugger gets stuck and never reaches the breakpoint. My code uses several Julia packages (such as Distributions, Distances, JLD, BoltzmannMachines) and runs in a matter of …

---

## [Start REPL: The terminal process failed to launch: Path to shell executable "\\bin\\sh" does not exist](https://discourse.julialang.org/t/start-repl-the-terminal-process-failed-to-launch-path-to-shell-executable-bin-sh-does-not-exist/97298)

<div class="topic-metadata">

**Author:** [@Salmon](https://discourse.julialang.org/u/Salmon)\
**Replies:** 1\
**Last updated:** [April 14, 2023, 10:21am UTC](https://discourse.julialang.org/t/start-repl-the-terminal-process-failed-to-launch-path-to-shell-executable-bin-sh-does-not-exist/97298 "2023-04-14T10:21:02Z")

</div>

Hi, since today I cannot launch a REPL from VSCode on windows anymore. It fails with the error: The terminal process failed to launch: Path to shell executable "\\bin\\sh" does not exist. I interpret this as the julia …

---

## [Task type 'julia-proc'](https://discourse.julialang.org/t/task-type-julia-proc/95400)

<div class="topic-metadata">

**Author:** [@Euhan](https://discourse.julialang.org/u/Euhan)\
**Replies:** 2\
**Last updated:** [April 10, 2023, 2:18am UTC](https://discourse.julialang.org/t/task-type-julia-proc/95400 "2023-04-10T02:18:57Z")

</div>

I’m trying to use vscode with Julia. I’ve got to running a test program (with or without debugging). It seems to work but I get this message: Error: there is no registered task type 'julia-proc'. Did you miss installing…

---

## [ProgressMeter in VSCode Jupyter Notebooks](https://discourse.julialang.org/t/progressmeter-in-vscode-jupyter-notebooks/97133)

<div class="topic-metadata">

**Author:** [@liamfdoherty](https://discourse.julialang.org/u/liamfdoherty)\
**Replies:** 5\
**Last updated:** [April 7, 2023, 11:50am UTC](https://discourse.julialang.org/t/progressmeter-in-vscode-jupyter-notebooks/97133 "2023-04-07T11:50:05Z")

</div>

I am trying to use ProgressMeter and @showprogress in VS Code inside of a Jupyter notebook. When I do, I get many progress bars printed out in succession: This is not what happens when I use Jupyter notebooks in the …

---

## [Incorporating \`methodswith\`](https://discourse.julialang.org/t/incorporating-methodswith/95245)

<div class="topic-metadata">

**Author:** [@wujinq](https://discourse.julialang.org/u/wujinq)\
**Replies:** 3\
**Last updated:** [April 7, 2023, 9:22am UTC](https://discourse.julialang.org/t/incorporating-methodswith/95245 "2023-04-07T09:22:15Z")

</div>

When programming in C++ or Rust or Python, we can just click . and obtain a list of available methods for an object. Since Julia is based on multiple dispatch, there is no such thing as obj.method(). But is it possible t…

---

## [Bug: Memory leak at startup?](https://discourse.julialang.org/t/bug-memory-leak-at-startup/96944)

<div class="topic-metadata">

**Author:** [@physh](https://discourse.julialang.org/u/physh)\
**Replies:** 5\
**Last updated:** [April 5, 2023, 1:12am UTC](https://discourse.julialang.org/t/bug-memory-leak-at-startup/96944 "2023-04-05T01:12:12Z")

</div>

Dear all, since a few days, I have some problems with using the “Julia Language Pack” within VCCode. Having the Extension enabled (Screenshot 1) starts to consume an unusual amount of memory. Moreover, it becomes impos…

---

## [LSP not showing error](https://discourse.julialang.org/t/lsp-not-showing-error/96726)

<div class="topic-metadata">

**Author:** [@jdev22](https://discourse.julialang.org/u/jdev22)\
**Replies:** 5\
**Last updated:** [April 3, 2023, 10:02am UTC](https://discourse.julialang.org/t/lsp-not-showing-error/96726 "2023-04-03T10:02:05Z")

</div>

I’m new to Julia development and was just trying out the following snippet: \` function foo()::String return 22 end \` I expected LSP to have highlighted the code with error, because the return type of this function …

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

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