Skip to content

Command NewProjectFromTemplate needs to expand paths #3562

@andyleejordan

Description

@andyleejordan

Prerequisites

  • I have written a descriptive issue title.
    I have searched all issues to ensure it has not already been reported.
    I have read the troubleshooting guide.
    I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.

Summary

It asks for an absolute path but no one is going to type out /Users/ or /home/ they're just going to type ~/ but this fails.

PowerShell Version

> $PSVersionTable


Name                           Value
----                           -----
PSVersion                      7.1.4
PSEdition                      Core
GitCommitId                    7.1.4
OS                             Darwin 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:27 PDT 2021; root:xnu-7195.141.2~5/RELEASE_ARM64_T…
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visual Studio Code Version

> code --version

1.60.0
e7d7e9a9348e6a8cc8c03f877d39cb72e5dfb1ff
x64

Extension Version

ms-vscode.powershell@2021.9.0

Steps to Reproduce

Run command "Create New Project from Plaster template"

{
"command": "PowerShell.NewProjectFromTemplate",
"title": "Create New Project from Plaster Template",
"category": "PowerShell"
},

Visuals

Screen.Recording.2021-09-13.at.1.48.08.PM.mov

Logs

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Command `NewProjectFromTemplate` needs to expand paths · Issue #3562 · PowerShell/vscode-powershell