Skip to content

Use globally installed typescript by default #499

Closed as not planned
Closed as not planned
@Igonato

Description

@Igonato

Right now the plugin checks for typescript_tsdk value in the sublime settings, and, if it isn't present, it uses tsserver.js from the plugin directory.

I believe it should check if there is a tsserver available on PATH and use that (if typescript_tsdk isn't set obviously). I can't think of a scenario where a developer has typescript globally installed and wants to use one that is shipped with an editor plugin.
Also It would be cool to check if there is a locally installed typescript in a project folder and use it for that specific project.

If you guys are cool with this proposal, I will be happy to work on a PR for this.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions