Skip to content

ty resolves symlinks when going to source #2523

@Boon-in-Oz

Description

@Boon-in-Oz

Summary

The standard setup at my workplace is to junction our development directory. So I work in C:\whatever but the physical location of all my files is actually S:\whatever. In VS Code, when I hit F12 on a symbol, ty opens the source code in the S:\whatever location.

I briefly mentioned it in issue 1967, but it turned out not to be the source of that bug.

The python-environment-tools project just fixed this bug in their locator: microsoft/python-environment-tools#277

Any chance you could implement a similar fix in ty please?

Version

0.0.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    serverRelated to the LSP server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions