What is Visual Studio Code (VSCode) ?
Visual Studio Code is a cross platform source code editor for Windows, Linux and macOS, that support a multitude of programming and scripting languages.
And more using extension …
More then 1700 extensions available, only for Code language alone …
Install VSCode :
VSCode Architecture ?
VS Code is fully decoupled from the specific debugger and this architecture allows VS Code to debug anything, as long as there’s a Debug Adapter available, as illustrated here:
Why using VSCode ?
If you don’t want to use the full blown Visual Studio, which is a ton of software on you computer !
But still want to have the syntax highlighting, code intellisense, and more then VSCode is the real deal for you.
Big community and training videos
There are many extensions available that gives VSCode extra functionality…
On of them is running code inside VSCode, like PowerShell and AutoIT, and hundreds of many more !
So you don’t need to use the PowerShell ISE or SciTE anymore, keeping all different code development & debugging in 1 tool
1. install the PS Code extension:
2. Restart VS Code
3. Test a PS Script
Open a PS1 script and press F5.
See here for more info :
The same goes for AutoIT
1. Install the extension, this one seems to be the most extensive …
2. Restart VSCode
3. Test a au3 Script
Keyboard Shortcuts :
- Run Script:
- AutoIt Check:
- Compile Script:
- Build Script:
- Run AutoIt Help:
- Run Au3Info:
- Debug to MsgBox:
- Debug to Console:
- Run Koda:
More info on how to Configure VSCode :