To get the full PowerShell script development experience, let’s install the PowerShell extension for Visual Studio Code. First, select Extensions from the View menu (or press Ctrl+Shift+X on Windows). Once you have installed and set up VS Code, these topics will help you learn more about VS Code: Additional Components - Learn how to install Git, Node.js, TypeScript and tools like Yeoman. User Interface - A quick orientation to VS Code. Basic Editing - Learn about the powerful VS Code editor. Code Navigation - Move quickly through your source code. Visual Studio Build Agent scripted setup. Is it possible to set up a build agent by script? Visual Studio for Mac as VSTS build agent for iOS?
I want to make #PowerShell the default language in Visual Studio Code on Mac 1.24.1 so that after I enter ⌘N I can immediately start typing PowerShell code and have all the parsing and completion and syntax highlighting work.
Under 'User Settings' I did this:
I then exited and restarted Visual Studio Code.
I then tried ⌘N and typed $ps and pressed the tab key. I got a tab. No completion. No highlighting.
X Code
What did I do wrong?
I'm a complete newb with Visual Studio Code so any advice is appreciated.