microsoft / TypeScript-Sublime-Plugin

IO wrapper around TypeScript language services, allowing for easy consumption by editor plugins
Apache License 2.0
1.72k stars 235 forks source link

Local project tsserver never used. #642

Open riston opened 6 years ago

riston commented 6 years ago

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