# Inline Evaluation Question

**URL:** https://discourse.julialang.org/t/inline-evaluation-question/70297
**Category:** Tooling
**Tags:** vscode
**Created:** [October 24, 2021, 5:51pm UTC](https://discourse.julialang.org/t/inline-evaluation-question/70297 "2021-10-24T17:51:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![TI36XPro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ti36xpro/32/33658_2.png) [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)
#### Post date: [October 24, 2021, 5:51pm UTC](https://discourse.julialang.org/t/inline-evaluation-question/70297/1 "2021-10-24T17:51:01Z")

</div>

Hello,

I am using Julia 1.6.2 in vscode 1.61.2 with Julia Language extension version 1.4.3.

I’ve noticed sometimes on certain lines I get an inline evaluation to the right. But I don’t really understand how to control it or what I am doing, I just experimented around with it. I tried looking for documentation [here](https://www.julia-vscode.org/docs/dev/userguide/keyboard/), but there wasn’t much of a description. I’m not sure what “cell” is referring to since I am just using a normal julia script file, no notebooks or anything fancy.

If I press “Shift + Enter” it appears to run the entire script and then shows the inline evaluation of the last line in the script. If I do “Alt + Enter” and I have a single line highlighted it will show the inline result of that single line, but if I have multiple lines highlighted/selected it only shows the result of the final highlighted line inline.

Does anyone know what is meant by “cell” in the link above?

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [October 25, 2021, 7:48am UTC](https://discourse.julialang.org/t/inline-evaluation-question/70297/2 "2021-10-25T07:48:38Z")

</div>

Cells are blocks of code delimited by lines starting with `## `.

---

<div class="post-metadata">

### Author: ![heliosdrm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heliosdrm/32/3851_2.png) [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)
#### Post date: [October 25, 2021, 8:52am UTC](https://discourse.julialang.org/t/inline-evaluation-question/70297/3 "2021-10-25T08:52:19Z")

</div>

Also, if you don’t select any part of the code, but just keep the cursor at some point, ~~Alt+Shift~~ Alt+Enter runs the outermost block including that point (may be one line, or multiple lines if there is a loop, a function definition, a begin-end block, etc.

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [October 25, 2021, 9:22am UTC](https://discourse.julialang.org/t/inline-evaluation-question/70297/4 "2021-10-25T09:22:42Z")

</div>

The biggest non-module top-level block to be precise, I think. Also, the keybinding is `Alt-Enter` 🙂
