Visual Studio Code is a platform independent free and open source code editor from Microsoft. It supports a lot of languages with a rich set of features. You can find VS Code here resp. you can download it from here. It is possible to download a zip file and after you unpack them, so you can use VS Code without any installation procedure.
Here an example with a SAP GUI Script code in PowerShell
It is possible to extend VS Code via plug-ins, you can find the extensions at the marketplace here. On this way you can install the support of PowerShell scripting language, you can find the extension here, if you want to install it offline, or you can install it direct from the extension bar.
After this steps it is possible to use VS Code in the context of SAP GUI Scripting. The image below shows a few recorded SAP GUI for Windows activities with Scripting Tracker. The source is opened in the external editor, in this case is VS Code configured.
Now you can e.g. easily use the debug functionality with the variable view and you can enjoy the new extended possibilties.