Skip to content

Can't use PowerShell Daily without fully resolved path #4329

Closed
@TylerLeonhardt

Description

@TylerLeonhardt

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all open and closed issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
  • If this is a security issue, I have read the security issue reporting guidance.

Summary

12/14/2022 10:34:46 AM [WARNING] - Additional PowerShell 'PowerShell Daily' not found at '~/.powershell-daily/pwsh'! 

but if I:
image

problem seems to be that node and vscode APIs don't handle ~ well

PowerShell Version

N/A

Visual Studio Code Version

Version: 1.75.0-insider
Commit: d7b1e2a1c892511a125e4ceb9758ec8ddf907775
Date: 2022-12-12T12:42:54.079Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Darwin x64 22.1.0
Sandboxed: Yes

Extension Version

v2022.12.1

Steps to Reproduce

"powershell.powerShellAdditionalExePaths": {
      "PowerShell Daily": "~/.powershell-daily/pwsh"
    },
    "powershell.powerShellDefaultVersion": "PowerShell Daily",

reload. Get this:
image

Visuals

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions