VSCode-Anywhere
  • Introduction
  • Installation
    • Requirements
      • Windows requirements
      • Linux requirements
      • MacOS requirements
    • Quickstart
    • Advanced
      • Windows installation
      • Linux installation
      • MacOS installation
  • Modules
    • Module installation
    • Module update
    • Module settings
      • Global settings
        • brew settings
        • chocolatey settings
        • env settings
        • msys2 settings
        • nix settings
        • scoop settings
        • vscode settings
        • zeal settings
    • Modules list
      • Ansible
      • Bash
      • C / C++
      • C#
      • Custom
      • Deepcode
      • Docker
      • Fonts
      • Git
      • Go
      • HTML
      • Java
      • JavaScript / TypeScript
      • Markdown
      • Perl
      • PHP
      • Platformio
      • PowerShell
      • Puppet
      • Python2
      • Python3
      • Remote
      • Rest
      • ReStructuredText
      • Ruby
      • Saltstack
      • VSCode
    • Custom modules
  • Structure
    • apps
    • conf
      • saltstack
        • conf-offline
        • conf
        • pillar
        • states
    • tools
      • env
      • install
      • link
      • update
      • vscode
      • vscode-anywhere
  • Tutorials
    • Youtube tutorials
  • Release notes
    • V2
      • V2.0.0
    • V1
  • FAQ
Powered by GitBook
On this page
  • About
  • Installation
  • Requirements
  • VSCode
  • VSCode extensions
  • VSCode settings
  • VSCode keybindings
  • Software
  • Windows software
  • Linux software
  • MacOS software
  • Documentation
  • VSCode-Anywhere
  • Environment
  • Specific settings

Was this helpful?

  1. Modules
  2. Modules list

PowerShell

PreviousPlatformioNextPuppet

Last updated 4 years ago

Was this helpful?

About

is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language.

Installation

vscode-anywhere:
    powershell:
        enabled: True

Requirements

No requirements.

VSCode

VSCode extensions

ms-vscode.PowerShell

Now you can write and debug PowerShell scripts using the excellent IDE-like interface that Visual Studio Code provides.

VSCode settings

Global settings

{
  "dash.languageIdToDocsetMap.powershell": [
    "posh"
  ]
}

Windows settings

{
  "powershell.powerShellDefaultVersion": "Scoop PowerShell",
  "powershell.powerShellAdditionalExePaths": [
    {
      "exePath": "${env:SystemRoot}\\system32\\WindowsPowerShell\\v1.0\\powershell.exe",
      "versionName": "Windows PowerShell"
    },
    {
      "exePath": "C:\\VSCode-Anywhere\\apps\\scoop\\apps\\pwsh\\current\\pwsh.exe",
      "versionName": "Scoop PowerShell"
    }
  ]
}

Assuming you have installed in the default directory C:\VSCode-Anywhere.

Linux settings

{
  "powershell.powerShellDefaultVersion": "Nix PowerShell",
  "powershell.powerShellAdditionalExePaths": [
    {
      "exePath": "/home/myuser/VSCode-Anywhere/apps/vscode-anywhere/home/.nix-profile/bin/pwsh",
      "versionName": "Nix PowerShell"
    }
  ]
}

Assuming you have installed in the directory /home/myuser/VSCode-Anywhere.

VSCode keybindings

Software

Windows software

scoop

Linux software

nix

MacOS software

brew

Documentation

VSCode-Anywhere

Environment

No environment.

Specific settings

No specific settings.

Change enable from False to True in the powershell section (cf ).

You can also take a look at the .

This provides rich PowerShell language support for Visual Studio Code.

No .

module installation
VSCode-Anywhere PowerShell module configuration
extension
keybindings
pwsh
nixpkgs.powershell
​cask/powershell
cask/pester
Powershell
PowerShell