# VS Code

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

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

**Page:** 13

---

## [How to debug a script in existing REPL using VSCode](https://discourse.julialang.org/t/how-to-debug-a-script-in-existing-repl-using-vscode/60822)

<div class="topic-metadata">

**Author:** [@RGerzaguet](https://discourse.julialang.org/u/RGerzaguet)\
**Replies:** 3\
**Last updated:** [August 4, 2022, 9:17am UTC](https://discourse.julialang.org/t/how-to-debug-a-script-in-existing-repl-using-vscode/60822 "2022-08-04T09:17:42Z")

</div>

Hello all, I often use VSCode when I want to debug code and I conversely put breakpoints into functions and call the functions in my Julia session (in the REPL) using the macro @run myFunc(x) (or even @enter). This work…

---

## [Q: using Latexify.jl in VS Code](https://discourse.julialang.org/t/q-using-latexify-jl-in-vs-code/85136)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 7\
**Last updated:** [August 3, 2022, 9:07pm UTC](https://discourse.julialang.org/t/q-using-latexify-jl-in-vs-code/85136 "2022-08-03T21:07:13Z")

</div>

Hello, I would like to display an equation using Latexify in the VS Code IDE. The MWE is # test\_latexify\_main.jl using Symbolics using Latexify function main() @variables x, t @variables Φ(x, t) Dx = …

---

## ["Run file in New Process" in VS Code runs forever](https://discourse.julialang.org/t/run-file-in-new-process-in-vs-code-runs-forever/85208)

<div class="topic-metadata">

**Author:** [@Alehud](https://discourse.julialang.org/u/Alehud)\
**Replies:** 3\
**Last updated:** [August 3, 2022, 8:11am UTC](https://discourse.julialang.org/t/run-file-in-new-process-in-vs-code-runs-forever/85208 "2022-08-03T08:11:42Z")

</div>

I have a file with a simple single-line code println("Hello") . When I press “Julia: Run File in New Process” in VS Code on Windows 10, it is trying to start the process forever. It shows the little palette with the red…

---

## [How to clear old plots from Plot Navigator?](https://discourse.julialang.org/t/how-to-clear-old-plots-from-plot-navigator/84928)

<div class="topic-metadata">

**Author:** [@selim](https://discourse.julialang.org/u/selim)\
**Replies:** 7\
**Last updated:** [July 30, 2022, 10:46am UTC](https://discourse.julialang.org/t/how-to-clear-old-plots-from-plot-navigator/84928 "2022-07-30T10:46:17Z")

</div>

Hi, I can’t find a way to clear plots without restarting vscode completely. Is there a shortcut or a button for that? Here in the image there are old plots that I can’t clear from old runs. Restarting julia repl doesn’t …

---

## [No LS running or start](https://discourse.julialang.org/t/no-ls-running-or-start/84918)

<div class="topic-metadata">

**Author:** [@aerdely](https://discourse.julialang.org/u/aerdely)\
**Replies:** 4\
**Last updated:** [July 28, 2022, 3:36pm UTC](https://discourse.julialang.org/t/no-ls-running-or-start/84918 "2022-07-28T15:36:01Z")

</div>

I got the message No LS running or start. Check your settings but have no idea which settings I should check and what to do. Any hints?

---

## [Could not run editor content in a new process](https://discourse.julialang.org/t/could-not-run-editor-content-in-a-new-process/84800)

<div class="topic-metadata">

**Author:** [@mongi](https://discourse.julialang.org/u/mongi)\
**Replies:** 2\
**Last updated:** [July 26, 2022, 10:33am UTC](https://discourse.julialang.org/t/could-not-run-editor-content-in-a-new-process/84800 "2022-07-26T10:33:04Z")

</div>

VScode suddenly stopped running code using ctrl+F5 the usual graph appears but nothing happens: then after I forcefully stop it, i get: I still can run the code using “Julia:Execute active File in REPL” thank …

---

## [Custom keybindings doesn't work in VS Code REPL](https://discourse.julialang.org/t/custom-keybindings-doesnt-work-in-vs-code-repl/84636)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 1\
**Last updated:** [July 22, 2022, 3:18pm UTC](https://discourse.julialang.org/t/custom-keybindings-doesnt-work-in-vs-code-repl/84636 "2022-07-22T15:18:53Z")

</div>

I use Greek characters very frequently in my code. So, for example, instead of entering λ by \\lambda followed by the tab key, I press Control-Option-L. (I’m a Mac user, and Mac’s Option key would correspond to Window’s…

---

## [Sorting in vscode workspace view](https://discourse.julialang.org/t/sorting-in-vscode-workspace-view/84624)

<div class="topic-metadata">

**Author:** [@Oto\_Brzobohaty](https://discourse.julialang.org/u/Oto_Brzobohaty)\
**Replies:** 0\
**Last updated:** [July 22, 2022, 6:30am UTC](https://discourse.julialang.org/t/sorting-in-vscode-workspace-view/84624 "2022-07-22T06:30:09Z")

</div>

Dear All, is there any way how to sort the workspace in julia view (in vscode julia extension)? Normally there is mix of variables, modules, etc. I would like to have variables and modules in separated subsections.

---

## [VSCode Julia debugger usability](https://discourse.julialang.org/t/vscode-julia-debugger-usability/58121)

<div class="topic-metadata">

**Author:** [@Zhong\_Pan](https://discourse.julialang.org/u/Zhong_Pan)\
**Replies:** 19\
**Last updated:** [July 20, 2022, 12:16pm UTC](https://discourse.julialang.org/t/vscode-julia-debugger-usability/58121 "2022-07-20T12:16:46Z")

</div>

This is not a new topic, and I am aware progress is being made… Just would like to bump its priority if possible. :slight\_smile: Currently the VSCode Julia debugger’s standard mode is too slow for practical use if large…

---

## [Why does Random.seed!() return different results in Atom and VSCode?](https://discourse.julialang.org/t/why-does-random-seed-return-different-results-in-atom-and-vscode/84287)

<div class="topic-metadata">

**Author:** [@etorkia](https://discourse.julialang.org/u/etorkia)\
**Replies:** 3\
**Last updated:** [July 19, 2022, 6:18pm UTC](https://discourse.julialang.org/t/why-does-random-seed-return-different-results-in-atom-and-vscode/84287 "2022-07-19T18:18:48Z")

</div>

I am trying to run Documenter.jl and the output results are different that the expected results due to a difference in sampling. I can reproduce a seeded result using 1 in both cases but different outputs! Any thoughts?

---

## [Folds error in VSCode](https://discourse.julialang.org/t/folds-error-in-vscode/83880)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 1\
**Last updated:** [July 7, 2022, 7:30am UTC](https://discourse.julialang.org/t/folds-error-in-vscode/83880 "2022-07-07T07:30:58Z")

</div>

I’m seeing this error when trying to load Folds in VSCode: julia\> using Folds ERROR: InitError: UndefVarError: Implementations not defined Stacktrace: \[1\] parse\_pkg\_files(id::Base.PkgId) @ Revise ~/.julia/packages…

---

## [Using VS Code behind corporate proxy](https://discourse.julialang.org/t/using-vs-code-behind-corporate-proxy/83615)

<div class="topic-metadata">

**Author:** [@deserted\_eagle](https://discourse.julialang.org/u/deserted_eagle)\
**Replies:** 0\
**Last updated:** [July 1, 2022, 12:31pm UTC](https://discourse.julialang.org/t/using-vs-code-behind-corporate-proxy/83615 "2022-07-01T12:31:50Z")

</div>

Hi all, I’m developing Julia on VS Code using the Julia plugin, but I think some of the functionality is not working because my company’s proxy is in the way. For example, I’m hardly getting any annotation from the lint…

---

## [How reliable are the warning flags in the vscode profile viewer?](https://discourse.julialang.org/t/how-reliable-are-the-warning-flags-in-the-vscode-profile-viewer/83325)

<div class="topic-metadata">

**Author:** [@benninkrs](https://discourse.julialang.org/u/benninkrs)\
**Replies:** 2\
**Last updated:** [June 27, 2022, 7:14am UTC](https://discourse.julialang.org/t/how-reliable-are-the-warning-flags-in-the-vscode-profile-viewer/83325 "2022-06-27T07:14:23Z")

</div>

I’m profiling a function using the vscode-julia @profview macro. When I do this some lines in the function are flagged as dynamic dispatch which I have a hard time believing, since according to @code\_warntype the argumen…

---

## [Lock a cell to prevent accidental editing](https://discourse.julialang.org/t/lock-a-cell-to-prevent-accidental-editing/83378)

<div class="topic-metadata">

**Author:** [@OuricoDC](https://discourse.julialang.org/u/OuricoDC)\
**Replies:** 1\
**Last updated:** [June 27, 2022, 7:10am UTC](https://discourse.julialang.org/t/lock-a-cell-to-prevent-accidental-editing/83378 "2022-06-27T07:10:35Z")

</div>

Hi, is there a way to lock a notebook cell to prevent accidental modification/ deletion in VSCode? Thanks ODC

---

## [Autocomplete DataFrame columns not working in VS Code](https://discourse.julialang.org/t/autocomplete-dataframe-columns-not-working-in-vs-code/45449)

<div class="topic-metadata">

**Author:** [@rvezy](https://discourse.julialang.org/u/rvezy)\
**Replies:** 6\
**Last updated:** [June 24, 2022, 11:40am UTC](https://discourse.julialang.org/t/autocomplete-dataframe-columns-not-working-in-vs-code/45449 "2022-06-24T11:40:51Z")

</div>

Hi there, first I want to thank all people involved in the Julia extension for VS Code, you made a wonderful job. Now I have a little issue that is annoying when doing data science: the column names of a DataFrame are n…

---

## [Make Julia VSCode use Manifest.toml and Project.toml files from the folder of script being run](https://discourse.julialang.org/t/make-julia-vscode-use-manifest-toml-and-project-toml-files-from-the-folder-of-script-being-run/82046)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 9\
**Last updated:** [June 17, 2022, 1:32pm UTC](https://discourse.julialang.org/t/make-julia-vscode-use-manifest-toml-and-project-toml-files-from-the-folder-of-script-being-run/82046 "2022-06-17T13:32:25Z")

</div>

I have a folder with a “Manifest.toml” and a “Project.toml” file. I also have a script, “my\_julia\_script.jl”. I open the script and run some stuff. However, it seems to use the general julia environment. I want it to use…

---

## [Evaluate julia code blocks while using Markdown VSCode preview](https://discourse.julialang.org/t/evaluate-julia-code-blocks-while-using-markdown-vscode-preview/82368)

<div class="topic-metadata">

**Author:** [@natema](https://discourse.julialang.org/u/natema)\
**Replies:** 0\
**Last updated:** [June 7, 2022, 12:22pm UTC](https://discourse.julialang.org/t/evaluate-julia-code-blocks-while-using-markdown-vscode-preview/82368 "2022-06-07T12:22:56Z")

</div>

I would like to edit a .jmd file in Markdown language mode on VSCode while still being able to send cells to the REPL as when I set Julia Markdown language mode. More context. The great advantage of working with .jmd in…

---

## [Use Julia in vscode (as a flatpak)](https://discourse.julialang.org/t/use-julia-in-vscode-as-a-flatpak/79889)

<div class="topic-metadata">

**Author:** [@Ordens\_Ritter](https://discourse.julialang.org/u/Ordens_Ritter)\
**Replies:** 4\
**Last updated:** [June 2, 2022, 12:41pm UTC](https://discourse.julialang.org/t/use-julia-in-vscode-as-a-flatpak/79889 "2022-06-02T12:41:43Z")

</div>

VS Code is normally distributed for my distro as a SNAP (which had the side effect for me) that vs code started in about 30 % of the cases I started my PC. Hence I switched to the Flatpak package of VS Code-OSS. After …

---

## [VS code custom Sysimage, startup time for "run in REPL" and "run as new process"](https://discourse.julialang.org/t/vs-code-custom-sysimage-startup-time-for-run-in-repl-and-run-as-new-process/82115)

<div class="topic-metadata">

**Author:** [@nabajour](https://discourse.julialang.org/u/nabajour)\
**Replies:** 4\
**Last updated:** [June 2, 2022, 9:49am UTC](https://discourse.julialang.org/t/vs-code-custom-sysimage-startup-time-for-run-in-repl-and-run-as-new-process/82115 "2022-06-02T09:49:11Z")

</div>

Hi all, I’m trying to get the startup time of julia down. I created a JuliaSysImage.toml, giving an execution script that exercises frequently used functions I want to precompile. I then ran the build sysimage task. I…

---

## [VS Code extremely slow to execute code](https://discourse.julialang.org/t/vs-code-extremely-slow-to-execute-code/81520)

<div class="topic-metadata">

**Author:** [@lzxnl](https://discourse.julialang.org/u/lzxnl)\
**Replies:** 4\
**Last updated:** [May 27, 2022, 2:50am UTC](https://discourse.julialang.org/t/vs-code-extremely-slow-to-execute-code/81520 "2022-05-27T02:50:10Z")

</div>

When I start up VS Code, the first time I want to execute code, it does so ok. The second time, if I highlight some code to run with Shift-Enter, it will stop, and will take longer to reply than just restarting VS Code, …

---

## [VSCode in notebook doesn't print if has error](https://discourse.julialang.org/t/vscode-in-notebook-doesnt-print-if-has-error/81640)

<div class="topic-metadata">

**Author:** [@Elyco](https://discourse.julialang.org/u/Elyco)\
**Replies:** 3\
**Last updated:** [May 25, 2022, 5:17pm UTC](https://discourse.julialang.org/t/vscode-in-notebook-doesnt-print-if-has-error/81640 "2022-05-25T17:17:47Z")

</div>

Hi, When using VS Code notebook I notice the following behavior: println("You won't see this print.") error() The cell doesn’t output the println command. This is very common practice for me while debugging. Even mo…

---

## [Debugging in VS Code has difference variable scope behavior](https://discourse.julialang.org/t/debugging-in-vs-code-has-difference-variable-scope-behavior/80226)

<div class="topic-metadata">

**Author:** [@msena](https://discourse.julialang.org/u/msena)\
**Replies:** 6\
**Last updated:** [May 13, 2022, 1:02am UTC](https://discourse.julialang.org/t/debugging-in-vs-code-has-difference-variable-scope-behavior/80226 "2022-05-13T01:02:02Z")

</div>

Hi, I am trying to debug some code and upon some experimentation it seems that the debugger in visual studio code has a different scoping behavior than when running stuff no the REPL? Consider the following example (may…

---

## [How to change the PATH variable on VSCode Debugger](https://discourse.julialang.org/t/how-to-change-the-path-variable-on-vscode-debugger/80959)

<div class="topic-metadata">

**Author:** [@guilhermebodin](https://discourse.julialang.org/u/guilhermebodin)\
**Replies:** 0\
**Last updated:** [May 12, 2022, 2:23pm UTC](https://discourse.julialang.org/t/how-to-change-the-path-variable-on-vscode-debugger/80959 "2022-05-12T14:23:01Z")

</div>

Hi, I have a kind of complicated bat script that runs a julia executable inside, in order to use the debugger I would have to make an edition in the PATH environment variable, is this currently possible in the Debugger o…

---

## [Stack plot-pane and terminal](https://discourse.julialang.org/t/stack-plot-pane-and-terminal/56013)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 15\
**Last updated:** [May 10, 2022, 7:54am UTC](https://discourse.julialang.org/t/stack-plot-pane-and-terminal/56013 "2022-05-10T07:54:40Z")

</div>

Currently, my layout looks like this: I would LOVE for it to look like this to utilize the space better: I could not find out how - does anyone know if it is possible? If not, this is a feature request …

---

## [VS code crash loading big file NetCDF](https://discourse.julialang.org/t/vs-code-crash-loading-big-file-netcdf/80562)

<div class="topic-metadata">

**Author:** [@virgile-baudrot](https://discourse.julialang.org/u/virgile-baudrot)\
**Replies:** 5\
**Last updated:** [May 9, 2022, 8:28am UTC](https://discourse.julialang.org/t/vs-code-crash-loading-big-file-netcdf/80562 "2022-05-09T08:28:33Z")

</div>

I have to load a NetCDF file of around 50Mb, it’s working fine within the shell but not in VScode. The error message from julia is super fast I don’t have time to copy past here. VScode return this: path\\AppData\\Local…

---

## [New file options in VS Code drop-down menu](https://discourse.julialang.org/t/new-file-options-in-vs-code-drop-down-menu/80222)

<div class="topic-metadata">

**Author:** [@chadagreene](https://discourse.julialang.org/u/chadagreene)\
**Replies:** 7\
**Last updated:** [April 29, 2022, 3:21pm UTC](https://discourse.julialang.org/t/new-file-options-in-vs-code-drop-down-menu/80222 "2022-04-29T15:21:17Z")

</div>

Does anyone know, is it a bug or something wrong with my VS Code installation that causes two entries for New File in VS Code File drop-down menu?

---

## [Connect to external REPL no longer works](https://discourse.julialang.org/t/connect-to-external-repl-no-longer-works/80015)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 5\
**Last updated:** [April 27, 2022, 7:50pm UTC](https://discourse.julialang.org/t/connect-to-external-repl-no-longer-works/80015 "2022-04-27T19:50:26Z")

</div>

Version 1.7.2 of Julia. Latest version of VS Code. I got the command from the plugin Julia Connect to External REPL to work once. A sort of prompt came up with a button. I clicked it. I had an external repl connecte…

---

## [VScode underline error in plot call, wrongly](https://discourse.julialang.org/t/vscode-underline-error-in-plot-call-wrongly/80048)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 1\
**Last updated:** [April 26, 2022, 11:55am UTC](https://discourse.julialang.org/t/vscode-underline-error-in-plot-call-wrongly/80048 "2022-04-26T11:55:32Z")

</div>

Many times (all?) when I write a plot call, I get VSCode to underline it as if it was a possible error in function call: It is only me?

---

## [How to view source of import/using Package?](https://discourse.julialang.org/t/how-to-view-source-of-import-using-package/79893)

<div class="topic-metadata">

**Author:** [@guidorice](https://discourse.julialang.org/u/guidorice)\
**Replies:** 5\
**Last updated:** [April 25, 2022, 11:51pm UTC](https://discourse.julialang.org/t/how-to-view-source-of-import-using-package/79893 "2022-04-25T23:51:16Z")

</div>

When I have installed some packages, then I can view docstrings of imported/using packages, by hovering over an expression or variable. However, Go to Definition (F12) does not work for imported or using Packages. This …

---

## [Visual Studio Code terminal dies when creating plot](https://discourse.julialang.org/t/visual-studio-code-terminal-dies-when-creating-plot/80019)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 1\
**Last updated:** [April 25, 2022, 10:20pm UTC](https://discourse.julialang.org/t/visual-studio-code-terminal-dies-when-creating-plot/80019 "2022-04-25T22:20:25Z")

</div>

Sometimes the plots plot and sometimes the REPL simply dies. I think if I make the terminal display in the editor works. The error message is pretty impenetrable: The terminal process “julia ‘-i’, ‘–banner=no’, ‘–proj…

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

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