Jason Ramsay
21ef9078ad
Wrapping LSHost's cancellationtoken with a throttle
2017-02-24 17:14:04 -08:00
Vladimir Matveev
2480e8d492
do secondary lookup only if module has non-relative name
2017-02-08 20:35:01 -08:00
Andy Hanson
9e33585a80
Merge branch 'master' into map5
2016-12-27 12:56:05 -08:00
Vladimir Matveev
77a3dfbcfc
tsserver should use newline provided by the host ( #13185 )
2016-12-27 11:59:56 -08:00
Andy Hanson
55fc62bc45
Merge branch 'master' into map5
2016-12-12 07:50:09 -08:00
Vladimir Matveev
7da3383504
do not use ScriptVersionCache for closed files ( #12777 )
2016-12-08 16:17:42 -08:00
Andy Hanson
6b1cc8972d
Use native maps when they're available
2016-12-08 06:40:31 -08:00
Jason Ramsay
5a9451ae23
Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable
2016-11-18 18:14:32 -08:00
Vladimir Matveev
3b09010c7c
enable syntactic features if project size exceeded the limit, send events when state of language service changes
2016-11-11 17:35:11 -08:00
Andy Hanson
d5c67312f6
Add realpath implementation for lshost
2016-11-07 12:42:12 -08:00
Andy Hanson
12f6dcefa1
Revert "Merge pull request #11354 from Microsoft/map4"
...
This reverts commit adfdae0dc4 , reversing
changes made to aad663cebf .
2016-10-27 15:50:21 -07:00
Andy Hanson
bcc0807198
Respond to PR comments
2016-10-27 13:14:56 -07:00
Andy Hanson
867093707b
Merge branch 'master' into map4
2016-10-27 12:36:50 -07:00
Andy Hanson
dec5f4b39a
Merge branch 'master' into map4
2016-10-27 12:21:06 -07:00
Andy Hanson
0f8003fb39
Make extension property of ResolvedModule optional; introduce ResolvedModuleFull interface for when the extension is provided.
2016-10-27 11:35:20 -07:00
Andy Hanson
c958c47ef5
Merge branch 'master' into map4
2016-10-26 11:05:51 -07:00
Andy Hanson
9130fbd731
Merge branch 'master' into refactor_module_resolution
2016-10-26 08:27:34 -07:00
Andy Hanson
07bb2582b6
Don't require resolvedTsFileName and resolvedJsFileName, just resolvedFileName and extension. Also, change search order to do all TS searching before searching for JS.
2016-10-26 08:13:58 -07:00
Vladimir Matveev
7890f63250
use unresolved imports as a source of used typings ( #11828 )
2016-10-25 15:24:21 -07:00
Andy Hanson
dc99355b5d
Move most of resolveModuleNameForLsHost to lsHost
2016-10-25 08:02:16 -07:00
Andy Hanson
b557211a37
Return both ts and js results from module resolution, and don't have moduleNameResolver responsible for omitting files based on compiler options
2016-10-18 07:09:43 -07:00
Andy Hanson
e8c7224eac
Merge branch 'master' into map4
2016-10-12 08:50:49 -07:00
Zhengbo Li
2671668d86
Remove cached resolvedModule result if the target file was deleted ( #11460 )
...
* Add test first for debugging
* Remove cached resolvedModule if the file was deleted
* Move the fix to lsHost
* Properly clean lastDeletedFile
* Remove unused builder API
* move the delete file check into module name valid check
2016-10-11 13:41:04 -07:00
Andy Hanson
7217274746
Merge branch 'master' into map4
2016-10-07 06:17:26 -07:00
Andy Hanson
aadcbcc083
Use native maps when they're available
2016-10-06 13:29:18 -07:00
Arthur Ozga
d737dc1d30
Responding To billti's comments
2016-10-04 13:07:24 -07:00
Arthur Ozga
3e15394b90
add readDirectory to LSHost
2016-09-30 16:52:28 -07:00
Ryan Cavanaugh
8c899a6c60
An elegant weapon for a more civilized age
2016-09-20 16:52:34 -07:00
Ryan Cavanaugh
76f51ad37c
Cleanup
2016-09-19 18:28:53 -07:00
Ryan Cavanaugh
c0806439ea
Refactor
2016-09-19 18:20:50 -07:00
Ryan Cavanaugh
2612a74f63
Working version
2016-09-19 17:04:51 -07:00
Vladimir Matveev
121b04ee36
(lshost): run second module resolution pass if first pass yielded non-ts file ( #10959 )
...
* (lshost): run second module resolution pass if first pass yielded non-ts file
* use length check
2016-09-16 15:49:20 -07:00
Vladimir Matveev
d14183c5a1
merge with origin/release-2.0.5
2016-09-13 15:59:04 -07:00
Vladimir Matveev
38ce6279cd
add tsserver specific resolution pass that will load typings from cache locations if auto discovery is enabled
2016-08-29 22:21:58 -07:00
Vladimir Matveev
8075a0dd72
store project errors on project so they can be reported later
2016-08-26 14:37:49 -07:00
Vladimir Matveev
a2e5c2d2b5
merge with origin/master
2016-08-17 14:38:30 -07:00
Vladimir Matveev
9a180122a5
merge with origin/master
2016-08-14 11:42:08 -07:00
Vladimir Matveev
d8d117ffaf
[WIP] typings discovery in tsserver
2016-08-12 11:04:43 -07:00
Vladimir Matveev
24a6e50195
added tests
2016-06-27 15:29:04 -07:00
Vladimir Matveev
417c1254eb
fix casing
2016-06-24 17:27:18 -07:00