2056 Commits

Author SHA1 Message Date
Anders Hejlsberg
31f0814d4a Simplify generic function call error reporting (#16439)
* Simplify error reporting for generic functions

* Accept new baselines

* Fix fourslash tests
2017-06-13 11:43:13 -07:00
Arthur Ozga
9cd04e06fd Merge pull request #16309 from aozgaa/codeFixPrefixUnused2
Code fix prefix unused2
2017-06-13 11:16:33 -07:00
Arthur Ozga
2a05bb1441 Merge pull request #16433 from Microsoft/suppressBraceCompletionOfQuotesinComments
Suppress brace completion of Quotes in Comments
2017-06-13 11:07:52 -07:00
Yui
23f618b6bc Merge pull request #16406 from Microsoft/master-fix16402
[Master] Language Service on Dynamic import
2017-06-13 10:22:45 -07:00
Arthur Ozga
70bace78a0 respond to comments 2017-06-12 15:36:34 -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
Arthur Ozga
798db1e884 Suppress brace completion of Quotes in Comments 2017-06-09 21:10:01 -07:00
Yui T
f765233e07 Update baseline 2017-06-09 18:34: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
Kanchalai Tanglertsampan
ff28bfa4aa Add fourslash rename, find-all-reference on imported property 2017-06-09 10:40:52 -07:00
Kanchalai Tanglertsampan
2e55b6ae16 Implement LS on string-literal of dynamic import 2017-06-09 10:01:17 -07:00
Arthur Ozga
a6e8cd7bcb rename tests 2017-06-08 19:22:29 -07:00
Arthur Ozga
8a3aaefff4 add tests 2017-06-08 19:00:08 -07:00
Arthur Ozga
ab8e0d53d0 revert test changes 2017-06-08 18:59:30 -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
Arthur Ozga
d9a68e3fb0 add tests for trivia 2017-06-06 14:22:11 -07:00
Arthur Ozga
7c22e50269 update existing tests 2017-06-06 14:11:11 -07:00
Arthur Ozga
5c91798d56 add tests 2017-06-06 14:10:34 -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