Используемый шрифт для командной оболочки – Lucida
winget install --id Microsoft.PowerShell --source winget
обновляем PowerShell с помощью установщика пакетов – winget до последнего стабильного релиза. У меня установилась версия PowerShell 7.5.0
После установки назначаем в VisualStudioCode в файле настроек settings.json версию по умолчанию. Измененную строку закомментировал:
{
"security.workspace.trust.untrustedFiles": "open",
"workbench.colorTheme": "Dark Powershell Theme",
//"powershell.powerShellDefaultVersion": "Windows PowerShell (x64)",
"powershell.powerShellDefaultVersion": "Windows PowerShell Core 7p5",
"explorer.confirmDelete": false,
"editor.wordWrap": "on",
"editor.minimap.enabled": false,
"terminal.integrated.enableMultiLinePasteWarning": false,
"editor.unicodeHighlight.nonBasicASCII": false,
"github-enterprise.uri": "https://github.com/max-wp/pixelplus",
"git.enableSmartCommit": true,
"git.autofetch": true,
"diffEditor.ignoreTrimWhitespace": false,
"files.encoding": "utf8bom",
"editor.autoClosingBrackets": "never",
"git.openRepositoryInParentFolders": "always",
"editor.unicodeHighlight.allowedLocales": {
"ru": true,
},
}