Commit Graph
1186 Commits
Author SHA1 Message Date
Paul van Brenk 00a642b84c Add testcase 2016-06-15 12:07:12 -07:00
Bill Ticehurst bc8ac66fb3 Merge remote-tracking branch 'origin/release-1.8' into FixCommonJSModules 2016-03-09 14:58:01 -08:00
Ryan Cavanaugh a264cea783 Merge pull request #7268 from RyanCavanaugh/fix7063
Don't error on duplicate prototype property assignments
2016-03-01 13:57:04 -08:00
Bill Ticehurst c4a10cfcdd Fixed default import from export equals 2016-02-28 18:25:04 -08:00
Ryan Cavanaugh 8334aeac4d Don't error on duplicate prototype property assignments
Fixes #7063
2016-02-26 14:58:01 -08:00
Ryan Cavanaugh 904091e6ea Fix duplicate errors in JSDoc function types with anon parameters
Fixes #6993
2016-02-26 14:41:49 -08:00
Bill Ticehurst 9e46c180b4 Fixed es2015 imports from export= 2016-02-25 17:29:15 -08:00
Bill Ticehurst 13ec44aecf Updated tests
(cherry picked from commit fb474d13dd)
2016-02-16 11:28:51 -08:00
Bill Ticehurst d396f6e8c9 Allow decorators in JavaScript files
(cherry picked from commit f601e6dd76)
2016-02-16 11:28:50 -08:00
Bill Ticehurst cf0b9f6ee2 Fix fallback to classic resolution
(cherry picked from commit e03a45a824)
2016-02-12 15:46:16 -08:00
Daniel Rosenwasser 5a76a1dd74 Merge pull request #6744 from Microsoft/removePredicateTypiness
Remove notion of predicates as types, move predicates back to signatures
2016-02-12 14:43:42 -08:00
Bill Ticehurst ed1eb2b274 Fixed up paths in fourslash tests 2016-02-10 22:28:52 -08:00
Ryan Cavanaugh 8d0267c854 Recognize = as equivalent to ? in JSDoc signatures
Fixes #6811

(cherry picked from commit f7eac73a6f)
2016-02-05 10:47:28 -08:00
Ryan Cavanaugh 78237739ba Add more complex test scenarios
(cherry picked from commit e347c3711c)

# Conflicts:
#	tests/cases/fourslash/jsDocGenerics1.ts
2016-02-05 10:46:15 -08:00
Ryan Cavanaugh 37441e1698 Recognize object literal method JSDoc comments
Fixes #6825

(cherry picked from commit 8aad976c69)
2016-02-05 10:43:09 -08:00
Ryan Cavanaugh 909e0b1903 Always show file tokens in JS completion lists
Fixes #6654
2016-02-05 10:42:00 -08:00
Bill Ticehurst b761096dff Merge pull request #6905 from Microsoft/portJsDocFixes
Port Salsa fixes
2016-02-04 12:40:49 -08:00
Ryan Cavanaugh 73a8ace843 Fixes bug #6673
#6673

(cherry picked from commit f89ebb8fd8)
2016-02-04 11:30:34 -08:00
Ryan Cavanaugh 54bc98b22a Add malformed parameter test
(cherry picked from commit b15ff81384)
2016-02-04 11:30:04 -08:00
Ryan Cavanaugh f0e70cbf0f Don't crash when return type jsdoc tag is malformed
Fixes #6662

(cherry picked from commit 5a845bf0fc)
2016-02-04 11:30:03 -08:00
Ryan Cavanaugh f84bbcdf59 Don't show the currently-completing thing at the cursor in JS files
Fixes #6693

(cherry picked from commit 124bd517e7)
2016-02-04 11:28:29 -08:00
Ryan Cavanaugh 96ec9be665 Recognize the RHS of assignments as the JSDoc target expression
Fixes #6552

(cherry picked from commit 364b08854b)
2016-02-04 11:28:07 -08:00
Ryan Cavanaugh 176baf904a Add some tests
(cherry picked from commit 3dfd378b7e)
2016-02-04 11:27:43 -08:00
Ryan Cavanaugh eb27166b09 Parse JSDoc comments for ES6 class constructors and methods
Fixes #6646

(cherry picked from commit 1b282cda1d)
2016-02-04 11:27:31 -08:00
Ryan Cavanaugh de2ef72d4f Use union types in the return type of functions in the error case
Fixes #6663

(cherry picked from commit da6e82f639)
2016-02-04 11:26:45 -08:00
Ryan Cavanaugh 671d83e81a Treat multiple prototype property assignments as union property declarations
(cherry picked from commit a4c6f66686)
2016-02-04 11:26:02 -08:00
Ryan Cavanaugh 5de87e30c6 Allow multiple 'this' property assignments in Salsa
Fixes issue #6645

(cherry picked from commit 7259b9fd4a)
2016-02-04 11:26:02 -08:00
zhengbli 85bb1e8610 Add more tests and comments
(cherry picked from commit bf897c2939)
2016-02-04 10:45:50 -08:00
zhengbli 98149f6f0b add tests
(cherry picked from commit 9a6815f3c7)
2016-02-04 10:44:46 -08:00
Vladimir Matveev b14685d340 Merge pull request #6798 from Microsoft/dottedNamesInJsx
properly classify dotted tag names in jsx
2016-02-01 17:02:26 -08:00
Daniel Rosenwasser f4f4720752 Fixed up fourslash tests to only test functions. 2016-01-29 17:22:21 -08:00
Ryan Cavanaugh 6febe3b503 Merge pull request #6562 from RyanCavanaugh/jsIsJsx
Treat .js as JSX
2016-01-25 16:15:52 -08:00
Ryan Cavanaugh bfd6ca04af baseline-accept 2016-01-25 13:25:22 -08:00
Ryan Cavanaugh d54f3cb7e7 Remove obsoleted test 2016-01-22 15:16:27 -08:00
Ryan Cavanaugh 64c2d66ccb Merge branch 'master' into jsDocFinal 2016-01-22 15:10:02 -08:00
Vladimir Matveev c6b0cf1a03 Merge pull request #6213 from Microsoft/moduleAugmentations
initial revision of external module augmentations
2016-01-15 21:28:13 -08:00
Jason Killian b75ce4fdea Add failing test 2016-01-15 15:41:57 -05:00
Vladimir Matveev a69dcd16fa Merge remote-tracking branch 'origin/master' into moduleAugmentations 2016-01-14 11:13:48 -08:00
Yui 9df1ed4dd3 Merge pull request #6227 from Microsoft/fix4581_inheritedPropertiesCrash
Fix crash in language service when using on inherited properties of self-extend
2016-01-13 19:39:40 -08:00
Mohamed Hegazy 31d85155b9 Merge branch 'master' into fixFindReferencesOnExports 2016-01-13 15:35:03 -08:00
vladima 7cef1efb4e merge with origin/master 2016-01-11 22:12:03 -08:00
Mohamed Hegazy 869b81162f Merge pull request #6019 from Microsoft/sourceMapDestructuring
Fixes for source map of destructuring downlevel syntax
2016-01-11 14:36:28 -08:00
Ryan Cavanaugh 3c715dd094 Merge remote-tracking branch 'upstream/master' into jsDoc2 2016-01-11 11:39:20 -08:00
Vladimir Matveev d267d645d2 Merge pull request #6411 from Microsoft/classifyJsx2
add support for classifying jsx text and string literals in jsx attributes
2016-01-11 10:54:35 -08:00
Yui T 81f760c406 Merge branch 'master' into fix5953_crashJSX 2016-01-10 05:46:54 -08:00
Vladimir Matveev c1b031aa73 fix linter issues 2016-01-08 22:43:21 -08:00
Vladimir Matveev 5c0d1a8afa added jsx classification support to fourslash and tests 2016-01-08 22:30:26 -08:00
Anders Hejlsberg 0bfc83bbbc Merge pull request #6379 from Microsoft/forInChecking
Improved checking of for-in statements
2016-01-08 13:45:26 -08:00
Kanchalai Tanglertsampan 6dfe29ec31 Add tests 2016-01-08 03:34:43 -08:00
Kagami Sascha Rosylight 5431e09f92 add more spaces on test 2016-01-08 18:01:02 +09:00