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.
Power Shell In Visual Studio 2017
What did I do wrong?
In a blog post on November 16th 2015 Microsoft announced PowerShell support in Visual Studio Code. And as it befits the “new” Microsoft, this PowerShell extension for Visual Studio Code (VSC) was placed on GitHub. May 07, 2017 If you're an aspiring PowerShell developer, we'll explore the process of getting set up with Visual Studio Code for PowerShell development work. 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). Visual Studio Code Tips and Tricks 'Tips and Tricks' lets you jump right in and learn how to be productive with Visual Studio Code. You'll become familiar with its powerful editing, code intelligence, and source code control features and learn useful keyboard shortcuts. But you can run PowerShell Studio scripts in your PowerShell 6 window. In PowerShell Studio, right-click a script tab, click Copy File Path, and then paste the path in your PowerShell 6-alpha console.
Visual Studio Community For Mac
I'm a complete newb with Visual Studio Code so any advice is appreciated.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
X Code
Browse other questions tagged powershellvisual-studio-codevscode-settings or ask your own question.