# VS Code

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

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

**Page:** 4

---

## [Breakpoint issues and best practices in VSCode](https://discourse.julialang.org/t/breakpoint-issues-and-best-practices-in-vscode/122914)

<div class="topic-metadata">

**Author:** [@kevjzheng](https://discourse.julialang.org/u/kevjzheng)\
**Replies:** 2\
**Last updated:** [November 22, 2024, 3:15pm UTC](https://discourse.julialang.org/t/breakpoint-issues-and-best-practices-in-vscode/122914 "2024-11-22T15:15:48Z")

</div>

I have been advocating Julia to my colleagues to switch from MATLAB. One of the biggest roadblocks for us is the breakpoint debug feature in VSCode. I personally have never gotten breakpoints to work. Below are the issu…

---

## [Incorrect document display and non-display of examples of functions when using JuMP](https://discourse.julialang.org/t/incorrect-document-display-and-non-display-of-examples-of-functions-when-using-jump/122575)

<div class="topic-metadata">

**Author:** [@kevinqiao](https://discourse.julialang.org/u/kevinqiao)\
**Replies:** 1\
**Last updated:** [November 13, 2024, 8:40pm UTC](https://discourse.julialang.org/t/incorrect-document-display-and-non-display-of-examples-of-functions-when-using-jump/122575 "2024-11-13T20:40:34Z")

</div>

I’m using the latest JuMP(v1.23.4) on Win11, the documents of JuMP functions are displayed in an incorrect manner, which is exactly not the same with the document display on my another PC with JuMP(v.18.1, Win10 platform…

---

## [Is there a way to get "headings" in comments to show up in VSCode outline?](https://discourse.julialang.org/t/is-there-a-way-to-get-headings-in-comments-to-show-up-in-vscode-outline/122460)

<div class="topic-metadata">

**Author:** [@marius311](https://discourse.julialang.org/u/marius311)\
**Replies:** 2\
**Last updated:** [November 11, 2024, 10:42am UTC](https://discourse.julialang.org/t/is-there-a-way-to-get-headings-in-comments-to-show-up-in-vscode-outline/122460 "2024-11-11T10:42:31Z")

</div>

This isn’t Julia-specific per-se but Julia’s VSCode plugin certainly makes this use-case much more common so it seems like asking here might give the best chance of finding someone who could have an idea. Anyway, I’m us…

---

## [Table viewer, profile viewer, and terminal shell integration not working on vscode](https://discourse.julialang.org/t/table-viewer-profile-viewer-and-terminal-shell-integration-not-working-on-vscode/85124)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 2\
**Last updated:** [November 10, 2024, 11:08am UTC](https://discourse.julialang.org/t/table-viewer-profile-viewer-and-terminal-shell-integration-not-working-on-vscode/85124 "2024-11-10T11:08:12Z")

</div>

I’m following the Juliacon 2022 talk about new features in VSCode but several of them are not working for me. Trying to figure out what is configured incorrectly on my system. Running Windows 11, VSCode 1.69.2. Julia v…

---

## [Some unicodes in vscodium editor have blocks around them](https://discourse.julialang.org/t/some-unicodes-in-vscodium-editor-have-blocks-around-them/122317)

<div class="topic-metadata">

**Author:** [@tianyi\_zhang](https://discourse.julialang.org/u/tianyi_zhang)\
**Replies:** 2\
**Last updated:** [November 6, 2024, 8:03am UTC](https://discourse.julialang.org/t/some-unicodes-in-vscodium-editor-have-blocks-around-them/122317 "2024-11-06T08:03:31Z")

</div>

My code in vscodium editor looks like this: Does anybody know why α, γ have blocks around them? My julia extension is v1.124.2, VSCodium is 1.94.2

---

## [Problem with Julia Language Server, Execution of code and code cells in REPL](https://discourse.julialang.org/t/problem-with-julia-language-server-execution-of-code-and-code-cells-in-repl/121628)

<div class="topic-metadata">

**Author:** [@mariie](https://discourse.julialang.org/u/mariie)\
**Replies:** 8\
**Last updated:** [October 29, 2024, 11:32am UTC](https://discourse.julialang.org/t/problem-with-julia-language-server-execution-of-code-and-code-cells-in-repl/121628 "2024-10-29T11:32:49Z")

</div>

Hello everyone! After 2 months of using julia in vscode without any problems I am having this issue now: I cannot execute active files in the REPL and I can also not execute the code line by line. In the output of Julia …

---

## [Vscode is not following the executable path](https://discourse.julialang.org/t/vscode-is-not-following-the-executable-path/121825)

<div class="topic-metadata">

**Author:** [@martin\_sanchez](https://discourse.julialang.org/u/martin_sanchez)\
**Replies:** 7\
**Last updated:** [October 27, 2024, 6:59pm UTC](https://discourse.julialang.org/t/vscode-is-not-following-the-executable-path/121825 "2024-10-27T18:59:25Z")

</div>

I am having some trouble with Julia and VScode, so I decided to use (with juliaup) the lts version. I updated the path in VScode as I show in the image: But even though, when I run a file or a line in VScode, it is s…

---

## [Error in Visual studio code while good in Jupyter notebook with a same Julia code](https://discourse.julialang.org/t/error-in-visual-studio-code-while-good-in-jupyter-notebook-with-a-same-julia-code/121792)

<div class="topic-metadata">

**Author:** [@hyde](https://discourse.julialang.org/u/hyde)\
**Replies:** 1\
**Last updated:** [October 27, 2024, 12:16pm UTC](https://discourse.julialang.org/t/error-in-visual-studio-code-while-good-in-jupyter-notebook-with-a-same-julia-code/121792 "2024-10-27T12:16:42Z")

</div>

Hi, I ran same code from the QuantEcon lecture \[55. Default Risk and Income Fluctuations, (Arellano 2008 model)\]. The Jupyter notebook showed exactly same result from the lecture, but Visual studio code keep giving an Er…

---

## [Running REPL in VSCode in Git Bash, rather than (default) Powershell?](https://discourse.julialang.org/t/running-repl-in-vscode-in-git-bash-rather-than-default-powershell/121793)

<div class="topic-metadata">

**Author:** [@braamvandyk](https://discourse.julialang.org/u/braamvandyk)\
**Replies:** 1\
**Last updated:** [October 26, 2024, 7:04pm UTC](https://discourse.julialang.org/t/running-repl-in-vscode-in-git-bash-rather-than-default-powershell/121793 "2024-10-26T19:04:59Z")

</div>

When I run the REPL outside of VSCode (on Windows 10), I run it in Git Bash, for a generally much better experience than is the case when using PowerShell. Both run inside Windows Terminal. In VSCode however, while Git B…

---

## [Language Server is lagging sometimes](https://discourse.julialang.org/t/language-server-is-lagging-sometimes/121771)

<div class="topic-metadata">

**Author:** [@DatName](https://discourse.julialang.org/u/DatName)\
**Replies:** 0\
**Last updated:** [October 26, 2024, 3:37am UTC](https://discourse.julialang.org/t/language-server-is-lagging-sometimes/121771 "2024-10-26T03:37:24Z")

</div>

Hello everyone. I have this issue with julia vscode, when after some time after the start of the extension becomes very very slow and barely usable. For example, if I hit ctrl+enter on function definition, I get update…

---

## [Tooling for VSCode / LSP](https://discourse.julialang.org/t/tooling-for-vscode-lsp/109460)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 18\
**Last updated:** [October 17, 2024, 8:54pm UTC](https://discourse.julialang.org/t/tooling-for-vscode-lsp/109460 "2024-10-17T20:54:26Z")

</div>

One can find this information at Julia in Visual Studio Code. It sounds appealingly simple, but there are caveats. Multiple issues have been filed pointing to the difficulty of using LSP in VSCode. For instance Lang…

---

## [VS code and Juila system image?](https://discourse.julialang.org/t/vs-code-and-juila-system-image/121409)

<div class="topic-metadata">

**Author:** [@mcreel](https://discourse.julialang.org/u/mcreel)\
**Replies:** 6\
**Last updated:** [October 17, 2024, 11:55am UTC](https://discourse.julialang.org/t/vs-code-and-juila-system-image/121409 "2024-10-17T11:55:39Z")

</div>

I haven’t been coding much lately, so I’m a bit out of touch with recent developments. In the past, VScode-julia would find and use a system image in the project directory, but that seems not to be the case now. From a p…

---

## [Debug only running once in VSCode](https://discourse.julialang.org/t/debug-only-running-once-in-vscode/119881)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 1\
**Last updated:** [October 17, 2024, 11:16am UTC](https://discourse.julialang.org/t/debug-only-running-once-in-vscode/119881 "2024-10-17T11:16:53Z")

</div>

When I use @run at the VSCode Julia REPL to start a debug session it works fine the first time it is called. But every subsequent time it just spins and the debug session never gets started. I have to kill the REPL and m…

---

## [VSCode & local image in markdown](https://discourse.julialang.org/t/vscode-local-image-in-markdown/121291)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 4\
**Last updated:** [October 16, 2024, 3:31pm UTC](https://discourse.julialang.org/t/vscode-local-image-in-markdown/121291 "2024-10-16T15:31:48Z")

</div>

I asked about this a year ago, but there was not really a solution to my problem… I’m trying to insert an image into a markdown cell of a Jupyter Notebook in VSCode. The following code does not work, for some weird reas…

---

## [Readline() doesn't work on VS Code](https://discourse.julialang.org/t/readline-doesnt-work-on-vs-code/121032)

<div class="topic-metadata">

**Author:** [@uri](https://discourse.julialang.org/u/uri)\
**Replies:** 2\
**Last updated:** [October 8, 2024, 11:22pm UTC](https://discourse.julialang.org/t/readline-doesnt-work-on-vs-code/121032 "2024-10-08T23:22:45Z")

</div>

When I run the following from VS Code it print a line asking for the degree, I enter it in the REPL but the program still waiting for an input function main() print("Give the degree : ") line = readline() deg = parse…

---

## [Seemingly out-of-date code being run in test pane](https://discourse.julialang.org/t/seemingly-out-of-date-code-being-run-in-test-pane/121067)

<div class="topic-metadata">

**Author:** [@Ken\_Williams](https://discourse.julialang.org/u/Ken_Williams)\
**Replies:** 0\
**Last updated:** [October 8, 2024, 6:20pm UTC](https://discourse.julialang.org/t/seemingly-out-of-date-code-being-run-in-test-pane/121067 "2024-10-08T18:20:51Z")

</div>

This is an old issue, but I think maybe I see what’s causing it: I was seeing similar behavior, but I don’t think it’s taking a long time to save, it’s just that the order of events is not what you are expecting. I to…

---

## [How to start using LLMs to help write Julia code?](https://discourse.julialang.org/t/how-to-start-using-llms-to-help-write-julia-code/120912)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 6\
**Last updated:** [October 5, 2024, 11:11am UTC](https://discourse.julialang.org/t/how-to-start-using-llms-to-help-write-julia-code/120912 "2024-10-05T11:11:58Z")

</div>

Continuing the discussion from Is Julia 2.0 needed?: I’m curious how people are integrating AI tools to help them code. Seems this is growing in popularity, but I’ve not really looked into how to do it myself yet. Are …

---

## [Is there a way to debug in VS Code using the remote SSH extension?](https://discourse.julialang.org/t/is-there-a-way-to-debug-in-vs-code-using-the-remote-ssh-extension/105845)

<div class="topic-metadata">

**Author:** [@JakeWren](https://discourse.julialang.org/u/JakeWren)\
**Replies:** 1\
**Last updated:** [October 4, 2024, 12:32pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-debug-in-vs-code-using-the-remote-ssh-extension/105845 "2024-10-04T12:32:25Z")

</div>

I am on a Linux cluster and the details of the SSH plugin can be found here. After configuring my launch.json file, and then “Run” → “Start Debugging”, it loads for a bit (looping blue bar), but then stops and nothing h…

---

## [Intellisense not working with kwargs](https://discourse.julialang.org/t/intellisense-not-working-with-kwargs/120808)

<div class="topic-metadata">

**Author:** [@Farouk](https://discourse.julialang.org/u/Farouk)\
**Replies:** 0\
**Last updated:** [October 2, 2024, 10:09am UTC](https://discourse.julialang.org/t/intellisense-not-working-with-kwargs/120808 "2024-10-02T10:09:50Z")

</div>

Hi everyone, I am using VS Code (windows 10) with the Julia extension, however I have a problem with code auto completion. As you can see in the first image, when I enter the positional arguments IntelliSense works fine …

---

## [Julia code crash in VSCode extension](https://discourse.julialang.org/t/julia-code-crash-in-vscode-extension/119863)

<div class="topic-metadata">

**Author:** [@s\_amap](https://discourse.julialang.org/u/s_amap)\
**Replies:** 0\
**Last updated:** [September 25, 2024, 12:53pm UTC](https://discourse.julialang.org/t/julia-code-crash-in-vscode-extension/119863 "2024-09-25T12:53:03Z")

</div>

Greetings, I am quite new to Julia and VSCode (I come from a mostly C/C++ background), so apologies if the issue isn’t perfectly described. Using Julia 1.10.5 and the latest version of the VSCode extension, I encounter…

---

## [Connect REPL to jupyter notebook kernel](https://discourse.julialang.org/t/connect-repl-to-jupyter-notebook-kernel/86632)

<div class="topic-metadata">

**Author:** [@daharn](https://discourse.julialang.org/u/daharn)\
**Replies:** 7\
**Last updated:** [September 21, 2024, 10:43am UTC](https://discourse.julialang.org/t/connect-repl-to-jupyter-notebook-kernel/86632 "2024-09-21T10:43:53Z")

</div>

I am using the jupyter notebook Julia extension for VS Code and find it quite nice. However, when debugging my commands I often find myself reproducing my notebook steps in a script and then run them in a REPL to be able…

---

## [\`@profview\` blank in VSCode when profiling Flux](https://discourse.julialang.org/t/profview-blank-in-vscode-when-profiling-flux/119602)

<div class="topic-metadata">

**Author:** [@BioTurboNick](https://discourse.julialang.org/u/BioTurboNick)\
**Replies:** 4\
**Last updated:** [September 21, 2024, 6:51am UTC](https://discourse.julialang.org/t/profview-blank-in-vscode-when-profiling-flux/119602 "2024-09-21T06:51:30Z")

</div>

I’ve been experiencing a blank window when using @profview while profiling a Flux model. The editor shows the blue/red bars for time spent in each line properly. But I can’t even save the profile to HTML - I select a sa…

---

## [Different test results of @test\_opt inside and outside the @testitem block](https://discourse.julialang.org/t/different-test-results-of-test-opt-inside-and-outside-the-testitem-block/119564)

<div class="topic-metadata">

**Author:** [@aaoo](https://discourse.julialang.org/u/aaoo)\
**Replies:** 0\
**Last updated:** [September 18, 2024, 4:45pm UTC](https://discourse.julialang.org/t/different-test-results-of-test-opt-inside-and-outside-the-testitem-block/119564 "2024-09-18T16:45:58Z")

</div>

I found that when the function contains @warn, the testing results of @test\_opt inside the @testitem block differ from those outside, i.e. in the REPL. Please see the code below. Could someone explain why this happens …

---

## [Unicode autocomplete howto](https://discourse.julialang.org/t/unicode-autocomplete-howto/96752)

<div class="topic-metadata">

**Author:** [@owiecc](https://discourse.julialang.org/u/owiecc)\
**Replies:** 3\
**Last updated:** [September 15, 2024, 3:22am UTC](https://discourse.julialang.org/t/unicode-autocomplete-howto/96752 "2024-09-15T03:22:53Z")

</div>

We’d like to implement autocomplete, just like in Julia, of unicode characters in typst VSCode extension. Could you point me to how this implementation is done? Is it in LanguageServer.jl or is it done in Julia itself? P…

---

## [How to launch Julia with command-line arguments in VS Code?](https://discourse.julialang.org/t/how-to-launch-julia-with-command-line-arguments-in-vs-code/93716)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 6\
**Last updated:** [September 13, 2024, 5:07pm UTC](https://discourse.julialang.org/t/how-to-launch-julia-with-command-line-arguments-in-vs-code/93716 "2024-09-13T17:07:17Z")

</div>

I usually start Julia with some command-line options when starting it from a terminal. How to do this when using the Julia REPL in the Code editor?

---

## [Is anyone working on an VSCode extension for Julia that can show the inferred types? Koka has something like this. Would be fun to work on](https://discourse.julialang.org/t/is-anyone-working-on-an-vscode-extension-for-julia-that-can-show-the-inferred-types-koka-has-something-like-this-would-be-fun-to-work-on/119323)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 10\
**Last updated:** [September 13, 2024, 11:33am UTC](https://discourse.julialang.org/t/is-anyone-working-on-an-vscode-extension-for-julia-that-can-show-the-inferred-types-koka-has-something-like-this-would-be-fun-to-work-on/119323 "2024-09-13T11:33:24Z")

</div>

The above is from Koka’s website and show how the inferred type can be shown to the user. Theoretically, we can do the same in Julia。 Wonder if anyone’s working on this? It would be fun to work on. Eg. one can add a…

---

## [Plans for Viewing Heap Snapshots?](https://discourse.julialang.org/t/plans-for-viewing-heap-snapshots/98696)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 4\
**Last updated:** [September 11, 2024, 9:21pm UTC](https://discourse.julialang.org/t/plans-for-viewing-heap-snapshots/98696 "2024-09-11T21:21:31Z")

</div>

Hello! I know its a bit early, but with 1.9 out and the ability to view heap snapshots with Chromium, I’m wondering if there are any plans to integrate the ability to view the snapshots in VSCode via the Julia extension…

---

## [Choosing environments in VSCode](https://discourse.julialang.org/t/choosing-environments-in-vscode/119279)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 2\
**Last updated:** [September 11, 2024, 1:13pm UTC](https://discourse.julialang.org/t/choosing-environments-in-vscode/119279 "2024-09-11T13:13:12Z")

</div>

What is the difference between starting a Julia REPL in VSCode and activating the environment of the folder with Pkg versus clicking on the “Julia env” button as described in the docs? The button performs additiona…

---

## [VSCode terminal gets new features for Julia](https://discourse.julialang.org/t/vscode-terminal-gets-new-features-for-julia/118833)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 3\
**Last updated:** [September 7, 2024, 4:14pm UTC](https://discourse.julialang.org/t/vscode-terminal-gets-new-features-for-julia/118833 "2024-09-07T16:14:09Z")

</div>

According to its release notes, the next version of VSCode will support command decorations and run recent commands for Julia in the terminal. There’s now support shell integration support for Julia and NuShell. This e…

---

## [A curious bug(?) in VS Code / Symbolic Regression](https://discourse.julialang.org/t/a-curious-bug-in-vs-code-symbolic-regression/119100)

<div class="topic-metadata">

**Author:** [@braamvandyk](https://discourse.julialang.org/u/braamvandyk)\
**Replies:** 0\
**Last updated:** [September 6, 2024, 6:08am UTC](https://discourse.julialang.org/t/a-curious-bug-in-vs-code-symbolic-regression/119100 "2024-09-06T06:08:24Z")

</div>

I have found a curious, but fairly infuriating issue with running SymbolicRegression.jl in VS Code. I’ll log an issue, but would like some wisdom as to where I should log this - with the VS Code add-in, VS Code itself, o…

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

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