# How to stop a cell in VS Code

**URL:** <https://discourse.julialang.org/t/how-to-stop-a-cell-in-vs-code/80010>\
**Category:** New to Julia\
**Tags:** vscode\
**Created:** [April 25, 2022, 7:48pm UTC](https://discourse.julialang.org/t/how-to-stop-a-cell-in-vs-code/80010 "2022-04-25T19:48:02Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [July 12, 2024, 9:53am UTC](https://discourse.julialang.org/t/how-to-stop-a-cell-in-vs-code/80010/22 "2024-07-12T09:53:10Z")

</div>

1. Define the “cells” with exactly 2 hashes (`##`) (editable setting)
2. Run commands like `Julia: Execute Code Cell in REPL` (ALT+ENTER), or `Julia: Execute Code Cell in REPL and Move` (SHIFT+ALT+ENTER) (and others)

More info: [Running Code · Julia in VS Code](https://www.julia-vscode.org/docs/dev/userguide/runningcode/#Julia:-Execute-Code-Cell-in-REPL)

---

<div class="post-metadata">

**Author:** ![j-adel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/j-adel/32/207882_2.png) [@j-adel](https://discourse.julialang.org/u/j-adel)\
**Post date:** [November 13, 2024, 12:41pm UTC](https://discourse.julialang.org/t/how-to-stop-a-cell-in-vs-code/80010/23 "2024-11-13T12:41:19Z")

</div>

I’d like to point out that even after deleting the cell, the extension still thinks there’s a cell running. Only restarting VS Code fixes it.

---

<div class="post-metadata">

**Author:** ![spackman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/spackman/32/215941_2.png) [@spackman](https://discourse.julialang.org/u/spackman)\
**Post date:** [April 4, 2025, 1:48am UTC](https://discourse.julialang.org/t/how-to-stop-a-cell-in-vs-code/80010/24 "2025-04-04T01:48:57Z")

</div>

I have still encountered this issue. I can delete the cell text, save and close the file. When the file is re-opened, VSCode still thinks the empty cell is running. Only after fully deleting the cell does it stop.

[Previous page](https://discourse.julialang.org/t/how-to-stop-a-cell-in-vs-code/80010.md?page=1)
