Commit Graph

62 Commits

Author SHA1 Message Date
Sheetal Nandi c4ad151a46 Merge branch 'master' into ownJsonParsing 2017-06-05 17:01:09 -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
Sheetal Nandi 8d771ca044 Merge branch 'master' into ownJsonParsing 2017-05-30 13:03:23 -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
Sheetal Nandi ea60e9966d Get configFiles as part of file names 2017-05-15 16:07:08 -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 3bdec6943e Merge branch 'master' into tripleEquals 2017-04-05 11:51:21 -07:00
Arthur Ozga 7e03429a8e enforce triple-equals 2017-04-04 15:51:13 -07:00
Andy Hanson 73cab09608 Enable jsdoc-format lint rule 2017-04-03 14:39:19 -07:00
Andy Hanson 8c5afd7f54 Merge branch 'master' into map5 2017-01-06 13:03:34 -08:00
Joel Day 8b44ce2fd7 Emitting tsserverlibrary as an external module. 2016-12-31 17:37:51 -08:00
Andy Hanson 9e33585a80 Merge branch 'master' into map5 2016-12-27 12:56:05 -08:00
Kagami Sascha Rosylight 5fb82496fb reposition defaultFormatOption 2016-12-22 12:54:23 +09:00
Andrew Ochsner 3b3d71542c Add InsertSpaceAfterConstructor option & additonal test cases
Fixes #12234
2016-12-20 10:05:10 -06:00
Andrew Ochsner 7bf73be7fe space-before-function-paren
Adding option InsertSpaceBeforeFunctionParenthesis
Should be optional
Typically used to support http://eslint.org/docs/rules/space-before-function-paren

Fixes #12234
2016-12-19 23:05:30 -06:00
Andy Hanson 55fc62bc45 Merge branch 'master' into map5 2016-12-12 07:50:09 -08:00
Andy Hanson 6b1cc8972d Use native maps when they're available 2016-12-08 06:40:31 -08:00
Jason Ramsay 1c3689edef Merge branch 'master' into tsconfigMixedContentSupportRedux 2016-12-07 15:33:42 -08:00
Jason Ramsay 5a9451ae23 Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable 2016-11-18 18:14:32 -08:00
Jason Ramsay 891173c9ed Merge branch 'master' into tsconfigMixedContentSupport 2016-11-18 16:07:50 -08:00
Jason Ramsay da7f824a2a tsconfig.json mixed content support 2016-11-14 13:31:22 -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
Vladimir Matveev 9e3d6efb19 reduce set of files being watched, increase polling interval (#12054) (#12092) 2016-11-07 21:13:11 -08:00
Vladimir Matveev 4ffdea838a Ports #12051 and #12032 into master (#12090)
* use local registry to check if typings package exist (#12014)

use local registry to check if typings package exist

* enable sending telemetry events to tsserver client (#12035)

enable sending telemetry events
2016-11-07 13:36:08 -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 c958c47ef5 Merge branch 'master' into map4 2016-10-26 11:05:51 -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 475125bbb9 Merge branch 'master' into map4 2016-10-12 09:13:36 -07:00
Andy Hanson e8c7224eac Merge branch 'master' into map4 2016-10-12 08:50:49 -07:00
Andy Hanson a567dacbe2 Merge branch 'master' into navtree 2016-10-12 08:09:12 -07:00
Andy Hanson 9385b84c62 Add "navtree" and "navtree-full" server commands 2016-10-11 08:32:37 -07:00
Andy Hanson aadcbcc083 Use native maps when they're available 2016-10-06 13:29:18 -07:00
Paul van Brenk 4f404ad92b Implement codefixes in tsserver 2016-10-04 16:58:17 -07:00
Vladimir Matveev 833a46c091 merge with origin/master 2016-09-27 10:22:41 -07:00
Mohamed Hegazy f13cef19dd Add fallback for npm location if not running under node.exe 2016-09-22 14:34:08 -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 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 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 edfd104e56 use localhost:<eventPort> to send notifications when typings are updated 2016-08-18 14:29:21 -07:00
Vladimir Matveev a2e5c2d2b5 merge with origin/master 2016-08-17 14:38:30 -07:00
Vladimir Matveev f0e1f9b108 [WIP] file watching 2016-08-16 14:21:09 -07:00
Vladimir Matveev 672813afb6 move global cache location to node typings installer 2016-08-15 11:48:28 -07:00
Vladimir Matveev 9a180122a5 merge with origin/master 2016-08-14 11:42:08 -07:00
Vladimir Matveev 253d5d6ce9 [WIP] initial version of tests 2016-08-13 23:09:14 -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 c0bcf8f10c release cached tree in compilation settings change 2016-08-03 14:02:37 -07:00