Commit Graph

1676 Commits

Author SHA1 Message Date
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 Brenk
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
Arthur Ozga
389959a5b5 Merge branch 'master' into interfaceFixes
* additionally consolidated codeFix testing
2016-11-15 14:43:14 -08:00
Arthur Ozga
d7d4bf6b04 Handle class expressions 2016-11-15 11:41:23 -08:00
Nathan Shively-Sanders
2496756aed Merge branch 'master' into object-spread-rest-fixes 2016-11-15 11:19:01 -08:00
Paul van Brenk
1924298d87 Merge branch 'master' into unusedidentifier 2016-11-15 10:17:37 -08:00
Nathan Shively-Sanders
fe66d9ef9f Add spread tests and update rest tests 2016-11-14 16:23:40 -08:00
Arthur Ozga
6400d53394 Fix handling of default class 2016-11-14 15:43:24 -08:00
Arthur Ozga
cfe50d1b92 Fix extends -> implements for decorators/modifiers 2016-11-14 15:13:46 -08:00
Arthur Ozga
263734f333 Add a test 2016-11-14 13:53:59 -08:00
Nathan Shively-Sanders
973d83ce93 Merge branch 'master' into fix-jsdoc-missing-space-from-bad-indent 2016-11-10 13:12:32 -08:00
Nathan Shively-Sanders
8bd0a47c82 Retain space after first word in multiline jsdoc
For words that were shorter than the jsdoc indent level, the space was
omitted previously.
2016-11-10 13:11:32 -08:00
Sheetal Nandi
c87bce1119 Merge pull request #11978 from Microsoft/errorReportingInJsFile
Report all the js file errors and skip only the nodes that are not allowed in JS file
2016-11-10 10:37:16 -08:00
Nathan Shively-Sanders
be5e5fb872 Merge pull request #11150 from Microsoft/object-spread
Object spread/rest
2016-11-10 09:28:58 -08:00
Arthur Ozga
0591e1bd20 Simplify Testing 2016-11-09 17:47:52 -08:00
Arthur Ozga
c650c33bb5 Update tests 2016-11-09 16:37:48 -08:00
Sheetal Nandi
78bb276216 Merge branch 'master' into errorReportingInJsFile 2016-11-09 11:38:11 -08:00
Arthur Ozga
d842a6f665 Merge branch 'master' into interfaceFixes 2016-11-08 16:49:49 -08:00
Arthur Ozga
1d6ef6aedd cleanup 2016-11-08 16:48:54 -08:00
Vladimir Matveev
28cc938503 (signature help) type parameter lists are never variadic (#12112) 2016-11-08 16:10:34 -08:00
Arthur Ozga
6bd35fb066 Fix Type Param method Tests 2016-11-08 14:26:50 -08:00
Arthur Ozga
1ec234af32 Edit error handling tests 2016-11-08 14:13:25 -08:00
Arthur Ozga
4441380e6f tests: edit expected type params 2016-11-08 13:20:56 -08:00
Arthur Ozga
0ce53f0230 rename tests 2016-11-08 10:43:36 -08:00
Arthur Ozga
71d17445f7 Test Fixes
* remove abstract modifier on insertion
* use semi-colon to delimit object types
* remove bad type param
2016-11-07 19:00:27 -08:00
Paul van Brenk
78fdd44dd1 Remove error-codes from fourslash tests 2016-11-07 13:01:14 -08:00
Arthur Ozga
b7b30aab46 Add straggling Test 2016-11-04 16:36:28 -07:00
Arthur Ozga
36c5befae9 Add tests and simplify existing ones 2016-11-04 16:34:10 -07:00
Paul van Brenk
2f453ce674 Handle most module cases 2016-11-03 12:48:28 -07:00
Nathan Shively-Sanders
7ff8876096 Merge branch 'object-spread' into object-rest-syntax 2016-11-03 10:12:45 -07:00
Nathan Shively-Sanders
a077fd104a Remove spread type tests from spread tests 2016-11-03 09:39:58 -07:00
Nathan Shively-Sanders
ac20b46f4f Add rest tests 2016-11-02 14:56:58 -07:00
Arthur Ozga
e5279fd828 Rename and simplify fourslash interface 2016-11-02 12:39:55 -07:00
Nathan Shively-Sanders
2ae6ecc1a5 Merge branch 'master' into object-spread 2016-11-02 10:57:20 -07:00
Arthur Ozga
0380f3f38e Recognize modifiers 2016-11-01 17:19:06 -07:00
Paul van Brenk
b59714ea7e Add more testcases and simplify 2016-11-01 16:31:23 -07:00
Arthur Ozga
324000020c Merge branch 'master' into interfaceFixes 2016-11-01 15:43:54 -07:00
Arthur Ozga
99ae5d9a99 Remove unused tests 2016-11-01 15:38:35 -07:00
Arthur Ozga
bc2134681d Refactor fourslash testing for codeFixes 2016-11-01 15:38:07 -07:00
Sheetal Nandi
06331b57de Report all the js file errors and skip only the nodes that are not allowed in js
Fixes #11800
2016-11-01 13:00:30 -07:00
Andy
ecb7b00e1c Forbid augmentation of untyped module (#11962)
* Forbid augmentation of untyped module

* Just use `undefined` for untyped modules
2016-10-31 15:04:22 -07:00
jramsay
980f9fd2a9 Merge pull request #11848 from Microsoft/AddJavaScriptSemanticErrorsToSyntacticErrors
Fix for #11719 - TSServer: JS files should display syntactic errors for TS syntax
2016-10-28 16:49:53 -07:00
Arthur Ozga
834245cd8f Add Failing Tests 2016-10-28 11:57:30 -07:00
Arthur Ozga
72728337e0 Rename and Add a Test 2016-10-28 11:48:01 -07:00
Jason Ramsay
05c2c9b67b Updating test due to CR changes. The order of the diagnostic messages has changed due to concatenation changes 2016-10-27 19:20:14 -07:00
Arthur Ozga
7758e6dc9d Rename Most Tests 2016-10-27 18:39:49 -07:00
Nathan Shively-Sanders
58ffb4e668 Merge branch 'master' into object-spread 2016-10-27 15:29:21 -07:00
Andy Hanson
4937d9c8b4 Allow untyped imports 2016-10-27 08:54:19 -07:00
Arthur Ozga
2abf906ac7 Merge branch 'master' into interfaceFixes 2016-10-26 14:02:09 -07:00
Arthur Ozga
f74872dd69 temp 2016-10-26 11:30:52 -07:00