# How to clean Highlighted Error Line in VS Code?

**URL:** <https://discourse.julialang.org/t/how-to-clean-highlighted-error-line-in-vs-code/130875>\
**Category:** VS Code\
**Created:** [July 20, 2025, 4:03am UTC](https://discourse.julialang.org/t/how-to-clean-highlighted-error-line-in-vs-code/130875 "2025-07-20T04:03:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alex1/32/11771_2.png) [@Alex1](https://discourse.julialang.org/u/Alex1)\
**Post date:** [July 20, 2025, 4:03am UTC](https://discourse.julialang.org/t/how-to-clean-highlighted-error-line-in-vs-code/130875/1 "2025-07-20T04:03:29Z")

</div>

**Sometimes** when I execute code with “Shift + Enter” in VS Code if there’s error problematic line in the VS Code Editor get highlighted with red. But when I change code, this red line still stays the same, which is very annoying. How to clean it?

Screenshot [Imgur: The magic of the Internet](https://imgur.com/a/yCt5SG5)

Sometimes it cleaned but sometimes don’t.

---

<div class="post-metadata">

**Author:** ![\_bernhard](https://avatars.discourse-cdn.com/v4/letter/_/bc79bd/32.png) [@\_bernhard](https://discourse.julialang.org/u/_bernhard)\
**Post date:** [July 20, 2025, 7:00am UTC](https://discourse.julialang.org/t/how-to-clean-highlighted-error-line-in-vs-code/130875/2 "2025-07-20T07:00:56Z")

</div>

Executing again with the corrected part should remove the red squiggles, no?

---

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [July 20, 2025, 10:56am UTC](https://discourse.julialang.org/t/how-to-clean-highlighted-error-line-in-vs-code/130875/3 "2025-07-20T10:56:12Z")

</div>

Have you tried [clearing the inline results](https://discourse.julialang.org/t/temporarily-hiding-inline-results-in-vscode/120857/2)?
