Author Posts

March 15, 2018 at 6:41 am

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

March 15, 2018 at 1:28 pm

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

March 15, 2018 at 1:45 pm

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

March 15, 2018 at 2:18 pm

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

March 15, 2018 at 2:33 pm

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.