# VSCode terminal gets new features for Julia

**URL:** <https://discourse.julialang.org/t/vscode-terminal-gets-new-features-for-julia/118833>\
**Category:** VS Code\
**Created:** [August 31, 2024, 5:34am UTC](https://discourse.julialang.org/t/vscode-terminal-gets-new-features-for-julia/118833 "2024-08-31T05:34:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaoxi](https://avatars.discourse-cdn.com/v4/letter/x/a9adbd/32.png) [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Post date:** [August 31, 2024, 5:34am UTC](https://discourse.julialang.org/t/vscode-terminal-gets-new-features-for-julia/118833/1 "2024-08-31T05:34:38Z")

</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 enables features such as [command decorations](https://github.com/microsoft/vscode-docs/blob/vnext/docs/terminal/shell-integration.md#command-decorations-and-the-overview-ruler) and [run recent command](https://github.com/microsoft/vscode-docs/blob/vnext/docs/terminal/shell-integration.md#run-recent-command) for these shell types.

> <https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_93.md>

Thanks to everyone who has made Julia popular enough for Microsoft to care.

---

<div class="post-metadata">

**Author:** ![xiaoxi](https://avatars.discourse-cdn.com/v4/letter/x/a9adbd/32.png) [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Post date:** [September 7, 2024, 1:45pm UTC](https://discourse.julialang.org/t/vscode-terminal-gets-new-features-for-julia/118833/2 "2024-09-07T13:45:04Z")

</div>

The version of VS Code that improves Julia support in the terminal has been released a couple of days ago.

> **[Visual Studio Code August 2024](https://code.visualstudio.com/updates/v1_93#_terminal)**
>
> Learn what is new in the Visual Studio Code August 2024 Release (1.93)

---

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [September 7, 2024, 3:00pm UTC](https://discourse.julialang.org/t/vscode-terminal-gets-new-features-for-julia/118833/3 "2024-09-07T15:00:59Z")

</div>

> There’s now shell integration support for Julia and NuShell

What does this actually mean? A. Better support for Julia (without NuShell), or only when used together? [Or B. separately also better support for NuShell? Do I care enough to use NuShell with or without Julia? What’s the improvement; for when with Julia? It seems like a nice shell, maybe I’ll switch to it, do many Julia users?]

To answer my own question, it’s probably about terminal “VS Code custom sequences ‘OSC 633 ; … ST’” support, that mentions Julia here: [vscode-docs/docs/terminal/shell-integration.md at vnext · microsoft/vscode-docs · GitHub](https://github.com/microsoft/vscode-docs/blob/vnext/docs/terminal/shell-integration.md#vs-code-custom-sequences-osc-633---st)

I.e. this can help for Julia only (or NuShell only?! Though not mentioned there, explicitly; or Julia and NuShell together, but it wasn’t the goal to get them to work [better] together, though, might still be nice).

---

<div class="post-metadata">

**Author:** ![xiaoxi](https://avatars.discourse-cdn.com/v4/letter/x/a9adbd/32.png) [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Post date:** [September 7, 2024, 4:14pm UTC](https://discourse.julialang.org/t/vscode-terminal-gets-new-features-for-julia/118833/4 "2024-09-07T16:14:09Z")

</div>

The Julia extension may need to add some shell integration sequences to get the full potential of the terminal.

> <https://github.com/microsoft/vscode/pull/227724#issuecomment-2334347728>
>
> Also this only classifies the shell type, it's up to the Julia extension to prov…ide all the shell integration sequences. I'm not sure if they do everything currently (eg. command line sequence?) but I know they do some of it.

Besides that, there seems to be a bug that prevents it from working on Windows.

> <https://github.com/microsoft/vscode/pull/227724>
>
> Related: https://github.com/microsoft/vscode/pull/225083 
> https://github.com/mi…crosoft/vscode/issues/224325 
> 
> Debugging on windows showed we should search for julialauncher.exe rather than julia.exe for windows julia users. 
> \<img width="1433" alt="Screenshot 2024-09-05 at 3 40 00 PM" src="https://github.com/user-attachments/assets/dca17f19-13a1-4544-8989-fd1112a21768"\>
> 
> Turns out we should use 'julialauncher.exe' rather than 'julia.exe' - for the executable to fire event.

By the way, this is the PR that added this functionality.

> <https://github.com/microsoft/vscode/pull/225083>
>
> Adding Julia as Shell type.
> Resolves: https://github.com/microsoft/vscode/issue…s/224325 
> 
> Will handle adding NuShell in separate PR
> Will handle separating out pwsh, python, julia into GenericShellType Enum in separate PR.
