Arthur Ozga
bdaeb63e55
Merge pull request #16495 from aozgaa/codeFixPrefixUnused2-port2.4
...
port #16309 (prefix unused with _) to release-2.4
2017-06-13 17:10:36 -07:00
Mohamed Hegazy
68e2a4561d
Simplify generic function call error reporting ( #16439 ) ( #16501 )
...
* Simplify error reporting for generic functions
* Accept new baselines
* Fix fourslash tests
2017-06-13 13:21:29 -07:00
Arthur Ozga
db35c639eb
port #16309 (prefix unused with _) to release-2.4
2017-06-13 11:36:18 -07:00
Yui T
70b01a9b65
Update baseline
2017-06-13 10:49:36 -07:00
Kanchalai Tanglertsampan
7d76486c15
Add fourslash rename, find-all-reference on imported property
2017-06-13 10:49:31 -07:00
Kanchalai Tanglertsampan
6842520cef
Implement LS on string-literal of dynamic import
2017-06-13 10:49:26 -07:00
Anders Hejlsberg
dde60bb624
Merge pull request #16368 from Microsoft/stricterGenericChecks
...
Stricter generic signature checks
2017-06-12 13:56:21 -07:00
Andy
7fb821e45b
Support completions in destructuring in for-of ( #16454 )
2017-06-12 12:12:51 -07:00
Andy
44d5c44cb5
Document highlights for a JSX tag should just be the matching tag, not all references ( #16453 )
2017-06-12 11:08:21 -07:00
Anders Hejlsberg
76093c24cd
Merge branch 'master' into stricterGenericChecks
...
# Conflicts:
# src/compiler/checker.ts
2017-06-09 15:35:37 -07:00
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
Anders Hejlsberg
6da961078c
Merge branch 'master' into stricterGenericChecks
2017-06-08 11:26:22 -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
Anders Hejlsberg
50b24ee884
Merge branch 'master' into stricterGenericChecks
2017-06-06 17:53:25 -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
3154a6c13e
Remove redundant fourslash test
2017-06-06 14:45:39 -07:00
Anders Hejlsberg
14f98f36ee
Fix fourslash test
2017-06-06 14:45:28 -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