Commit Graph
2866 Commits
Author SHA1 Message Date
Arthur Ozga 1338b94b2c Simplify rest parameter handling 2016-12-09 10:48:17 -08:00
Arthur Ozga 5e48e339dd cleanup 2016-12-08 18:34:49 -08:00
Arthur Ozga 819a654bb3 Add tests and fix rest parameters 2016-12-08 18:34:35 -08:00
Arthur Ozga 97b3d7a9ef make index signature fix work with generics 2016-12-08 17:19:19 -08:00
Arthur Ozga 2f51b363bf add missing index signature support 2016-12-08 16:34:15 -08:00
Arthur Ozga 5cd0ea3741 handle well-known computed property/method names 2016-12-07 17:00:20 -08:00
Arthur Ozga c511aea581 Add Support for multiple signatures 2016-12-06 19:46:08 -08:00
Arthur Ozga f0c771303d implement getters/setters as property 2016-12-05 14:52:08 -08:00
Arthur Ozga ba80ce63ad stubbing extra completions 2016-11-29 14:33:20 -06:00
Arthur Ozga bf48564cc8 FIx typo in method stub. 2016-11-29 13:36:09 -06:00
Arthur Ozga 5d6a714a04 move helpers under codefix dir 2016-11-28 17:40:59 -06:00
Arthur Ozga f37640a43e Add args to diagnostic message 2016-11-28 16:47:26 -06:00
Arthur Ozga 16b146f882 Use array instead of map 2016-11-28 15:26:55 -06:00
Arthur Ozga 680af0f782 use getStart() 2016-11-28 14:42:55 -06:00
Arthur Ozga 4af0e2ab5b Merge branch 'master' into interfaceFixes 2016-11-28 14:13:10 -06:00
jramsayandGitHub 855431a943 Merge pull request #12373 from Microsoft/RenameTypingOptions
Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable
2016-11-22 17:22:30 -08:00
Vladimir MatveevandGitHub b060107b51 recompute character to column when comparing indentations (#12375)
recompute character to column when comparing indentations
2016-11-21 11:34:09 -08:00
Nathan Shively-SandersandGitHub 409253145e Merge pull request #12335 from Microsoft/getJSDoc-cleanup
getJSDocs cleanup
2016-11-21 11:30:27 -08:00
Andy Hanson 7c1f33f913 Fix lint errors 2016-11-21 10:42:54 -08:00
Jason Ramsay 5a9451ae23 Rename typingOptions.enableAutoDiscovery to typeAcquisition.enable 2016-11-18 18:14:32 -08:00
Nathan Shively-Sanders 0c5429d3b7 Add missed jsDoc rename in services' Node implementation
Why would you implement an interface using a *class*?
2016-11-18 15:48:31 -08:00
Nathan Shively-Sanders 91e6bce34c Address PR comments 2016-11-18 15:44:15 -08:00
Nathan Shively-Sanders 7caee79ce7 Rename getJSDocComments -> getCommentsFromJSDoc 2016-11-18 15:10:19 -08:00
Nathan Shively-Sanders 5a05b94fb5 Clean up getJSDocs
1. Get rid of parent check.
2. Use a couple of nested functions, one of them a recursive worker.
2016-11-17 13:27:57 -08:00
Arthur Ozga 69118cd3e4 Merge branch 'master' into interfaceFixes
* resolved conflicts with 4/ interface for codefixes
2016-11-16 17:13:31 -08:00
Paul van BrenkandZhengbo Li 52ec508e27 Code fix for missing imports (#11768)
* Add codefix for missing imports + tests

* Re-order and cleanup

* refactor

* make tests pass

* Make import specifier for new imports more comprehensive

* Fix existing import cases

* refactor

* Fix multiple import statement case

* add multiple code fixes and code action filtering and polishing

* not using the generic verify method for import fixes.

* Correct insert position for new imports

* improve the code action filtering logic

* Fix line ending issue

* cache where we can
2016-11-16 16:01:16 -08:00
Arthur Ozga 389959a5b5 Merge branch 'master' into interfaceFixes
* additionally consolidated codeFix testing
2016-11-15 14:43:14 -08:00
Arthur Ozga 6ed8d1803b unexpose resolveStructuredTypeMembers 2016-11-15 13:56:42 -08:00
Ron Buckton 0dd96f52e8 Merge branch 'master' into streamlineDestructuring 2016-11-15 13:38:56 -08:00
Arthur Ozga 43afb806de remove fix
* fixRemoveAbstractModifierInNonAbstractClass.ts
2016-11-15 12:49:38 -08:00
Arthur Ozga a94d955d9d Aggregate changes before building result 2016-11-15 12:40:46 -08:00
Arthur Ozga d7d4bf6b04 Handle class expressions 2016-11-15 11:41:23 -08:00
Arthur Ozga 395d736843 Remove getSymbolOfNode from TypeChecker interface 2016-11-15 11:24:37 -08:00
Arthur Ozga c010a0e974 Use getTypeOfSymbolAtLocation 2016-11-15 10:57:48 -08:00
Paul van Brenk 1924298d87 Merge branch 'master' into unusedidentifier 2016-11-15 10:17:37 -08:00
Arthur Ozga 6400d53394 Fix handling of default class 2016-11-14 15:43:24 -08:00
Arthur Ozga d8b359f67b Fix typo and capitalization 2016-11-14 15:22:52 -08:00
Arthur Ozga cfe50d1b92 Fix extends -> implements for decorators/modifiers 2016-11-14 15:13:46 -08:00
Vladimir MatveevandGitHub f13e6d4ca6 enable syntactic features if project size exceeded the limit, send events when state of language service changes (#12190)
* enable syntactic features if project size exceeded the limit, send events when state of language service changes

* allow getting compiler options diagnostics when language service is disabled
2016-11-14 15:10:32 -08:00
Arthur Ozga bba96da128 remove multiple implements TODO 2016-11-14 14:33:29 -08:00
Arthur Ozga efd16c780b Spell out names fully 2016-11-14 14:32:40 -08:00
Arthur Ozga f6fc320c1f Get Ancestor instead of manual walk 2016-11-14 14:24:03 -08:00
Arthur Ozga 357ed7ed7d Remove Inner Loop 2016-11-14 14:23:08 -08:00
Arthur Ozga 4b202abf2e Initialize result to empy array 2016-11-14 13:59:06 -08:00
Mohamed Hegazy 964f9c5fe2 Make failedLookupLocations an array 2016-11-14 13:24:03 -08:00
Mohamed Hegazy 57a602b924 Include no types in services 2016-11-14 12:47:04 -08:00
Mohamed Hegazy 4782563ee3 Filter JS files from resolutions sent to VS through shims 2016-11-14 12:46:56 -08:00
Anders HejlsbergandGitHub f437c8f318 Merge pull request #12114 from Microsoft/mappedTypes
Mapped types
2016-11-13 15:39:32 -08:00
Vladimir MatveevandGitHub b15d144955 switch to tslint@next (#12201) 2016-11-13 13:34:18 -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