# VS Code

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

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

**Page:** 10

---

## [PyCall not working when run from vscode run command](https://discourse.julialang.org/t/pycall-not-working-when-run-from-vscode-run-command/96825)

<div class="topic-metadata">

**Author:** [@AUK1939](https://discourse.julialang.org/u/AUK1939)\
**Replies:** 0\
**Last updated:** [March 30, 2023, 6:01am UTC](https://discourse.julialang.org/t/pycall-not-working-when-run-from-vscode-run-command/96825 "2023-03-30T06:01:14Z")

</div>

I’ve setup PyCall (note I have an anaconda distribuiton) ENV\["PYTHON"\] = "C:\\Anaconda3\\python.exe" Pkg.build("PyCall") In vscode when I open a new terminal (I’m on windows so a power shell opens) and then start julia …

---

## [Julia run error in visual studio code](https://discourse.julialang.org/t/julia-run-error-in-visual-studio-code/96314)

<div class="topic-metadata">

**Author:** [@AstroSathya\_sharma](https://discourse.julialang.org/u/AstroSathya_sharma)\
**Replies:** 4\
**Last updated:** [March 26, 2023, 9:38am UTC](https://discourse.julialang.org/t/julia-run-error-in-visual-studio-code/96314 "2023-03-26T09:38:00Z")

</div>

Hi, This is the first time i am trying to run Julia code in VS Code. Its just a bog standard first code but i get the error. Naturally I have installed Julia extension and also configured the json. Error: there is no re…

---

## [Breakpoints fail in code called from compiled code?](https://discourse.julialang.org/t/breakpoints-fail-in-code-called-from-compiled-code/96328)

<div class="topic-metadata">

**Author:** [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Replies:** 3\
**Last updated:** [March 20, 2023, 10:35am UTC](https://discourse.julialang.org/t/breakpoints-fail-in-code-called-from-compiled-code/96328 "2023-03-20T10:35:19Z")

</div>

Using VSCode and the following test code, with a breakpoint set where indicated: function test5(x) a=10 #set breakpoint here return a+x end print(sum(test5(x) for x in \[3, 5\])) When I run this with F5 the cod…

---

## [Vscode breakpoint not working in callback](https://discourse.julialang.org/t/vscode-breakpoint-not-working-in-callback/78830)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 1\
**Last updated:** [March 20, 2023, 4:18am UTC](https://discourse.julialang.org/t/vscode-breakpoint-not-working-in-callback/78830 "2023-03-20T04:18:42Z")

</div>

I’m a noob and learning how to set up vscode so bear with me please. So I have an asynchronous process that completes a callback successfully. I picked the line where it prints out the message telling me that it’s in t…

---

## [\[ANN\] Julia for VS Code 1.5 released](https://discourse.julialang.org/t/ann-julia-for-vs-code-1-5-released/71365)

<div class="topic-metadata">

**Author:** [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Replies:** 57\
**Last updated:** [March 18, 2023, 12:23am UTC](https://discourse.julialang.org/t/ann-julia-for-vs-code-1-5-released/71365 "2023-03-18T00:23:41Z")

</div>

Hey folks, we’ve just released version 1.5 of the Julia extension for VS Code. Here are some of the highlights in this (and the unannounced 1.4) release, but feel free to check out the changelog anyways. Runtime diagno…

---

## [A warning that doesn't seem reasonable: \`Possible method call error\`](https://discourse.julialang.org/t/a-warning-that-doesnt-seem-reasonable-possible-method-call-error/96221)

<div class="topic-metadata">

**Author:** [@BeitianMa](https://discourse.julialang.org/u/BeitianMa)\
**Replies:** 2\
**Last updated:** [March 17, 2023, 7:05am UTC](https://discourse.julialang.org/t/a-warning-that-doesnt-seem-reasonable-possible-method-call-error/96221 "2023-03-17T07:05:09Z")

</div>

When I try to manipulate a DataFrame in Julia, blue wavy lines often appear, such as the following and The code works fine except for the odd warning from the editor. My version of Julia is 1.8.5, and package statu…

---

## [Unexpected input on Julia Repl in VSCode](https://discourse.julialang.org/t/unexpected-input-on-julia-repl-in-vscode/96046)

<div class="topic-metadata">

**Author:** [@BeitianMa](https://discourse.julialang.org/u/BeitianMa)\
**Replies:** 4\
**Last updated:** [March 14, 2023, 9:36pm UTC](https://discourse.julialang.org/t/unexpected-input-on-julia-repl-in-vscode/96046 "2023-03-14T21:36:04Z")

</div>

When I open my Julia project and start Julia Repl via pressing “Alt+J Alt+O”, following commands always appear automatically, I want to know how to stop this. Thanks in advance！ julia\> E:/Codesoftwares/anaconda3/Scripts…

---

## [VS code - use Conda.jl's python in native integrated Jupyter Notebook support?](https://discourse.julialang.org/t/vs-code-use-conda-jls-python-in-native-integrated-jupyter-notebook-support/95938)

<div class="topic-metadata">

**Author:** [@beeblebrox](https://discourse.julialang.org/u/beeblebrox)\
**Replies:** 4\
**Last updated:** [March 12, 2023, 4:12pm UTC](https://discourse.julialang.org/t/vs-code-use-conda-jls-python-in-native-integrated-jupyter-notebook-support/95938 "2023-03-12T16:12:02Z")

</div>

Is there a way to use the local Julia’s miniconda installation of python within the native integrated Jupyter Notebook support offered in VS code by julia-vscode?

---

## [Julia:master Failed to precompile VSCodeServer -\> LoadError: UndefVarError: \`Slot\` not defined](https://discourse.julialang.org/t/julia-master-failed-to-precompile-vscodeserver-loaderror-undefvarerror-slot-not-defined/95624)

<div class="topic-metadata">

**Author:** [@ndinsmore](https://discourse.julialang.org/u/ndinsmore)\
**Replies:** 1\
**Last updated:** [March 6, 2023, 8:38pm UTC](https://discourse.julialang.org/t/julia-master-failed-to-precompile-vscodeserver-loaderror-undefvarerror-slot-not-defined/95624 "2023-03-06T20:38:53Z")

</div>

I know that there is an issue for this already failing to precompile VSCodeServer on nightly: \`LoadError: UndefVarError: Slot not defined\` · Issue #3223 · julia-vscode/julia-vscode · GitHub But has anyone managed to fin…

---

## [VSCode -- insert local image in Jupyter Markdown?](https://discourse.julialang.org/t/vscode-insert-local-image-in-jupyter-markdown/95373)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 2\
**Last updated:** [March 5, 2023, 1:39pm UTC](https://discourse.julialang.org/t/vscode-insert-local-image-in-jupyter-markdown/95373 "2023-03-05T13:39:08Z")

</div>

I’m trying to insert images in markdown sections of a Jupyter notebook in the VSCode editor. This used to work when I opened the file in a browser. Here is my statement: \<img src="../figs/WaveNet-1.png" width=400px heig…

---

## [Language Server crashes and can't download cached packages](https://discourse.julialang.org/t/language-server-crashes-and-cant-download-cached-packages/95536)

<div class="topic-metadata">

**Author:** [@lyinch](https://discourse.julialang.org/u/lyinch)\
**Replies:** 0\
**Last updated:** [March 4, 2023, 9:47am UTC](https://discourse.julialang.org/t/language-server-crashes-and-cant-download-cached-packages/95536 "2023-03-04T09:47:41Z")

</div>

Hey, I’m on an M1 mac 12.1 with vscode 1.76.0, julia version 1.8.5, and vscode julia extension v1.38.2. The language server is constantly crashing without a server trace, but with the following output: Activating proj…

---

## [What's in your \`launch.json\` and \`tasks.json\`?](https://discourse.julialang.org/t/whats-in-your-launch-json-and-tasks-json/95445)

<div class="topic-metadata">

**Author:** [@Euhan](https://discourse.julialang.org/u/Euhan)\
**Replies:** 2\
**Last updated:** [March 3, 2023, 9:42am UTC](https://discourse.julialang.org/t/whats-in-your-launch-json-and-tasks-json/95445 "2023-03-03T09:42:35Z")

</div>

I am migrating to VS Code. I have recently installed the package and a few extensions, among them Julia Language Support. I manually set the julia executable to point to juliaup’s “julia” (which just loads the right bina…

---

## [Check if running in VS Code inside startup.jl](https://discourse.julialang.org/t/check-if-running-in-vs-code-inside-startup-jl/95346)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 1\
**Last updated:** [February 28, 2023, 6:55pm UTC](https://discourse.julialang.org/t/check-if-running-in-vs-code-inside-startup-jl/95346 "2023-02-28T18:55:19Z")

</div>

Is there a way to determine, inside of startup.jl, whether a Julia REPL session is running inside of VS Code? Checking if Logging.current\_logger() isa VSCodeServer.VSCodeLogger seems to work once the REPL prompt is actu…

---

## ["Go to defintition (F12)" doesn't work for functions in a package](https://discourse.julialang.org/t/go-to-defintition-f12-doesnt-work-for-functions-in-a-package/94881)

<div class="topic-metadata">

**Author:** [@kingoslo](https://discourse.julialang.org/u/kingoslo)\
**Replies:** 4\
**Last updated:** [February 21, 2023, 3:39pm UTC](https://discourse.julialang.org/t/go-to-defintition-f12-doesnt-work-for-functions-in-a-package/94881 "2023-02-21T15:39:41Z")

</div>

I am new to using Julia in VSCode. I have installed the Julia language support package that carries the Julia logo. What I want to do, is to find the definition function that was called at runtime. The way I have been t…

---

## [Single click julia project creation with vscode?](https://discourse.julialang.org/t/single-click-julia-project-creation-with-vscode/94611)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 4\
**Last updated:** [February 14, 2023, 1:49pm UTC](https://discourse.julialang.org/t/single-click-julia-project-creation-with-vscode/94611 "2023-02-14T13:49:07Z")

</div>

Hi, With other languages, most IDEs provide tools/buttons to create well structured projects. In julia, I use PkgSkeleton.jl or PkgTemplates.jl to create project, but I think that this process could be more accessible …

---

## [Get SHIFT + ENTER run line on md files in VSCode](https://discourse.julialang.org/t/get-shift-enter-run-line-on-md-files-in-vscode/94328)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [February 9, 2023, 10:08am UTC](https://discourse.julialang.org/t/get-shift-enter-run-line-on-md-files-in-vscode/94328 "2023-02-09T10:08:44Z")

</div>

I am in a project where text (markdown) matters more than code and I would like to work directly on the markdown file, so I can have its preview on the side. But I would also like to run Julia code that I put in blocks,…

---

## [Prerelease of new testing framework and test run UI in VS Code](https://discourse.julialang.org/t/prerelease-of-new-testing-framework-and-test-run-ui-in-vs-code/86355)

<div class="topic-metadata">

**Author:** [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Replies:** 53\
**Last updated:** [February 9, 2023, 6:24am UTC](https://discourse.julialang.org/t/prerelease-of-new-testing-framework-and-test-run-ui-in-vs-code/86355 "2023-02-09T06:24:23Z")

</div>

I just pushed out a new release of the Julia VS Code extension (1.7.6) to everyone that includes a preview of our new test UI and a general new testing framework for Julia. For a short demo, take a look at our Juliacon …

---

## [VSCode: minimizing button disappears?](https://discourse.julialang.org/t/vscode-minimizing-button-disappears/94197)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 0\
**Last updated:** [February 7, 2023, 11:49am UTC](https://discourse.julialang.org/t/vscode-minimizing-button-disappears/94197 "2023-02-07T11:49:18Z")

</div>

I’m using VSCode. Sometimes, the expansion/minimization buttons in the upper right corner disappear: and I don’t know how to get out of VSCode… the only way I have found is to kill the VSCode app using the task list (…

---

## [REPL emits columns when \`show(;allrows=true)\` is executed in Debug Console](https://discourse.julialang.org/t/repl-emits-columns-when-show-allrows-true-is-executed-in-debug-console/94154)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 0\
**Last updated:** [February 6, 2023, 6:04pm UTC](https://discourse.julialang.org/t/repl-emits-columns-when-show-allrows-true-is-executed-in-debug-console/94154 "2023-02-06T18:04:02Z")

</div>

Steps to reproduce: debug some script in vscode where a DataFrame df is generated type show(df,allcols=true) in the Debug Console like show(df,allcols=true) nothing check the output in Terminal and see something lik…

---

## [Integration of JuliaFormatter](https://discourse.julialang.org/t/integration-of-juliaformatter/94135)

<div class="topic-metadata">

**Author:** [@hildebrandecon](https://discourse.julialang.org/u/hildebrandecon)\
**Replies:** 0\
**Last updated:** [February 6, 2023, 12:20pm UTC](https://discourse.julialang.org/t/integration-of-juliaformatter/94135 "2023-02-06T12:20:05Z")

</div>

Dear community, I am struggling with the integration of the JuliaFormatter in VS code. Suppose you have the following code in a file: x = rand(10, 10) sum(x, dims=1) Now, I have activated the auto format on save optio…

---

## [Julia session crashes when calling \`JavaCall.init()\` from a julia session managed by VSCode](https://discourse.julialang.org/t/julia-session-crashes-when-calling-javacall-init-from-a-julia-session-managed-by-vscode/92555)

<div class="topic-metadata">

**Author:** [@tencnivel](https://discourse.julialang.org/u/tencnivel)\
**Replies:** 17\
**Last updated:** [January 26, 2023, 8:15pm UTC](https://discourse.julialang.org/t/julia-session-crashes-when-calling-javacall-init-from-a-julia-session-managed-by-vscode/92555 "2023-01-26T20:15:19Z")

</div>

I cant make JavaCall.init() work from a julia session started by the VSCode plugin. Same as for this post RCall vscode REPL crash, it works fine if I do it from a terminal. I have tried on two different machines, with …

---

## [PackageCompiler with VS Code](https://discourse.julialang.org/t/packagecompiler-with-vs-code/64288)

<div class="topic-metadata">

**Author:** [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Replies:** 5\
**Last updated:** [January 26, 2023, 12:24am UTC](https://discourse.julialang.org/t/packagecompiler-with-vs-code/64288 "2023-01-26T00:24:41Z")

</div>

I’ve been making custo system images like so using PackageCompiler create\_sysimage(\[:StatsPlots,:LinearAlgebra,:Calculus, :MCMCChains, :StatsPlots, :Distributions, :BenchmarkTools, :Tullio, :LoopVectorization\], sysimage…

---

## [Minor julia upgrade -\> VSCode failures](https://discourse.julialang.org/t/minor-julia-upgrade-vscode-failures/93331)

<div class="topic-metadata">

**Author:** [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Replies:** 0\
**Last updated:** [January 21, 2023, 8:04pm UTC](https://discourse.julialang.org/t/minor-julia-upgrade-vscode-failures/93331 "2023-01-21T20:04:37Z")

</div>

I recently upgraded from julia 1.8.2 to 1.8.5 on Windows 10. I first uninstalled 1.8.2, and updated my PATH when installing 1.8.5. The julia extension in VSCode is configured to use the default julia, i.e., no special p…

---

## [Debugging with threads](https://discourse.julialang.org/t/debugging-with-threads/93281)

<div class="topic-metadata">

**Author:** [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Replies:** 1\
**Last updated:** [January 20, 2023, 10:04pm UTC](https://discourse.julialang.org/t/debugging-with-threads/93281 "2023-01-20T22:04:18Z")

</div>

I have code which spawns some threads with tasks = \[Threads.@spawn worker(command, ml, ev) for i in 1:nT\]. I put a breakpoint inside the worker() function using VSCode and started a higher level function with @enter fro…

---

## [Problem downloading cache behind proxy](https://discourse.julialang.org/t/problem-downloading-cache-behind-proxy/93268)

<div class="topic-metadata">

**Author:** [@bbejanov](https://discourse.julialang.org/u/bbejanov)\
**Replies:** 0\
**Last updated:** [January 20, 2023, 3:13pm UTC](https://discourse.julialang.org/t/problem-downloading-cache-behind-proxy/93268 "2023-01-20T15:13:20Z")

</div>

I am behind a proxy and the VScode Julia extension fails to download its cache files. I suspect that’s because of the proxy, but I’m not sure. In any case, everything works fine, but I’m wondering if there’s anything…

---

## [Intellisense/autocomplete in Julia Markdown code contexts (e.g., blocks) only](https://discourse.julialang.org/t/intellisense-autocomplete-in-julia-markdown-code-contexts-e-g-blocks-only/79557)

<div class="topic-metadata">

**Author:** [@Jason\_Mercer](https://discourse.julialang.org/u/Jason_Mercer)\
**Replies:** 6\
**Last updated:** [January 17, 2023, 10:20pm UTC](https://discourse.julialang.org/t/intellisense-autocomplete-in-julia-markdown-code-contexts-e-g-blocks-only/79557 "2023-01-17T22:20:42Z")

</div>

Hi, I was wondering if anyone else finds the quick suggestions (aka intellisense, autocomplete) overly aggressive for Julia Markdown files. I figure out how to disable the suggestions for all .jmd files using the settin…

---

## [VMLS Question](https://discourse.julialang.org/t/vmls-question/93025)

<div class="topic-metadata">

**Author:** [@priyanshujiiii](https://discourse.julialang.org/u/priyanshujiiii)\
**Replies:** 0\
**Last updated:** [January 16, 2023, 12:13pm UTC](https://discourse.julialang.org/t/vmls-question/93025 "2023-01-16T12:13:07Z")

</div>

in problem 1.1 sir how we solved this question . i approached the method like that we have 8 hrs in question, i converted at in second = 86060 = 28800 we already know that they are interval of 10 sec so we have 288…

---

## [VSCode handling of unicode automatic completion](https://discourse.julialang.org/t/vscode-handling-of-unicode-automatic-completion/92610)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 18\
**Last updated:** [January 9, 2023, 9:08am UTC](https://discourse.julialang.org/t/vscode-handling-of-unicode-automatic-completion/92610 "2023-01-09T09:08:16Z")

</div>

Hey, I find that the behavior in VSCode for the handling of unicode completion surprising. In the folloiwng examples, I will denote the position of the cursor when i hit the tab key (for autocompletion) \<TAB\> : myfun…

---

## [VS Code linter options?](https://discourse.julialang.org/t/vs-code-linter-options/92333)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 2\
**Last updated:** [January 7, 2023, 10:31am UTC](https://discourse.julialang.org/t/vs-code-linter-options/92333 "2023-01-07T10:31:40Z")

</div>

According to the Linter · Julia in VS Code documentation You can … configure it via various options with the julia.lint. prefix. However if I select it (View → Command Palette → insert julia.lint. ) I do not see any …

---

## [Language server crash when using filter option In range for table view](https://discourse.julialang.org/t/language-server-crash-when-using-filter-option-in-range-for-table-view/92408)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 3\
**Last updated:** [January 2, 2023, 10:14am UTC](https://discourse.julialang.org/t/language-server-crash-when-using-filter-option-in-range-for-table-view/92408 "2023-01-02T10:14:34Z")

</div>

using DataFrames rows = 1000000 stock\_day = DataFrame(stock = repeat(\[:A,:b\], Int(rows/2)), day = sort(repeat(collect(1:Int(rows/2)),2)), price = rand(rows) )

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

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