Commit Graph

467 Commits

Author SHA1 Message Date
Vladimir Matveev 8075a0dd72 store project errors on project so they can be reported later 2016-08-26 14:37:49 -07:00
Zhengbo Li 3953d6ba96 [CoS] return results from all projects if not specified project file name (#10527) 2016-08-25 10:46:48 -07:00
Zhengbo Li eea2dddfe1 Correct default compileOnSave value for different projects (#10528) 2016-08-25 10:46:41 -07:00
Vladimir Matveev 84b5fe6fa2 Merge branch 'tsserverVS-WIP' of https://github.com/Microsoft/TypeScript into tsserverVS-WIP 2016-08-24 13:37:19 -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 d72287e335 Fix issue when building dependency graph for files with circular refs (#10514)
* Fix issue when building dependency graph for files with circular refs

* Make "emitOnlyDtsFiles" parameter non-optional in most cases
2016-08-24 10:38:07 -07:00
Vladimir Matveev 8fe0d2d6df remove merge artefacts 2016-08-23 16:18:48 -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 aff4556d0f do not send events via stdout if eventPort is specified 2016-08-23 12:52:43 -07:00
Vladimir Matveev 970ec1afb0 normalize slashes in names of external projects 2016-08-22 15:13:17 -07:00
Vladimir Matveev f642a4740b switch to using dedicated functions to create\throw errors 2016-08-22 12:17:33 -07:00
Vladimir Matveev b81b2baff6 fix linter issues 2016-08-19 11:55:29 -07:00
Vladimir Matveev a1da7709f8 propagate debug/inspect flags to typingsInstaller process 2016-08-18 23:41:48 -07:00
Vladimir Matveev 875e62cc75 remove compression 2016-08-18 17:14:56 -07:00
Vladimir Matveev edfd104e56 use localhost:<eventPort> to send notifications when typings are updated 2016-08-18 14:29:21 -07:00
Vladimir Matveev 3f18fbc145 introduce branded type for TypingsArray 2016-08-17 16:42:05 -07:00
Vladimir Matveev dbd5249ded added missing files 2016-08-17 16:24:38 -07:00
Vladimir Matveev a3a07a0f9f lint more files 2016-08-17 14:47:54 -07:00
Vladimir Matveev a2e5c2d2b5 merge with origin/master 2016-08-17 14:38:30 -07:00
Vladimir Matveev ce35f96892 shutdown typing installer if parent process is exited 2016-08-17 13:01:48 -07:00
Vladimir Matveev 758d8de8f9 record projectName instead of projectRootPath 2016-08-16 14:49:45 -07:00
Vladimir Matveev f0e1f9b108 [WIP] file watching 2016-08-16 14:21:09 -07:00
Ron Buckton 889e5ac7ae Clean up/move some Map helper functions. 2016-08-16 11:15:15 -07:00
Ron Buckton 1dc495adf8 Migrate additional MapLikes to Maps. 2016-08-15 16:41:32 -07:00
Vladimir Matveev dd70fdbb76 add logging to typings installer, read npm bin path to start globally installed binaries 2016-08-15 15:59:31 -07:00
Ron Buckton 7f0a02ff02 Migrated more MapLikes to Maps 2016-08-15 15:03:55 -07:00
Vladimir Matveev 672813afb6 move global cache location to node typings installer 2016-08-15 11:48:28 -07:00
Vladimir Matveev 5424df7be5 adjust typing directory 2016-08-14 23:07:25 -07:00
Vladimir Matveev 12cdda17f0 [WIP] home dir 2016-08-14 21:20:57 -07:00
Vladimir Matveev c7fd72f2b8 fix linter 2016-08-14 20:52:34 -07:00
Vladimir Matveev af95f175ec update tests 2016-08-14 12:22:22 -07:00
Vladimir Matveev 9a180122a5 merge with origin/master 2016-08-14 11:42:08 -07:00
Vladimir Matveev 5d03895bb7 fix build issues on linux 2016-08-14 11:16:11 -07:00
Vladimir Matveev 253d5d6ce9 [WIP] initial version of tests 2016-08-13 23:09:14 -07:00
Vladimir Matveev d07261af4f ensure tsd cache directory exists 2016-08-12 23:04:17 -07:00
Vladimir Matveev 512ec04d29 [WIP] send\receive install typing requests 2016-08-12 18:17:16 -07:00
Vladimir Matveev 959b6b6c07 remove unused dependencies to reduce the size of output file 2016-08-12 14:26:09 -07:00
Vladimir Matveev b1871a5bf9 [WIP] pass ITypingsInstaller to ProjectService 2016-08-12 14:01:23 -07:00
Vladimir Matveev 51e2b02a31 add runTsd method 2016-08-12 12:14:25 -07:00
Vladimir Matveev d8d117ffaf [WIP] typings discovery in tsserver 2016-08-12 11:04:43 -07:00
Anders Hejlsberg 65e1293b2e Optimize performance of maps 2016-08-10 16:47:06 -07:00
Wesley Wigham 269b828538 Fix lssl task (#9967) 2016-08-05 14:16:29 -07:00
Vladimir Matveev 0a1ec43de0 addref in all configured projects that contain the file 2016-08-04 14:46:00 -07:00
Vladimir Matveev c0bcf8f10c release cached tree in compilation settings change 2016-08-03 14:02:37 -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 e77f9b22c0 allow to change settings for inferred projects 2016-08-01 11:44:24 -07:00
Andy Hanson cb1ea7be5d Provide realpath for module resolution in LSHost 2016-08-01 09:47:52 -07:00
Vladimir Matveev 6d497e3840 allow to change configuration for inferred projects 2016-07-31 22:06:41 -07:00
Vladimir Matveev 361a852ef1 use ExternalFile in ApplyChangesInOpenFiles 2016-07-29 15:23:43 -07:00