Commit graph

112 commits

Author SHA1 Message Date
Andy 09321b3834 Convert Extension to a string enum (#16425) 2017-06-09 19:32:44 -07:00
Andy 70564110c0 Make use of array helper functions (#16226)
* Make use of array helper functions

* Remove unnecessary 'ts.'
2017-06-05 14:11:43 -07:00
Ryan Cavanaugh 6f42f9ae3f Merge pull request #15308 from chuckjaz/external-files
Allow plugins to provide a list of external files.
2017-06-05 13:14:25 -07:00
Andrew Casey 95b5a691d4 Guess 1: null check is missing; Guess 2: ternary does the appropriate check 2017-05-31 16:30:27 -07:00
Andy d052bb83ca Add project telemetry (#16050)
* Add project telemetry

* Respond to some PR comments

* Wrap event in a TelemetryEvent payload

* Replace paths with empty string instead of removing them entirely

* Add "version" property to payload

* Add telemetry for typeAcquisition settings

* Add "files", "include", "exclude", and "compileOnSave"

* Convert typingsOptions include and exclude to booleanss

* Add "extends", "configFileName", and "projectType"

* configFileName: Use "other" instead of undefined

* Add "languageServiceEnabled" telemetry
2017-05-25 13:30:27 -07:00
Andy Hanson 34bb955655 Use orderedRemoveItem instead of remove helper 2017-05-24 08:42:02 -07:00
Ryan Cavanaugh ab3ffa22da Add flag to allow local plugin loading 2017-05-17 19:52:57 -07:00
Chuck Jazdzewski 785c281fd6 Allow plugins to provide a list of external files.
The list of the plugin's external files and request made to
a file in the list will be routed to an instance of the plugin.
2017-04-25 10:11:05 -07:00
Arthur Ozga 0ea1b82a85 test module reuse 2017-04-20 18:55:15 -07:00
Arthur Ozga cbbf6f8847 Merge branch 'master' into tripleEquals 2017-04-17 15:57:51 -07:00
Ryan Cavanaugh d31364c09c Load global plugins even if no local ones exist 2017-04-13 16:17:35 -07:00
Ryan Cavanaugh 19ddc1e94a Avoid loading duplicate local+global plugins 2017-04-13 16:17:34 -07:00
Ryan Cavanaugh 3cc379c3c0 Fix merge 2017-04-13 16:16:57 -07:00
Arthur Ozga 7e03429a8e enforce triple-equals 2017-04-04 15:51:13 -07:00
Ryan Cavanaugh 71e296042a Apply the 20 MB non-TS source limit across all projects
(cherry picked from commit cc8ce5975c)
(cherry picked from commit de8fb9e833)
2017-03-24 11:58:20 -07:00
Andy Hanson d58cfa238b Merge branch 'master' into lint_better 2017-03-06 06:20:48 -08:00
Andy Hanson 8371eb6401 Update tslint to latest (next is still on 4.3) and lint for BOM 2017-03-01 10:37:13 -08:00
Andy Hanson 5ea43c8ba3 Merge branch 'master' into semicolon 2017-03-01 08:09:59 -08:00
Ryan Cavanaugh 87b780d641 Merge pull request #12231 from RyanCavanaugh/ls-proxy
Language service proxy
2017-02-14 14:16:23 -08:00
Ryan Cavanaugh aec310996c Language service extensibility 2017-02-14 13:35:16 -08:00
Andy Hanson 91421c8dbc Fix "semicolon" lint rule options (was not enabled) 2017-02-10 12:24:10 -08:00
Jason Ramsay 3480fcc69a Always set allowNonTsExtensions for allowJs 2017-02-10 11:13:12 -08:00
Andy Hanson 30462e11ef Merge branch 'master' into map5 2017-01-11 12:24:47 -08:00
Zhengbo Li 9e127967b6 Merge pull request #11603 from zhengbli/11116
Set maxNodeModuleJsDepth for inferred projects
2017-01-10 12:17:43 -08:00
Andy Hanson 8c5afd7f54 Merge branch 'master' into map5 2017-01-06 13:03:34 -08:00
Joel Day 3a9a136e51 Changes based on feedback.
Whitespace cleanup.
Switching back to protocol.ts and reenabling stripInternal.
Marking internal symbols indirectly exported by dependencies of protocol.ts as internal.
2017-01-04 15:56:16 -08:00
zhengbli 8ac22ecbb0 Change the design to track addRoot and removeRoot 2016-12-29 17:00:04 -08:00
zhengbli 09fc3b3a18 address cr feedback 2016-12-29 10:26:34 -08:00
zhengbli bf5faa04a6 Use inherited setCompilerOptions for inferred project 2016-12-28 14:46:58 -08:00
Andy Hanson 932eaa3f90 Rename and consolidate map iteration helpers 2016-12-28 09:16:38 -08:00
Andy Hanson 39c19a74ea Inline keysOfMap and valuesOfMap. 2016-12-28 09:05:52 -08:00
zhengbli a8a1a826b3 set the option when creating inferred projects 2016-12-28 08:15:21 -08:00
zhengbli 8648239e64 Merge branch 'master' of https://github.com/Microsoft/TypeScript into 11116 2016-12-28 04:07:04 -08:00
Andy Hanson 9e33585a80 Merge branch 'master' into map5 2016-12-27 12:56:05 -08:00
Vladimir Matveev 1045f3bffb detach root files on project close if project language service is disabled (#13077) 2016-12-20 19:25:25 -08:00
Vladimir Matveev e68161adfa when language service is disabled - build program using only open files (#12809) 2016-12-13 13:21:32 -08:00
Andy Hanson 55fc62bc45 Merge branch 'master' into map5 2016-12-12 07:50:09 -08:00
Jason Ramsay 5829ca82d0 use localUse local updatedFileNames - this way we'll know that set of names is definitely cleared 2016-12-09 14:44:08 -08:00
Jason Ramsay 5f46e488b7 Mark containing project as dirty when file is closed
(Note: adding this until PR #12789 is merged in so that unit tests pass)
2016-12-09 11:12:00 -08:00
Jason Ramsay 4cb5a36cb4 Merge branch 'master' into tsconfigMixedContentSupport 2016-12-09 10:58:33 -08:00
Jason Ramsay d52894302a Changes due to CR comments 2016-12-08 17:56:08 -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 7a11453e35 Fix merge issues 2016-12-07 15:45:41 -08:00
Jason Ramsay 1c3689edef Merge branch 'master' into tsconfigMixedContentSupportRedux 2016-12-07 15:33:42 -08:00
Jason Ramsay 64dad30ca0 Reduced version from CR comments 2016-12-07 15:31:46 -08:00
zhengbli f6f866e88c Reset the noEmitForJsFiles option when updating compiler options (#12570) 2016-11-29 23:30:14 -08:00
Vladimir Matveev c05bf3b0a2 respect casing when comparing names of config files (#12474) 2016-11-23 12:34:00 -08:00
Jason Ramsay 5a9451ae23 Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable 2016-11-18 18:14:32 -08:00
Jason Ramsay 464bc0e9e0 Merge branch 'master' into tsconfigMixedContentSupportRedux 2016-11-18 16:15:15 -08:00