Visual Studio Code PowerShell Extension

Welcome Forums General PowerShell Q&A Visual Studio Code PowerShell Extension

This topic contains 4 replies, has 2 voices, and was last updated by

 
Participant
8 months, 1 week ago.

  • Author
    Posts
  • #95994

    Participant
    Points: 1
    Rank: Member

    Does anyone know if the PowerShell extension in Visual Studio Code supports\can mimic the as-you-type color scheme of the standard console ?

  • #96015
    js

    Participant
    Points: 219
    Helping Hand
    Rank: Participant

    control k control t, select powreshell ise color theme. It comes close. I wish I could copy and paste it here.

    • #96024

      Participant
      Points: 1
      Rank: Member

      Yeah, I already selected the PowerShell color theme.

      Like I asked, I am trying to replicate the colors of cmdlets, parameters, variables, etc as-you-type in the standard console. Currently, everything as you type is just white in the Visual Studio Terminal.

      View post on imgur.com

      Here is a command turned into gibberish by adding $PSHome at the end to get that green splash of color at the end to illustrate what I am talking about:

      View post on imgur.com

    • #96042
      js

      Participant
      Points: 219
      Helping Hand
      Rank: Participant

      Oh, for the console on the bottom. If I click '1: powershell' to the right of 'TERMINAL', it has colors.

    • #96050

      Participant
      Points: 1
      Rank: Member

      Thanks. For whatever reason it wasn't working even after I reloaded the PowerShell extension.

      Once I selected the + (New Terminal) it loaded the colors. And the colors persisted after I re-launched the application.

The topic ‘Visual Studio Code PowerShell Extension’ is closed to new replies.