Skip to content

Use Path for all filenames in tsserver and other places #6479

Closed

Description

@zhengbli

Now with the dedicated Path type (#5462), we should be able to minimize the number of normalization in tsserver by changing all the file name strings to the Path type. We also have many duplicated file name normalization in program.ts and other places.

Activity

  1. changed the title [-]Use `Path` for all filenames in tsserver and possibly command line parser[/-] [+]Use `Path` for all filenames in tsserver and other places[/+] on Jan 14, 2016
  2. zhengbli commented on Mar 23, 2016

    @zhengbli
    Author

    From the recent discussion over the case sensitivity, using Path every where is probably not a good idea. For example, when dealing with file systems directly, it is safer just to use what provided by the system, because we can't be confident in the case sensitivity in current location, which can differ from volume to volume and folder to folder. Closing this now.

  3. added
    Won't FixThe severity and priority of this issue do not warrant the time or complexity needed to fix it
    on Mar 23, 2016
  4. locked and limited conversation to collaborators on Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

InfrastructureIssue relates to TypeScript team infrastructureWon't FixThe severity and priority of this issue do not warrant the time or complexity needed to fix it

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions