Commit Graph
2033 Commits
Author SHA1 Message Date
Andy 13b7d17da7 Don't bind JSDoc type parameter in a TS file (#16413)
* Don't bind JSDoc type parameter in a TS file

* Fix tests

* Remove unnecessary non-null assertions
2017-06-09 14:52:01 -07:00
Andy 0d36d0e39f Support completions for qualified names in JSDoc (#16380)
* Support completions for qualified names in JSDoc

* Fix typo
2017-06-08 17:21:36 -07:00
Kanchalai Tanglertsampan 963a500c8e Add incremental tests 2017-06-08 14:31:23 -07:00
Nathan Shively-Sanders 40dd8ba18f Merge pull request #16330 from Microsoft/fix-js-infer-rest-args
Fix JS-inferred rest parameters
2017-06-07 14:44:02 -07:00
Andy abb9681248 Support completions for JSDoc @param tag names (#16299)
* Support completions for JSDoc @param tag names

* Undo change to finishNode

* Don't include trailing whitespace in @param range; instead, specialize getJsDocTagAtPosition
2017-06-07 12:28:52 -07:00
Nathan Shively-Sanders f5f2d24372 Add tests for JS-inferred rest parameters 2017-06-07 11:28:26 -07:00
Andy 68122ea4cc Support find-all-references for export = of class expression (#16327)
* Support find-all-references for `export =` of class expression

* Add comments
2017-06-07 11:16:12 -07:00
Ryan Cavanaugh 6007eb7dfb Merge pull request #16307 from RyanCavanaugh/refactor_refactor
Refactor refactor
2017-06-06 22:28:52 -07:00
Ryan Cavanaugh 1f3ef7df7a Refactor refactor 2017-06-06 14:58:18 -07:00
Anders Hejlsberg 98a5c9b73f Merge branch 'master' into contextualGenericTypes 2017-06-06 14:57:20 -07:00
Anders Hejlsberg 34710a33b5 Fix fourslash tests 2017-06-06 13:35:29 -07:00
Anders Hejlsberg 634c75c426 Fix fourslash tests 2017-06-06 13:25:29 -07:00
Arthur Ozga c179d9a22d Merge pull request #16045 from aozgaa/codeFixAddMissingMethod
Code fix add missing method
2017-06-05 16:50:46 -07:00
Ryan Cavanaugh 1f3c2b3998 JSX Closing tags get priority over other completion types (#15922)
Fixes #15897
2017-06-05 16:19:32 -07:00
Andy 8ace7b826f importFixes: Support missing "React" at a JSXOpeningElement (#16066)
* importFixes: Support missing "React" at a JSXOpeningElement

* Fix nextLineRule linting

* Rename to resolveJsxNamespaceAtLocation

* Expose getJsxNamespace and resolveNameAtLocation separately
2017-06-05 14:23:39 -07:00
Mohamed Hegazy a76b4b1f28 Array cleanup (#16223)
* Fix for #13840: Remove map tuple overloads

* Coalesce signatures on array that use this args

* Remove generic signatures

* Add comments to toLocalString

* clean up typed array interfaces
2017-06-04 14:26:18 -07:00
Arthur Ozga c1d466a716 suppress type annotations in js file 2017-06-01 14:12:25 -07:00
Arthur Ozga 6742f9dcd8 remove comment 2017-06-01 11:17:24 -07:00
Arthur Ozga f9123aa5cc rename fourslash method 2017-06-01 11:01:00 -07:00
Arthur Ozga 5030d0f468 Use factory for all fixes 2017-06-01 10:49:08 -07:00
Arthur Ozga 21fc30f69b Add support across files and static, js methods 2017-05-31 17:41:35 -07:00
Arthur Ozga c125f080a4 add tests 2017-05-31 17:18:36 -07:00
Arthur Ozga c9f5a46121 Merge branch 'master' into addCodeFixMissingMethod 2017-05-30 15:20:59 -07:00
Nathan Shively-Sanders 2c3c4dd465 Merge pull request #16135 from katemihalikova/diff3
Add support for diff3-style merge
2017-05-30 11:27:22 -07:00
Kate Miháliková 2d60b2d117 Add tests and baselines 2017-05-30 08:04:18 +02:00
Yui T d35e538123 Add fourslash tests 2017-05-29 21:48:43 -07:00
Anders Hejlsberg bcf84f4958 Merge pull request #16072 from Microsoft/improveTypeArgumentInference
Infer from generic function return types
2017-05-26 10:59:40 -07:00
Andy 3cd9f3d2d4 Support services for @typedef (#16087)
* Support services for @typedef

* Ensure JSDocTypeReference has SemanticMeaning.Type

* Get SemanticMeaning right
2017-05-26 09:52:46 -07:00
Andy 2ceb350bac Merge pull request #16059 from Microsoft/mappedTypeDeclarations
Set '.declarations' on a property of a homomorphic mapped type
2017-05-25 09:43:36 -07:00
Andy Hanson b0de80f07e Set '.declarations' on a property of a homomorphic mapped type 2017-05-24 08:32:48 -07:00
Kanchalai Tanglertsampan bd422e3a52 Add tests and update baselines 2017-05-23 16:11:23 -07:00
Arthur Ozga 15c029189c testing 2017-05-23 13:32:41 -07:00
Andy 23b2545586 Merge pull request #16031 from Microsoft/isWriteAccess
findAllReferences: Make "isWriteAccess" handle special declaration kinds
2017-05-23 11:11:18 -07:00
Andy 8b15e2b523 Merge pull request #16026 from Microsoft/importEqualsMethod
buildSymbolDisplay: Handle alias parentSymbol
2017-05-23 09:57:32 -07:00
Andy Hanson 7b0bd090e2 findAllReferences: Make "isWriteAccess" handle special declaration kinds 2017-05-23 09:14:19 -07:00
Andy Hanson 8894915d1a buildSymbolDisplay: Handle alias parentSymbol 2017-05-23 08:03:43 -07:00
Arthur Ozga 567b10d71c Merge pull request #15545 from aozgaa/atTypesPrefixAndImportSuffix
At types prefix and import suffix
2017-05-22 16:53:04 -07:00
Anders Hejlsberg 0b37adc3a7 Fix fourslash test 2017-05-22 16:48:45 -07:00
Andy 24d98f2295 Merge pull request #15856 from Microsoft/jsdoc
Support for JSDoc in services
2017-05-22 07:46:52 -07:00
Ryan Cavanaugh f6fbe61718 Refactoring support (squash) 2017-05-19 10:45:49 -07:00
Andy Hanson d646c727e7 Merge branch 'master' into jsdoc 2017-05-19 08:18:18 -07:00
Andy Hanson ba884bc27b Merge branch 'master' into jsdoc 2017-05-19 08:14:52 -07:00
Andy 38ece3b703 Merge pull request #15737 from Microsoft/findAllRefs_module
Support find-all-references for a module specifier
2017-05-19 08:11:56 -07:00
Andy Hanson c4c9bf70c4 Add | undefined to test 2017-05-17 12:51:37 -07:00
Andy Hanson b9c3a992e1 getAllPossiblePropertiesOfTypes: Skip primitives 2017-05-17 08:26:51 -07:00
Andy Hanson 0c60824860 Set @typedef parent pointer, but still do not bind a symbol 2017-05-17 08:02:07 -07:00
Andy Hanson dc40f5d6b9 Merge branch 'master' into jsdoc 2017-05-17 07:17:32 -07:00
Arthur Ozga 11019e4a4a Merge branch 'master' into typeToStringViaTypeNode 2017-05-16 15:35:31 -07:00
Arthur Ozga bba41a8a0c avoid ascii escaping literal text 2017-05-15 18:42:49 -07:00
Mohamed Hegazy d51e467238 Fix #15463: use intersection types to emulate spread in generic react components (#15851)
* Fix #15463: use intersection types to emulate spread in generic react components

* Fix lint errors

* reverse condition
2017-05-15 15:46:50 -07:00