Skip to content

Paths supplied by the host editor should be normalized #611

Open
@SeeminglyScience

Description

@SeeminglyScience

Different editors can supply paths slightly differently, we should make sure we normalize it before storing in a public API. For example, here's $psEditor.Workspace in VSCode and Atom

# VSCode
$psEditor.Workspace

# Path
# ----
# c:\Projects\PowerShellEditorServices
# Atom
$psEditor.Workspace

# Path                                                           
# ----                                                           
# C:\Projects\PowerShellEditorServices\

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