Commit Graph
2883 Commits
Author SHA1 Message Date
Arthur Ozga 4af3937e37 Merge branch 'master' into interfaceFixes 2016-12-14 09:35:09 -08:00
Arthur Ozga d75d548470 implicit any for synthesized signature 2016-12-14 09:24:19 -08:00
Arthur Ozga 8be881916b simplify and inline methods 2016-12-14 09:10:51 -08:00
Arthur Ozga 467381273e refactor fix 2016-12-14 08:41:55 -08:00
Arthur Ozga 3cfac081d5 abstract class expr instantiation and abstract fix works with class expr 2016-12-14 08:40:41 -08:00
Mohamed Hegazy c9111a0dbb Fix https://github.com/Microsoft/TypeScript/issues/12316: Add method to known tag names 2016-12-13 16:36:54 -08:00
Arthur Ozga 469745b181 Synthetic signature uses existing parameter names 2016-12-11 21:50:46 -08:00
Arthur Ozga d724517110 Merge branch 'master' into interfaceFixes 2016-12-09 13:28:05 -08:00
Arthur Ozga b9ae36cfbe Simplify index signature generation 2016-12-09 13:25:58 -08:00
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
Vladimir MatveevandGitHub 7da3383504 do not use ScriptVersionCache for closed files (#12777) 2016-12-08 16:17:42 -08:00
anubmatandGitHub 9dd769dc3c Merge pull request #12741 from Microsoft/allowBracketCompletionInComments
Allow brace completion in comments
2016-12-08 14:37:11 -08:00
Anubha Mathur 7073b3513b removing unneccessary comments 2016-12-08 10:07:11 -08:00
Arthur Ozga 5cd0ea3741 handle well-known computed property/method names 2016-12-07 17:00:20 -08:00
Anubha Mathur 31dde97bbd Allowing brace completion inside comments in JS and TS files 2016-12-07 15:58:05 -08:00
Anubha Mathur 081c692197 replacing let with const 2016-12-07 11:14:24 -08:00
Arthur Ozga c511aea581 Add Support for multiple signatures 2016-12-06 19:46:08 -08:00
Anubha Mathur 942c3c6d77 Merge remote-tracking branch 'origin/master' into correctCommentsScaffolding 2016-12-06 17:45:49 -08:00
Sheetal Nandi 7d049c2742 Write property name of destructuring pattern explicitly
There wont be any symbol for the property name but we already know it is a property name
Fixes #12166
2016-12-06 11:42:44 -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
Anubha Mathur c970c78985 Add parameter type in function support comments for JS files 2016-11-16 13:59:06 -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