Skip to content

Disable - WARNING: Editor operations are not supported in temporary consoles. #2525

Closed
PowerShell/PowerShellEditorServices
#1229
@HerBenSte

Description

@HerBenSte

I'm using:
"powershell.debugging.createTemporaryIntegratedConsole": true
to always start a new console window to prevent any old code loading issues which I had in the past.
Only restart of VSCode was fixing it.
Since I use temporary consoles I never ran into that issue again.

But now (I guess since the last update) I get this warning:
See screenshot

This WARNING: comes from the
Clear-Host
in all of my scripts. Since I need those Clear-Host at the start of my Write-Host messages to get a clean console output I don't want to remove them (even not temporarly) out of my scripts.

Is it possible to disable this warning message?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions