# Is there something similar to playgrounds when using VS Code?

**URL:** <https://forums.swift.org/t/is-there-something-similar-to-playgrounds-when-using-vs-code/78079>\
**Category:** Using Swift\
**Tags:** playgrounds, vscode\
**Created:** [February 25, 2025, 1:48am UTC](https://forums.swift.org/t/is-there-something-similar-to-playgrounds-when-using-vs-code/78079 "2025-02-25T01:48:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![theundergroundsorcerer](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/theundergroundsorcerer/32/42232_2.png) [@theundergroundsorcerer](https://forums.swift.org/u/theundergroundsorcerer)\
**Post date:** [February 25, 2025, 1:48am UTC](https://forums.swift.org/t/is-there-something-similar-to-playgrounds-when-using-vs-code/78079/1 "2025-02-25T01:48:05Z")

</div>

Playgrounds are wonderful tool when doing explorative programming.  
Is there something similar when using VS Code?

Thanks.

---

<div class="post-metadata">

**Author:** ![svanimpe](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/svanimpe/32/38963_2.png) [@svanimpe](https://forums.swift.org/u/svanimpe)\
**Post date:** [February 25, 2025, 9:32am UTC](https://forums.swift.org/t/is-there-something-similar-to-playgrounds-when-using-vs-code/78079/2 "2025-02-25T09:32:42Z")

</div>

VS Code supports Notebooks ([Notebook API | Visual Studio Code Extension API](https://code.visualstudio.com/api/extension-guides/notebook)) but I haven't seen one that uses the Swift.

---

<div class="post-metadata">

**Author:** ![theundergroundsorcerer](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/theundergroundsorcerer/32/42232_2.png) [@theundergroundsorcerer](https://forums.swift.org/u/theundergroundsorcerer)\
**Post date:** [February 25, 2025, 10:50am UTC](https://forums.swift.org/t/is-there-something-similar-to-playgrounds-when-using-vs-code/78079/3 "2025-02-25T10:50:23Z")

</div>

Basically, if repl is available (as far as I am aware, it is not the case when using Windows, but I am not near a windows machine right now to check), one can start repl and use "Terminal: Run Selected Text in Active Terminal" in VS Code to emulate playgrounds (it is not as good as playgrounds, but is passable). However, it is not possible on windows (without WSL). Correct me if I am wrong.

Do notebooks work with any language? Or there needs to be something like Swift-Jupyter in order for notebooks to work? (Swift-Jupyter and Swift-Colab have been abandoned and do not support recent versions of Swift)

Thanks.
