# VS Code

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

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

**Page:** 16

---

## [Error "Julia package not part of current environment"](https://discourse.julialang.org/t/error-julia-package-not-part-of-current-environment/42903)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 2\
**Last updated:** [November 9, 2021, 12:37pm UTC](https://discourse.julialang.org/t/error-julia-package-not-part-of-current-environment/42903 "2021-11-09T12:37:38Z")

</div>

Hello. When I start VS Code (with Julia 1.5 and extension julia-vscode 0.17.2 and some olders too) I get this error: You opened a julia package that is not part of your current environment. Do you want to activate a …

---

## [Tab complete for unicode variables in VS Code debug console?](https://discourse.julialang.org/t/tab-complete-for-unicode-variables-in-vs-code-debug-console/69450)

<div class="topic-metadata">

**Author:** [@thompsonmj](https://discourse.julialang.org/u/thompsonmj)\
**Replies:** 2\
**Last updated:** [November 7, 2021, 8:04pm UTC](https://discourse.julialang.org/t/tab-complete-for-unicode-variables-in-vs-code-debug-console/69450 "2021-11-07T20:04:24Z")

</div>

I can’t seem to use variables containing special Unicode characters (e.g. \\alpha\<tab\>) at the debug console because pressing Tab jumps to the next object rather than completing the character. Is this an issue with VS Co…

---

## [VS Code keeps older Julia sessions, but produces errors](https://discourse.julialang.org/t/vs-code-keeps-older-julia-sessions-but-produces-errors/71111)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 2\
**Last updated:** [November 7, 2021, 7:39pm UTC](https://discourse.julialang.org/t/vs-code-keeps-older-julia-sessions-but-produces-errors/71111 "2021-11-07T19:39:27Z")

</div>

Hello. I’m using VS Code 1.62.0 with Julia 1.6.3 and the VS extension 1.4.3 for Julia. When I open VS Code I see several terminals, in multiple tabs. It seems it keeps every session and tries to load all of them every…

---

## [Does JuliaFormatter extension work with VSCode?](https://discourse.julialang.org/t/does-juliaformatter-extension-work-with-vscode/71105)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 1\
**Last updated:** [November 7, 2021, 5:50pm UTC](https://discourse.julialang.org/t/does-juliaformatter-extension-work-with-vscode/71105 "2021-11-07T17:50:34Z")

</div>

Does this formatter work with VSCode? I installed the JuliaFormatter extension for VSCode and attempted to run it on a short file (less than 100 lines of Julia code). It has been running for several minutes and shows no …

---

## [Can't start Julia language server in VS code](https://discourse.julialang.org/t/cant-start-julia-language-server-in-vs-code/70875)

<div class="topic-metadata">

**Author:** [@legedo](https://discourse.julialang.org/u/legedo)\
**Replies:** 0\
**Last updated:** [November 3, 2021, 1:42pm UTC](https://discourse.julialang.org/t/cant-start-julia-language-server-in-vs-code/70875 "2021-11-03T13:42:06Z")

</div>

Hi all! So I’m struggling with the following problem. I use VS code on an M1 macbook air. If I code using the jupyter notebook extension I can run the Julia Kernel (I’m using version 1.6.3). But I can’t make julia ru…

---

## [Why did the REPL window border disappear?](https://discourse.julialang.org/t/why-did-the-repl-window-border-disappear/70863)

<div class="topic-metadata">

**Author:** [@Soldalma](https://discourse.julialang.org/u/Soldalma)\
**Replies:** 2\
**Last updated:** [November 3, 2021, 11:56am UTC](https://discourse.julialang.org/t/why-did-the-repl-window-border-disappear/70863 "2021-11-03T11:56:33Z")

</div>

I could not find a button to maximize the VSCode REPL window. So I used to drag the upper border of that window up and down when I needed more space for the REPL or more space for the editor window. This was a bit hard t…

---

## [VSCode and Jupyter notebook?](https://discourse.julialang.org/t/vscode-and-jupyter-notebook/70797)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 10:53am UTC](https://discourse.julialang.org/t/vscode-and-jupyter-notebook/70797 "2021-11-02T10:53:00Z")

</div>

I’m on Windows 11 (latest update, 64bit), Julia v1.6.3 (just updated everything), and have updated VS Code with extensions. I have imported a Jupyter notebook into VS Code, and try to run it (for some reason, this crash…

---

## [VS Code update 1.61.2 made compilation of my small Julia 1.6.3 programs very snappy on Windows 10](https://discourse.julialang.org/t/vs-code-update-1-61-2-made-compilation-of-my-small-julia-1-6-3-programs-very-snappy-on-windows-10/70644)

<div class="topic-metadata">

**Author:** [@Rolly](https://discourse.julialang.org/u/Rolly)\
**Replies:** 3\
**Last updated:** [October 31, 2021, 2:11am UTC](https://discourse.julialang.org/t/vs-code-update-1-61-2-made-compilation-of-my-small-julia-1-6-3-programs-very-snappy-on-windows-10/70644 "2021-10-31T02:11:25Z")

</div>

I am very impressed. My development cycle has gone from tortuous, to very nice. Thanks ever!!!

---

## [Julia 1.1 doesn't start in VSCode (Could not start the julia language server)](https://discourse.julialang.org/t/julia-1-1-doesnt-start-in-vscode-could-not-start-the-julia-language-server/22476)

<div class="topic-metadata">

**Author:** [@mzhenirovskyy](https://discourse.julialang.org/u/mzhenirovskyy)\
**Replies:** 19\
**Last updated:** [October 27, 2021, 9:47pm UTC](https://discourse.julialang.org/t/julia-1-1-doesnt-start-in-vscode-could-not-start-the-julia-language-server/22476 "2021-10-27T21:47:59Z")

</div>

Hi All, My errors: Could not start the julia language server. Make sure the configuration setting julia.executablePath points to the julia binary. I’m working on: Windows 10 Julia 1.1.0 (2019-01-21) VSCode 1.32.3 I…

---

## [How to start Julia REPL in VS CODE (Insiders) in specified conda environment?](https://discourse.julialang.org/t/how-to-start-julia-repl-in-vs-code-insiders-in-specified-conda-environment/63505)

<div class="topic-metadata">

**Author:** [@anon28281882](https://discourse.julialang.org/u/anon28281882)\
**Replies:** 14\
**Last updated:** [October 20, 2021, 3:10pm UTC](https://discourse.julialang.org/t/how-to-start-julia-repl-in-vs-code-insiders-in-specified-conda-environment/63505 "2021-10-20T15:10:27Z")

</div>

I use VS CODE 1.58.0 (Insiders) and SSH connection to connect to Ubuntu 18.04.5 LTS and conda environment (env name: base). I have several conda environments. One of them is destined for Julia with Julia 1.6 (env name: j…

---

## [Configure vscode to automatically complete code blocks with 'end' as appropriate](https://discourse.julialang.org/t/configure-vscode-to-automatically-complete-code-blocks-with-end-as-appropriate/56430)

<div class="topic-metadata">

**Author:** [@marty0801](https://discourse.julialang.org/u/marty0801)\
**Replies:** 5\
**Last updated:** [October 19, 2021, 11:43am UTC](https://discourse.julialang.org/t/configure-vscode-to-automatically-complete-code-blocks-with-end-as-appropriate/56430 "2021-10-19T11:43:30Z")

</div>

I find myself manually typing ‘end’ several lines down from a function header, then moving the cursor back into the function body to create the function. Is it possible to configure VSCode to do this automatically whenev…

---

## [Missing reference warning for unit Test module in VS code?](https://discourse.julialang.org/t/missing-reference-warning-for-unit-test-module-in-vs-code/69996)

<div class="topic-metadata">

**Author:** [@joseph\_s](https://discourse.julialang.org/u/joseph_s)\
**Replies:** 0\
**Last updated:** [October 18, 2021, 6:19pm UTC](https://discourse.julialang.org/t/missing-reference-warning-for-unit-test-module-in-vs-code/69996 "2021-10-18T18:19:44Z")

</div>

VS Code Julia extension gives Missing reference warning for following using Test @test true I’m using Julia extension v1.4.3. How to get rid of this?

---

## [VSCode does not find julia executable](https://discourse.julialang.org/t/vscode-does-not-find-julia-executable/69972)

<div class="topic-metadata">

**Author:** [@sparrowhawk](https://discourse.julialang.org/u/sparrowhawk)\
**Replies:** 0\
**Last updated:** [October 18, 2021, 12:33pm UTC](https://discourse.julialang.org/t/vscode-does-not-find-julia-executable/69972 "2021-10-18T12:33:26Z")

</div>

I have VSCode very easy to work with, for the most part. However, I’m running into trouble with configuring for a shared CentOS environment where we are developing a package together. I do not have root privileges and w…

---

## [What is the proper way to use Julia Jupyter notebooks in VS Code?](https://discourse.julialang.org/t/what-is-the-proper-way-to-use-julia-jupyter-notebooks-in-vs-code/69925)

<div class="topic-metadata">

**Author:** [@Eugeleo](https://discourse.julialang.org/u/Eugeleo)\
**Replies:** 2\
**Last updated:** [October 17, 2021, 2:32pm UTC](https://discourse.julialang.org/t/what-is-the-proper-way-to-use-julia-jupyter-notebooks-in-vs-code/69925 "2021-10-17T14:32:32Z")

</div>

I tried to setup Jupyter with Julia recently, but I’ve never arrived at a perfect solution. See below for information about what I tried and what didn’t work. My questions are: What Julia packages should I add to my pr…

---

## [Remote developement - cannot start the Language server](https://discourse.julialang.org/t/remote-developement-cannot-start-the-language-server/69364)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 6\
**Last updated:** [October 15, 2021, 9:11am UTC](https://discourse.julialang.org/t/remote-developement-cannot-start-the-language-server/69364 "2021-10-15T09:11:06Z")

</div>

Hey, I am trying to use the remote development tools. I have a start\_julia.sh as julia.executablePath script that looks like : #!/bin/bash module load \<modules that need to be loaded before julia can run on this parti…

---

## [Why can't I see execution results to the right of the executed code?](https://discourse.julialang.org/t/why-cant-i-see-execution-results-to-the-right-of-the-executed-code/69567)

<div class="topic-metadata">

**Author:** [@Soldalma](https://discourse.julialang.org/u/Soldalma)\
**Replies:** 2\
**Last updated:** [October 11, 2021, 4:55pm UTC](https://discourse.julialang.org/t/why-cant-i-see-execution-results-to-the-right-of-the-executed-code/69567 "2021-10-11T16:55:02Z")

</div>

In VSCode I went through the following menu options: File -\> Preferences -\> Settings -\> Extensions -\> Julia -\> Execution: Result Type Within this item I chose both from the dropdown list. I did this for both the User …

---

## [Associate terminals with files](https://discourse.julialang.org/t/associate-terminals-with-files/69208)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 8\
**Last updated:** [October 5, 2021, 5:27pm UTC](https://discourse.julialang.org/t/associate-terminals-with-files/69208 "2021-10-05T17:27:51Z")

</div>

I created a repl in a file and now I’m trying to run some commands from a different file but it keeps opening a different terminal. How can I specify that these two files share the same terminal?

---

## [VSCODE debugger seems stopped at first USING statement](https://discourse.julialang.org/t/vscode-debugger-seems-stopped-at-first-using-statement/52609)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 2\
**Last updated:** [October 4, 2021, 9:48am UTC](https://discourse.julialang.org/t/vscode-debugger-seems-stopped-at-first-using-statement/52609 "2021-10-04T09:48:03Z")

</div>

The debugging session ends here immediately after the start after pressing F5 the indication paused on exception appears this is the code involved if someone would give a try. using Dates using DataFrames full\_ind…

---

## [Formatting code in vscode](https://discourse.julialang.org/t/formatting-code-in-vscode/68927)

<div class="topic-metadata">

**Author:** [@scheinerman](https://discourse.julialang.org/u/scheinerman)\
**Replies:** 3\
**Last updated:** [September 29, 2021, 6:15pm UTC](https://discourse.julialang.org/t/formatting-code-in-vscode/68927 "2021-09-29T18:15:12Z")

</div>

I used to be able to format Julia code in VS Code by right-clicking on the file name and a menu would appear with an option to format my code. (I can use JuliaFormatter in the REPL, but doing this in VS Code was particul…

---

## [Julia extension and VScode server](https://discourse.julialang.org/t/julia-extension-and-vscode-server/68759)

<div class="topic-metadata">

**Author:** [@gianmariomanca](https://discourse.julialang.org/u/gianmariomanca)\
**Replies:** 3\
**Last updated:** [September 26, 2021, 12:28am UTC](https://discourse.julialang.org/t/julia-extension-and-vscode-server/68759 "2021-09-26T00:28:58Z")

</div>

Is the Julia extension tested against VScode server https://github.com/cdr/code-server? The plot gallery didn’t seem to work last time I checked. Related: in general I know that a local VScode can connect via SSH to a …

---

## [Can't restart kernel in VSCode jupyter notebook](https://discourse.julialang.org/t/cant-restart-kernel-in-vscode-jupyter-notebook/68136)

<div class="topic-metadata">

**Author:** [@albheim](https://discourse.julialang.org/u/albheim)\
**Replies:** 14\
**Last updated:** [September 22, 2021, 9:50am UTC](https://discourse.julialang.org/t/cant-restart-kernel-in-vscode-jupyter-notebook/68136 "2021-09-22T09:50:04Z")

</div>

As the title says, recently notebooks in VSCode does not allow me to press restart kernel or interrupt (greyed out) and running the command “Julia: Restart kernel” results in the error Command ‘Julia: Restart kernel’ r…

---

## [Change font of Julia Workspace in VS Code](https://discourse.julialang.org/t/change-font-of-julia-workspace-in-vs-code/68501)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 5\
**Last updated:** [September 21, 2021, 6:54am UTC](https://discourse.julialang.org/t/change-font-of-julia-workspace-in-vs-code/68501 "2021-09-21T06:54:36Z")

</div>

I changed the font of the VS Code editor to JuliaMono, now I want to change the font of the Julia Workspace. I use a lot of unicode characters and they glyphs in the workspace look different than the ones in the editor. …

---

## [GLMakie in VSCode single plot popout](https://discourse.julialang.org/t/glmakie-in-vscode-single-plot-popout/68132)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 11\
**Last updated:** [September 14, 2021, 10:04am UTC](https://discourse.julialang.org/t/glmakie-in-vscode-single-plot-popout/68132 "2021-09-14T10:04:20Z")

</div>

I like the plot pane in VSCode, and I wish to use it by default. I also love how GLMakie plots scale up and down in size as I ajust the width of the plotting pane. But sometimes I want to interact with the plot, for dat…

---

## [Strange autoformatting with vscode](https://discourse.julialang.org/t/strange-autoformatting-with-vscode/67976)

<div class="topic-metadata">

**Author:** [@stroebel](https://discourse.julialang.org/u/stroebel)\
**Replies:** 5\
**Last updated:** [September 13, 2021, 8:54am UTC](https://discourse.julialang.org/t/strange-autoformatting-with-vscode/67976 "2021-09-13T08:54:25Z")

</div>

This might be me being an idiot, but why would the the vscode extention insist on formatting this code block as it is? The structs defined above and below are formatted correctly.

---

## [Need theory on why SVG Output is no longer auto-zooming in VSCode plots pane](https://discourse.julialang.org/t/need-theory-on-why-svg-output-is-no-longer-auto-zooming-in-vscode-plots-pane/67985)

<div class="topic-metadata">

**Author:** [@Adam\_Fleischhacker](https://discourse.julialang.org/u/Adam_Fleischhacker)\
**Replies:** 3\
**Last updated:** [September 10, 2021, 2:28pm UTC](https://discourse.julialang.org/t/need-theory-on-why-svg-output-is-no-longer-auto-zooming-in-vscode-plots-pane/67985 "2021-09-10T14:28:28Z")

</div>

My SVG output from CairoMakie used to auto-zoom perfectly on the image. Now I am getting a non-zoomed output by default with weird text saying data:image/svg+xml. Here is a pic of the default output: I would rather…

---

## [Command not found in shell of VS Code Julia REPL](https://discourse.julialang.org/t/command-not-found-in-shell-of-vs-code-julia-repl/67933)

<div class="topic-metadata">

**Author:** [@altre](https://discourse.julialang.org/u/altre)\
**Replies:** 1\
**Last updated:** [September 9, 2021, 1:28pm UTC](https://discourse.julialang.org/t/command-not-found-in-shell-of-vs-code-julia-repl/67933 "2021-09-09T13:28:56Z")

</div>

When I start the Julia REPL in VS Code no commands in the shell prompt work: shell\> ls zsh:1: command not found: ls When doing the same in julia started from my terminal, everything works fine. I think I’ve messed up …

---

## [Setting up packages in REPL session](https://discourse.julialang.org/t/setting-up-packages-in-repl-session/67908)

<div class="topic-metadata">

**Author:** [@nihil](https://discourse.julialang.org/u/nihil)\
**Replies:** 0\
**Last updated:** [September 9, 2021, 4:29am UTC](https://discourse.julialang.org/t/setting-up-packages-in-repl-session/67908 "2021-09-09T04:29:32Z")

</div>

I am following along with the VSCode JuliaCon session and trying to add PkgTemplates in the package manager, but the path is set to /home/pfitzseb/.julia/dev/JuliaCon, and says it can’t find that PkgTemplates package. Se…

---

## [Julia on VSCode with PyPlot](https://discourse.julialang.org/t/julia-on-vscode-with-pyplot/67781)

<div class="topic-metadata">

**Author:** [@ttidrick](https://discourse.julialang.org/u/ttidrick)\
**Replies:** 3\
**Last updated:** [September 7, 2021, 9:28am UTC](https://discourse.julialang.org/t/julia-on-vscode-with-pyplot/67781 "2021-09-07T09:28:16Z")

</div>

Hi All, I’m using Julia on VSCode. My problem is getting PyPlot to show a figure. The same code work fine on a Julia REPL, but fails with no message when executing code in VSCode. Any ideas? Thanks, Ty

---

## [ComponentArrays.jl crashes Julia in VSCode but not in REPL](https://discourse.julialang.org/t/componentarrays-jl-crashes-julia-in-vscode-but-not-in-repl/54667)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 0\
**Last updated:** [February 5, 2021, 2:55am UTC](https://discourse.julialang.org/t/componentarrays-jl-crashes-julia-in-vscode-but-not-in-repl/54667 "2021-02-05T02:55:20Z")

</div>

The following code crashes Julia in VSCode, but the REPL can run it with no problem. using ComponentArrays szE = 2 szG = 2 szA = 9 szK = 5 szT = 44 szB = 2 szZ = 2 costdata = Array{Float64}(undef, szT) wwdata = Array{…

---

## [Auto-release from VSCode (very cool): do I need to merge the branch by hand?](https://discourse.julialang.org/t/auto-release-from-vscode-very-cool-do-i-need-to-merge-the-branch-by-hand/67222)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 0\
**Last updated:** [August 28, 2021, 2:53pm UTC](https://discourse.julialang.org/t/auto-release-from-vscode-very-cool-do-i-need-to-merge-the-branch-by-hand/67222 "2021-08-28T14:53:05Z")

</div>

I am using the (very cool) “Tag new package version” feature of the Julia extension of VSCode (it was presented in the latest JuliaCon (I don’t like to tag people here). Thanks for that. I have just only one doubt: afte…

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

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