# When I am running Julia in VS Code and I press Shift Enter the line of Code is not evaluated. Help

**URL:** <https://discourse.julialang.org/t/when-i-am-running-julia-in-vs-code-and-i-press-shift-enter-the-line-of-code-is-not-evaluated-help/120943>\
**Category:** General Usage\
**Tags:** question\
**Created:** [October 4, 2024, 10:20pm UTC](https://discourse.julialang.org/t/when-i-am-running-julia-in-vs-code-and-i-press-shift-enter-the-line-of-code-is-not-evaluated-help/120943 "2024-10-04T22:20:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![larrysievers](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@larrysievers](https://discourse.julialang.org/u/larrysievers)\
**Post date:** [October 4, 2024, 10:20pm UTC](https://discourse.julialang.org/t/when-i-am-running-julia-in-vs-code-and-i-press-shift-enter-the-line-of-code-is-not-evaluated-help/120943/1 "2024-10-04T22:20:19Z")

</div>

How do I get VS Code, running with Julia, to evaluate a line of Code? I thought pressing Shift Enter was the way to accomplish evaluating a line of Code.

---

<div class="post-metadata">

**Author:** ![StevenSiew](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevensiew/32/218393_2.png) [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Post date:** [October 5, 2024, 1:21am UTC](https://discourse.julialang.org/t/when-i-am-running-julia-in-vs-code-and-i-press-shift-enter-the-line-of-code-is-not-evaluated-help/120943/2 "2024-10-05T01:21:28Z")

</div>

It worked for me.

Do this.

1. shutdown VS Code completedly
2. start up VS Code
3. write this program

a = 666

1. save source code to a file example01.jl
2. open example01.jl in VS Code
3. put cursor at the end of “a = 666”
4. Now press Shift-Enter
5. Go to terminal window in VS Code
6. type in “a”

Do you get this?

 ![aaa](https://global.discourse-cdn.com/julialang/original/3X/d/c/dc21b1692467e181cb4f9e6541113f653c02889a.png)

---

<div class="post-metadata">

**Author:** ![larrysievers](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@larrysievers](https://discourse.julialang.org/u/larrysievers)\
**Post date:** [October 5, 2024, 11:48am UTC](https://discourse.julialang.org/t/when-i-am-running-julia-in-vs-code-and-i-press-shift-enter-the-line-of-code-is-not-evaluated-help/120943/3 "2024-10-05T11:48:24Z")

</div>

Thank you very much - it worked. I am new to any type of programming so I really appreciate your assistance.

Regards,  
Larry
