microsoft / microsoft/TypeScript-Sublime-Plugin

Local project tsserver never used.

Open
#642 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
236
Avg merge
21d 13h
Merged PRs (30d)
1

Description

The problem is that the local project has installed typescript, tslint with local config. But the Sublime always uses the global package path. Is there some way around this?

reloading plugin TypeScript.main
2018-02-04 23:01:58,297: 140735612224320: WARNING: TypeScript plugin initialized.
lang_service_enabled: True
Path of tsserver.js: /Users/XXX/Library/Application Support/Sublime Text 3/Packages/TypeScript/tsserver/tsserver.js
Path of tsc.js: /Users/XXX/Library/Application Support/Sublime Text 3/Packages/TypeScript/tsserver/tsc.js

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the plugin selects the tsserver.js and tsc.js paths shown in the issue, then inspect how a local project's installed TypeScript and configuration could be detected. Done means the plugin uses the project's local packages instead of the bundled paths when they are available.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.