# VS Code

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

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

**Page:** 19

---

## [Speeding up the exit(); restart REPL loop in VSCode](https://discourse.julialang.org/t/speeding-up-the-exit-restart-repl-loop-in-vscode/56834)

<div class="topic-metadata">

**Author:** [@marty0801](https://discourse.julialang.org/u/marty0801)\
**Replies:** 8\
**Last updated:** [March 11, 2021, 6:43pm UTC](https://discourse.julialang.org/t/speeding-up-the-exit-restart-repl-loop-in-vscode/56834 "2021-03-11T18:43:32Z")

</div>

I use Revise, but I frequently change struct definitions, which requires to exit Julia and start another REPL, wait for my package to compile. You know the drill; there must be a better way! How do you handle this? The …

---

## [VS Code - Can't run Julia without debugging](https://discourse.julialang.org/t/vs-code-cant-run-julia-without-debugging/42944)

<div class="topic-metadata">

**Author:** [@reinermartin](https://discourse.julialang.org/u/reinermartin)\
**Replies:** 9\
**Last updated:** [March 7, 2021, 10:18am UTC](https://discourse.julialang.org/t/vs-code-cant-run-julia-without-debugging/42944 "2021-03-07T10:18:22Z")

</div>

For a few weeks now the command “Run Without Debugging” in VS Code runs Julia with debugging. This is true on three different machines. Is there something obvious I might be doing wrong? I am running the latest version …

---

## [Jump to next/previous block in VS Code](https://discourse.julialang.org/t/jump-to-next-previous-block-in-vs-code/56350)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 9:15am UTC](https://discourse.julialang.org/t/jump-to-next-previous-block-in-vs-code/56350 "2021-03-03T09:15:03Z")

</div>

Is there a keyboard shortcut (or possibility to bind one) that can jump to the next or previous block of code in a file? That is, to the next function, or let block, begin/end block, etc? Basically any kind of structure …

---

## [Debugging vscode language server issues?](https://discourse.julialang.org/t/debugging-vscode-language-server-issues/55645)

<div class="topic-metadata">

**Author:** [@marty0801](https://discourse.julialang.org/u/marty0801)\
**Replies:** 1\
**Last updated:** [February 22, 2021, 1:01am UTC](https://discourse.julialang.org/t/debugging-vscode-language-server-issues/55645 "2021-02-22T01:01:47Z")

</div>

It sometimes happens that “go to definition” in VSCode julia is unable to do so. (The fault is usually my own; it often happens when I’ve reorganized my code without running tests.) Is it possible view debug/logging outp…

---

## [Recommended development workflow in VSCode](https://discourse.julialang.org/t/recommended-development-workflow-in-vscode/55348)

<div class="topic-metadata">

**Author:** [@marty0801](https://discourse.julialang.org/u/marty0801)\
**Replies:** 12\
**Last updated:** [February 21, 2021, 1:11pm UTC](https://discourse.julialang.org/t/recommended-development-workflow-in-vscode/55348 "2021-02-21T13:11:12Z")

</div>

I’m trying to move from Juno to VSCode, but I’m having trouble getting introspection to work well with my code setup. In Juno, I made local modules available by push!ing to LOAD\_PATH. This post indicates that this is not…

---

## [Attach boilerplate code to vscode cell start and end \[Feature idea\]](https://discourse.julialang.org/t/attach-boilerplate-code-to-vscode-cell-start-and-end-feature-idea/55668)

<div class="topic-metadata">

**Author:** [@Marcell\_Havlik](https://discourse.julialang.org/u/Marcell_Havlik)\
**Replies:** 0\
**Last updated:** [February 20, 2021, 10:10am UTC](https://discourse.julialang.org/t/attach-boilerplate-code-to-vscode-cell-start-and-end-feature-idea/55668 "2021-02-20T10:10:45Z")

</div>

Hey julianners, I am just curious whether is it possible to create a mechnaism that could be overrideable for julia vscode plugin. I could imagine like this: function VSCodeServer.begin\_cell() global starttime = ti…

---

## [In line execution inside function](https://discourse.julialang.org/t/in-line-execution-inside-function/55666)

<div class="topic-metadata">

**Author:** [@anon74562486](https://discourse.julialang.org/u/anon74562486)\
**Replies:** 3\
**Last updated:** [February 20, 2021, 9:31am UTC](https://discourse.julialang.org/t/in-line-execution-inside-function/55666 "2021-02-20T09:31:04Z")

</div>

I really like in line execution of julia code. However if I put my code inside a main() function (to avoid global variables) I can’t get in line execution inside the main(). Is there a solution to this? Thank you.

---

## [Ssh terminal with local files](https://discourse.julialang.org/t/ssh-terminal-with-local-files/55474)

<div class="topic-metadata">

**Author:** [@Ribeiro](https://discourse.julialang.org/u/Ribeiro)\
**Replies:** 16\
**Last updated:** [February 19, 2021, 9:30am UTC](https://discourse.julialang.org/t/ssh-terminal-with-local-files/55474 "2021-02-19T09:30:31Z")

</div>

Hello, This is not Julia-specific. I have my files locally and want to continue to edit them locally. However, it would be convenient if my terminal could run on a remote machine via ssh, so that anything I run gets exe…

---

## [How to find the executable path for julia installed by the app manager (linux mint)?](https://discourse.julialang.org/t/how-to-find-the-executable-path-for-julia-installed-by-the-app-manager-linux-mint/55351)

<div class="topic-metadata">

**Author:** [@lpratafe](https://discourse.julialang.org/u/lpratafe)\
**Replies:** 2\
**Last updated:** [February 16, 2021, 12:29am UTC](https://discourse.julialang.org/t/how-to-find-the-executable-path-for-julia-installed-by-the-app-manager-linux-mint/55351 "2021-02-16T00:29:48Z")

</div>

Hello everyone, I’m new to the forum so I apologize if I post this in the wrong category or something. I have done a lot of research on the web and also through various topics here but with no success, so I decided to p…

---

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

<div class="topic-metadata">

**Author:** [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Replies:** 24\
**Last updated:** [February 15, 2021, 2:14pm UTC](https://discourse.julialang.org/t/ann-vs-code-extension-1-1-released/54896 "2021-02-15T14:14:44Z")

</div>

We just released version 1.1 of the Julia extension for VS Code to the marketplace. As always, you don’t need to do anything to get the new release, auto-update should take care of that. This release has only two new us…

---

## [In VSCode-Julia, how to remap "up" key while in the REPL?](https://discourse.julialang.org/t/in-vscode-julia-how-to-remap-up-key-while-in-the-repl/55279)

<div class="topic-metadata">

**Author:** [@marty0801](https://discourse.julialang.org/u/marty0801)\
**Replies:** 6\
**Last updated:** [February 15, 2021, 12:37pm UTC](https://discourse.julialang.org/t/in-vscode-julia-how-to-remap-up-key-while-in-the-repl/55279 "2021-02-15T12:37:40Z")

</div>

I’d like to use Ctrl-p to load previous commands at the REPL prompt. I assume the correct approach is to modify Keyboard Shortcuts, but I can’t seem to identify the corresponding command. Things I’ve tried: Searched sho…

---

## [Wierd output in vs code with julia with jupyter notebook?](https://discourse.julialang.org/t/wierd-output-in-vs-code-with-julia-with-jupyter-notebook/55145)

<div class="topic-metadata">

**Author:** [@Ravinder\_Ram](https://discourse.julialang.org/u/Ravinder_Ram)\
**Replies:** 4\
**Last updated:** [February 14, 2021, 4:40am UTC](https://discourse.julialang.org/t/wierd-output-in-vs-code-with-julia-with-jupyter-notebook/55145 "2021-02-14T04:40:14Z")

</div>

wierd output what should i do please help . I getting when i import dataset by csv.

---

## [VScode \_and\_ julia inside docker - Dockerfile?](https://discourse.julialang.org/t/vscode-and-julia-inside-docker-dockerfile/38630)

<div class="topic-metadata">

**Author:** [@jaynick](https://discourse.julialang.org/u/jaynick)\
**Replies:** 5\
**Last updated:** [February 13, 2021, 10:59am UTC](https://discourse.julialang.org/t/vscode-and-julia-inside-docker-dockerfile/38630 "2021-02-13T10:59:54Z")

</div>

Is anyhone running VScode and Julia inside a single docker container? Is there an example of a Dockerfile I could use a guide for how to do this? thank you for any replies.

---

## [VS Code Julia Language Server Indexing](https://discourse.julialang.org/t/vs-code-julia-language-server-indexing/41576)

<div class="topic-metadata">

**Author:** [@Donut\_Meepo](https://discourse.julialang.org/u/Donut_Meepo)\
**Replies:** 34\
**Last updated:** [February 11, 2021, 2:20pm UTC](https://discourse.julialang.org/t/vs-code-julia-language-server-indexing/41576 "2021-02-11T14:20:03Z")

</div>

Hi, I had installed the Julia extension awhile ago. But every time I used it, it stalls at indexing and never ends. The indexing consumes CPU sources. Julia extension 0.15.40 on Ubuntu 16.04 Thank you for your help…

---

## [I can't get Julia to work in VS Code, because the Path JSON is a mess](https://discourse.julialang.org/t/i-cant-get-julia-to-work-in-vs-code-because-the-path-json-is-a-mess/54714)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 3\
**Last updated:** [February 11, 2021, 10:13am UTC](https://discourse.julialang.org/t/i-cant-get-julia-to-work-in-vs-code-because-the-path-json-is-a-mess/54714 "2021-02-11T10:13:39Z")

</div>

I was trying to change my JSON to create a path to PyDev, and now none of my extensions work. It’s not recognizing an array for some reason (I’m not familiar with JSON or JavaScript in general) } "terminal.integrat…

---

## [Problem with @enter when using Debugger.jl in VS Code console](https://discourse.julialang.org/t/problem-with-enter-when-using-debugger-jl-in-vs-code-console/47830)

<div class="topic-metadata">

**Author:** [@aachener](https://discourse.julialang.org/u/aachener)\
**Replies:** 7\
**Last updated:** [February 9, 2021, 8:00am UTC](https://discourse.julialang.org/t/problem-with-enter-when-using-debugger-jl-in-vs-code-console/47830 "2021-02-09T08:00:30Z")

</div>

Hi, everyone, I am using Debugger.jl in VS Code REPL. It seems that there is a problem of the @enter macro, as following code shows: julia\> using Debugger julia\> foo(x) = x^2 foo (generic function with 1 method) ju…

---

## [Julia VS Code extension version v0.17 released](https://discourse.julialang.org/t/julia-vs-code-extension-version-v0-17-released/42865)

<div class="topic-metadata">

**Author:** [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Replies:** 7\
**Last updated:** [January 31, 2021, 5:27pm UTC](https://discourse.julialang.org/t/julia-vs-code-extension-version-v0-17-released/42865 "2021-01-31T17:27:18Z")

</div>

We just released v0.17 of the Julia VS Code extension to the marketplace. Global variable support in the debugger variable explorer The Variables pane in the integrated debugger now supports global variables: Global…

---

## [Avoid terminal instance to close when Server crash](https://discourse.julialang.org/t/avoid-terminal-instance-to-close-when-server-crash/54063)

<div class="topic-metadata">

**Author:** [@josePereiro](https://discourse.julialang.org/u/josePereiro)\
**Replies:** 2\
**Last updated:** [January 27, 2021, 3:49pm UTC](https://discourse.julialang.org/t/avoid-terminal-instance-to-close-when-server-crash/54063 "2021-01-27T15:49:33Z")

</div>

From https://github.com/julia-vscode/julia-vscode/issues/1697 Hi, sorry for the lack of details, but it is part of the issue. Sometimes when I’m using the Shift + enter workflow I run some code that crash the Server, bu…

---

## [RCall vscode REPL crash](https://discourse.julialang.org/t/rcall-vscode-repl-crash/46128)

<div class="topic-metadata">

**Author:** [@Donut\_Meepo](https://discourse.julialang.org/u/Donut_Meepo)\
**Replies:** 7\
**Last updated:** [January 26, 2021, 10:25am UTC](https://discourse.julialang.org/t/rcall-vscode-repl-crash/46128 "2021-01-26T10:25:45Z")

</div>

I was trying to using RCall in VSCode’s Julia REPL. It crashes. But if I start a REPL from terminal it works fine. (Note: the rfunctions.jl below only has one line of using RCall so that I can capture the error. Sinc…

---

## [Compatibility between Theia and the Julia VS Code extension](https://discourse.julialang.org/t/compatibility-between-theia-and-the-julia-vs-code-extension/46047)

<div class="topic-metadata">

**Author:** [@ffevotte](https://discourse.julialang.org/u/ffevotte)\
**Replies:** 10\
**Last updated:** [January 19, 2021, 9:04pm UTC](https://discourse.julialang.org/t/compatibility-between-theia-and-the-julia-vs-code-extension/46047 "2021-01-19T21:04:42Z")

</div>

I discovered Theia as a possible alternative to VS code in this thread, and decided to give it a try. It looks like a lot of features from the Julia VScode extension work out of the box, which is in itself an incredible…

---

## [Plotting while working with VS Code remote - ssh](https://discourse.julialang.org/t/plotting-while-working-with-vs-code-remote-ssh/34309)

<div class="topic-metadata">

**Author:** [@sebastianpech](https://discourse.julialang.org/u/sebastianpech)\
**Replies:** 8\
**Last updated:** [January 14, 2021, 9:16pm UTC](https://discourse.julialang.org/t/plotting-while-working-with-vs-code-remote-ssh/34309 "2021-01-14T21:16:50Z")

</div>

Hi, I found a nice and simple solution for plotting while working with vscode remote over ssh. Maybe it’s obvious or there is a simpler solution, but wanted to share it anyways: I connect an extra ssh session with X11 f…

---

## [Julia VS code custom task](https://discourse.julialang.org/t/julia-vs-code-custom-task/53161)

<div class="topic-metadata">

**Author:** [@mrkosjan](https://discourse.julialang.org/u/mrkosjan)\
**Replies:** 2\
**Last updated:** [January 11, 2021, 7:06pm UTC](https://discourse.julialang.org/t/julia-vs-code-custom-task/53161 "2021-01-11T19:06:19Z")

</div>

Hello, I am trying to setup a vs code task to run a Julia extension command in the active VS code REPL. What I hope to achieve is to bind a hotkey to a task that will run the runtest.jl file in the currently active REPL…

---

## [Keybindings in VS Code Julia REPL](https://discourse.julialang.org/t/keybindings-in-vs-code-julia-repl/53014)

<div class="topic-metadata">

**Author:** [@grahamas](https://discourse.julialang.org/u/grahamas)\
**Replies:** 0\
**Last updated:** [January 7, 2021, 10:51pm UTC](https://discourse.julialang.org/t/keybindings-in-vs-code-julia-repl/53014 "2021-01-07T22:51:36Z")

</div>

Does anyone know how to/if it’s possible to use keyboard shortcuts in the VS Code Julia REPL? I’d like to press Ctrl-K to delete the line like I do in my normal terminal emulator (or Shift-Ctrl-U analogous as in the edit…

---

## [@run macro](https://discourse.julialang.org/t/run-macro/52981)

<div class="topic-metadata">

**Author:** [@Laco\_Kovac](https://discourse.julialang.org/u/Laco_Kovac)\
**Replies:** 2\
**Last updated:** [January 7, 2021, 4:56pm UTC](https://discourse.julialang.org/t/run-macro/52981 "2021-01-07T16:56:06Z")

</div>

I am trying to debug my code in VS Code. Presenter in the video JuliaCon 2020 | Using VS Code for Julia development | David Anthoff uses @run macro. I cannot find it/use it: julia\> @run MyModule.myFunction() ERROR: Lo…

---

## [Vscode-julia doesn't find intel MKL shared objects](https://discourse.julialang.org/t/vscode-julia-doesnt-find-intel-mkl-shared-objects/52232)

<div class="topic-metadata">

**Author:** [@Steven\_Varga](https://discourse.julialang.org/u/Steven_Varga)\
**Replies:** 11\
**Last updated:** [December 30, 2020, 4:52am UTC](https://discourse.julialang.org/t/vscode-julia-doesnt-find-intel-mkl-shared-objects/52232 "2020-12-30T04:52:49Z")

</div>

Intel MKL and compiler have provides scripts to control library path, which is/are required to be sourced before starting up the MKL linked julia; can someone point out how to work around this when using julia linked wit…

---

## [How to access files outside home folder (VSCode remote)](https://discourse.julialang.org/t/how-to-access-files-outside-home-folder-vscode-remote/52505)

<div class="topic-metadata">

**Author:** [@Luapulu](https://discourse.julialang.org/u/Luapulu)\
**Replies:** 2\
**Last updated:** [December 28, 2020, 2:05pm UTC](https://discourse.julialang.org/t/how-to-access-files-outside-home-folder-vscode-remote/52505 "2020-12-28T14:05:16Z")

</div>

So, I’m connected to a remote server via ssh in VSCode. Problem is, I can’t access files outside my (remote) home directory from the juia REPL. When I copy files into my home directory I can access them. I assume this i…

---

## [Why Might One Get Different Behavior in the VSCode Extension vs the Terminal?](https://discourse.julialang.org/t/why-might-one-get-different-behavior-in-the-vscode-extension-vs-the-terminal/52276)

<div class="topic-metadata">

**Author:** [@JamesK](https://discourse.julialang.org/u/JamesK)\
**Replies:** 3\
**Last updated:** [December 25, 2020, 5:01am UTC](https://discourse.julialang.org/t/why-might-one-get-different-behavior-in-the-vscode-extension-vs-the-terminal/52276 "2020-12-25T05:01:34Z")

</div>

I am experiencing different behavior running the same command: include(raw"/home/james/Julia\_projs/calling\_pytorch\_proj/main.jl") using the VSCode extension versus using the julia REPL called from the command line (Ubu…

---

## [Makie.jl precompilation: how to launch MakieSys.so?](https://discourse.julialang.org/t/makie-jl-precompilation-how-to-launch-makiesys-so/46116)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 7\
**Last updated:** [December 23, 2020, 6:30am UTC](https://discourse.julialang.org/t/makie-jl-precompilation-how-to-launch-makiesys-so/46116 "2020-12-23T06:30:33Z")

</div>

Followed Makie.jl precompilation instructions and managed to create a system image file: MakieSys.so (275 MB). However, do not know how to launch Julia with recommended julia -J ./MakieSys.so command line instruction. So…

---

## [Compile - debug vscode-julia](https://discourse.julialang.org/t/compile-debug-vscode-julia/52233)

<div class="topic-metadata">

**Author:** [@Steven\_Varga](https://discourse.julialang.org/u/Steven_Varga)\
**Replies:** 0\
**Last updated:** [December 22, 2020, 5:09pm UTC](https://discourse.julialang.org/t/compile-debug-vscode-julia/52233 "2020-12-22T17:09:48Z")

</div>

Great tool! – Where can I find documentation on how to compile and debug vscode-julia tool? I am having problems with intel MKL compiled julia v1.5.x and would like to dig down to locate or possibly fix the problem. Whi…

---

## [Debugger uses old cached (?) file and ignores breakpoints](https://discourse.julialang.org/t/debugger-uses-old-cached-file-and-ignores-breakpoints/51562)

<div class="topic-metadata">

**Author:** [@xyz1](https://discourse.julialang.org/u/xyz1)\
**Replies:** 4\
**Last updated:** [December 16, 2020, 9:06pm UTC](https://discourse.julialang.org/t/debugger-uses-old-cached-file-and-ignores-breakpoints/51562 "2020-12-16T21:06:51Z")

</div>

Hi, I have a problem with the VS Code debugger. Unfortunately I have the same problem on 2 distinct PCs independently. Whenever I run the debugger, then program ends and then change some of my julia code, it breaks the …

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

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