# Julia-vscode on MacOs vs Windows

**URL:** <https://discourse.julialang.org/t/julia-vscode-on-macos-vs-windows/29718>\
**Category:** VS Code\
**Tags:** windows, bug, macros\
**Created:** [October 10, 2019, 8:00am UTC](https://discourse.julialang.org/t/julia-vscode-on-macos-vs-windows/29718 "2019-10-10T08:00:05Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dito](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dito/32/10039_2.png) [@Dito](https://discourse.julialang.org/u/Dito)\
**Post date:** [October 10, 2019, 8:00am UTC](https://discourse.julialang.org/t/julia-vscode-on-macos-vs-windows/29718/1 "2019-10-10T08:00:05Z")

</div>

When I execute file (`F5` or Command Palette\>Julia: Execute File) on MacOS - REPL terminal shows me all code I’ve written - evaluates and shows all lines

 ![MacOs](https://global.discourse-cdn.com/julialang/original/3X/4/7/4708028def7858b1ff241db98e04aaf4d8736f64.png)

But on Windows 10 the same terminal acts like `C++` terminal - It evaluates but doesn’t shows

 ![Windows](https://global.discourse-cdn.com/julialang/original/3X/8/8/8864149f52659fa2f8800ef149db1f03eb837501.png)

It’s important for me, because it is easier to learn language.  
Can I solve this problem/task?

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [October 10, 2019, 5:02pm UTC](https://discourse.julialang.org/t/julia-vscode-on-macos-vs-windows/29718/2 "2019-10-10T17:02:42Z")

</div>

Can you check the version of the julia extension on the two systems? They should behave in the same way, but we did change that behavior in a recently released version, so maybe one of your systems is stuck on an old extension version?

---

<div class="post-metadata">

**Author:** ![Dito](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dito/32/10039_2.png) [@Dito](https://discourse.julialang.org/u/Dito)\
**Post date:** [October 11, 2019, 8:09am UTC](https://discourse.julialang.org/t/julia-vscode-on-macos-vs-windows/29718/3 "2019-10-11T08:09:32Z")

</div>

Julia version on my PC 1.1.1 and vscode Julia extension 0.12.3  
On my MacOs High Sierra(10.13.6) Julia-1.2 and vscode Julia extension 0.11.6 because 0.12 is broken on my Mac, but I don’t care 0.11.6 works very well.

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [October 11, 2019, 11:37pm UTC](https://discourse.julialang.org/t/julia-vscode-on-macos-vs-windows/29718/4 "2019-10-11T23:37:11Z")

</div>

Ah, that explains it, we changed the behavior in v0.12!

In what sense is version 0.12 broken on Mac, that shouldn’t be the case!

---

<div class="post-metadata">

**Author:** ![Dito](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dito/32/10039_2.png) [@Dito](https://discourse.julialang.org/u/Dito)\
**Post date:** [October 16, 2019, 7:44am UTC](https://discourse.julialang.org/t/julia-vscode-on-macos-vs-windows/29718/5 "2019-10-16T07:44:58Z")

</div>

Can you tell me what you mean about behavior ? and what you mean about “the same way” ? - The terminal in the first picture behaves in the wrong way or vice versa …

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [October 16, 2019, 6:53pm UTC](https://discourse.julialang.org/t/julia-vscode-on-macos-vs-windows/29718/6 "2019-10-16T18:53:25Z")

</div>

We changed how code is executed in v0.12, in particular code is not echoed if you run a file in v0.12, but it was in previous versions.

---

<div class="post-metadata">

**Author:** ![haberdashPI](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/haberdashpi/32/26337_2.png) [@haberdashPI](https://discourse.julialang.org/u/haberdashPI)\
**Post date:** [October 16, 2019, 6:56pm UTC](https://discourse.julialang.org/t/julia-vscode-on-macos-vs-windows/29718/7 "2019-10-16T18:56:45Z")

</div>

Dito, if you want to see each line of the code as it executes you can always send them to the REPL individually (e.g. Ctrl-Eenter)

---

<div class="post-metadata">

**Author:** ![luboshanus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/luboshanus/32/12163_2.png) [@luboshanus](https://discourse.julialang.org/u/luboshanus)\
**Post date:** [February 18, 2020, 3:42pm UTC](https://discourse.julialang.org/t/julia-vscode-on-macos-vs-windows/29718/8 "2020-02-18T15:42:54Z")

</div>

I was wondering why the code is not echoed when I send a **block of code**? I see only the output which is not fortunate I would say. Can I change it?

It is more understandable if you run a file to not echo commands but what is the difference between execution of `for` loop or `if` blocks and execution a line of `println`? Thanks for clarification.

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [February 18, 2020, 8:15pm UTC](https://discourse.julialang.org/t/julia-vscode-on-macos-vs-windows/29718/9 "2020-02-18T20:15:26Z")

</div>

I’m unsure whether we should echo code or not, right now we don’t because of [this](https://github.com/julia-vscode/julia-vscode/blob/master/scripts/terminalserver/terminalserver.jl#L153) line 🙂 Maybe we should just echo by default… The only worry I have is that we should probably just visually try to distinguish the echoed code from normal output. Maybe a different color or something?

Do you mind opening an issue for this over at the repo where we could discuss options?

---

<div class="post-metadata">

**Author:** ![luboshanus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/luboshanus/32/12163_2.png) [@luboshanus](https://discourse.julialang.org/u/luboshanus)\
**Post date:** [February 19, 2020, 2:10pm UTC](https://discourse.julialang.org/t/julia-vscode-on-macos-vs-windows/29718/10 "2020-02-19T14:10:23Z")

</div>

Ok, I did open an issue. [Execute code block: echo in terminal needed or not · Issue #1007 · julia-vscode/julia-vscode · GitHub](https://github.com/julia-vscode/julia-vscode/issues/1007)
