Commit graph

28 commits

Author SHA1 Message Date
Zhengbo Li 1fb969f107 Split tests and fix issues with missing referenced files (#10599)
* Split tsserver project system tests to seperate files

* fix issues with missing references

* Incorporate changes in tsserverVS-WIP branch

* drop ts prefix
2016-08-30 11:47:08 -07:00
Vladimir Matveev ce02f8319e use ScriptKind instead of file extension 2016-08-29 15:56:37 -07:00
Vladimir Matveev 8075a0dd72 store project errors on project so they can be reported later 2016-08-26 14:37:49 -07:00
Zhengbo Li eea2dddfe1 Correct default compileOnSave value for different projects (#10528) 2016-08-25 10:46:41 -07:00
Vladimir Matveev dd979e8ede added more tests for cases when typingOptions are provided by external projects, set typing options after root files are added 2016-08-24 13:37:07 -07:00
Zhengbo Li a082857ae8 Add APIs for enabling CompileOnSave on tsserver (#9837)
* Add API to get only the emited declarations output

* Add nonModuleBuilder

* Add basic tests for CompileOnSaveAffectedFileList API

* Add API for compile single file

* Avoid invoking project.languageService directly

* Add API to query if compileOnSave is enabled for a project

* Seperate check and emit signatures

* Use Path type for internal file name matching and simplifying builder logic

* Always return cascaded affected list

* Correct the tsconfig file in compileOnSave tests
Also move the CompileOnSave option out of compilerOptions

* Reduce string to path conversion
2016-08-23 16:11:52 -07:00
Vladimir Matveev d736db3b01 add typingOptions to the protocol.ExternalProject 2016-08-23 15:15:12 -07:00
Vladimir Matveev 3f18fbc145 introduce branded type for TypingsArray 2016-08-17 16:42:05 -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 b1871a5bf9 [WIP] pass ITypingsInstaller to ProjectService 2016-08-12 14:01:23 -07:00
Vladimir Matveev d8d117ffaf [WIP] typings discovery in tsserver 2016-08-12 11:04:43 -07:00
Vladimir Matveev de37f35f7c set compilation settings of project as a part of sync process 2016-08-01 17:12:15 -07:00
Vladimir Matveev 6d497e3840 allow to change configuration for inferred projects 2016-07-31 22:06:41 -07:00
Vladimir Matveev bb016148da call updateGraph before getting language service 2016-07-22 16:01:54 -07:00
Vladimir Matveev aea1534704 move saveTo to ScriptInfo 2016-07-11 19:51:14 -07:00
Vladimir Matveev ac9717dc3d use Logger directly 2016-07-11 19:44:23 -07:00
Vladimir Matveev 9b4823e536 more tests 2016-07-05 15:51:39 -07:00
Vladimir Matveev bebc5711cb more tests 2016-06-30 13:23:55 -07:00
Vladimir Matveev d7bf32270e remove multiple collections for open files 2016-06-28 17:45:29 -07:00
Vladimir Matveev 24a6e50195 added tests 2016-06-27 15:29:04 -07:00
Vladimir Matveev 96a867a52e add support for single inferred project 2016-06-27 14:25:43 -07:00
Vladimir Matveev 417c1254eb fix casing 2016-06-24 17:27:18 -07:00
Vladimir Matveev 4157655215 [in progress] project system work - fixes in tests 2016-06-24 14:55:12 -07:00
Vladimir Matveev cefaa171eb [in progress] project system work - major code reorg 2016-06-24 14:30:45 -07:00
Vladimir Matveev cf616dc292 [in progress] project system work - path normalization 2016-06-22 17:02:08 -07:00
Vladimir Matveev c8d37dc87e [in progress] project system work - versions 2016-06-22 16:51:09 -07:00
Vladimir Matveev c9b82eddda [in progress] project system work 2016-06-21 17:31:54 -07:00