Kārlis Gaņģis
aa4a0b6469
Fixed jsDoc parser - no longer omits asterisks in the middle (if the line does not start with asterisk) and additional case for whitespaces being ignored
2016-12-13 00:05:16 +02:00
Kārlis Gaņģis
19070648eb
Added test for https://github.com/Microsoft/TypeScript/issues/12236
2016-12-12 22:33:45 +02:00
Anubha Mathur
cb0beb8343
Merge remote-tracking branch 'origin/master' into allowBracketCompletionInComments
2016-12-07 16:02:18 -08:00
Anubha Mathur
31dde97bbd
Allowing brace completion inside comments in JS and TS files
2016-12-07 15:58:05 -08:00
Andy
b0bbbcbe07
Merge pull request #12730 from Microsoft/memberList_to_completionList
...
Use "completionList" methods instead of "memberList" ones, since they're identical
2016-12-07 15:34:32 -08:00
Andy Hanson
6d37a60445
Remove debug statement
2016-12-07 14:07:35 -08:00
Andy Hanson
9f20077914
Use "completionList" methods instead of "memberList" ones, since they're identical
2016-12-07 13:36:11 -08:00
Sheetal Nandi
7d049c2742
Write property name of destructuring pattern explicitly
...
There wont be any symbol for the property name but we already know it is a property name
Fixes #12166
2016-12-06 11:42:44 -08:00
Ryan Cavanaugh
6a5682c4a3
Support JSDoc @augments tag
...
Fixes #12428
2016-11-22 10:52:47 -08:00
Vladimir Matveev
b060107b51
recompute character to column when comparing indentations ( #12375 )
...
recompute character to column when comparing indentations
2016-11-21 11:34:09 -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
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
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
Sheetal Nandi
78bb276216
Merge branch 'master' into errorReportingInJsFile
2016-11-09 11:38:11 -08:00
Vladimir Matveev
28cc938503
(signature help) type parameter lists are never variadic ( #12112 )
2016-11-08 16:10:34 -08:00
Paul van Brenk
78fdd44dd1
Remove error-codes from fourslash tests
2016-11-07 13:01:14 -08: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
Nathan Shively-Sanders
2ae6ecc1a5
Merge branch 'master' into object-spread
2016-11-02 10:57:20 -07:00
Paul van Brenk
b59714ea7e
Add more testcases and simplify
2016-11-01 16:31:23 -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
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
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
Alexander Rusakov
8ad68adac9
Fix #10108 (Completion suggestion for object literal with getter) ( #11808 )
...
* Fix #10108 (Completion suggestion for object literal with getter)
* completions for setter
2016-10-26 10:01:23 -07:00
Jason Ramsay
1b16c0b94b
For JavaScript files, we report semantic errors for using TypeScript-only constructs
from within a JavaScript file as syntactic errors.
2016-10-25 18:09:04 -07:00
Zhengbo Li
d0170d1ac8
Support dotted name in @typedef tag ( #11695 )
...
* Support dotted name in @typedef tag
* Use a new node flag to get rid of the extra logics
* replace jsdoc namespace node flag with optional property
* Fix linting error
2016-10-25 13:32:48 -07:00
Arthur Ozga
48f947f50d
Merge pull request #11829 from Microsoft/arozga/RemoveNavBarWhiteSpace
...
remove whitespace in nav bar completions
2016-10-25 11:44:29 -07:00
Arthur Ozga
476b6e02c8
remove check on property assignment
2016-10-25 10:59:17 -07:00
Sheetal Nandi
f98369b711
Fix the AV resulting from presence of undefined in the jsDocPropertyTags
...
Fixes #11703
2016-10-24 18:10:05 -07:00
Arthur Ozga
cb804df151
remove whitespace
2016-10-24 17:53:03 -07:00
Paul van Brenk
d4b99d66e0
Simplifying handling import cases
2016-10-24 17:32:58 -07:00
Paul van Brenk
409787495e
Fix 'import a = A' case
2016-10-24 11:40:23 -07:00
Paul van Brenk
1f94e14d84
Remove unused case, and fix for..in
2016-10-21 17:11:32 -07:00
Paul van Brenk
79fa9dbc5f
Add tests for different constructor parameter cases.
2016-10-21 15:48:24 -07:00
Nathan Shively-Sanders
f9fe01a6e3
Merge branch 'master' into object-spread
2016-10-19 09:03:51 -07:00
jramsay
14e5de3b1d
Merge pull request #11647 from Microsoft/AddIsGlobalCompletionRestrictions
...
Add restrictions to IsGlobalCompletion
2016-10-18 14:25:36 -07:00
Jason Ramsay
dba03377b8
Adding JSXExpression check for isGlobalCompletion and associated tests
2016-10-18 14:04:21 -07:00
jramsay
68c485d9f9
Merge pull request #11686 from Microsoft/AddIsSemanticToGetDiagnosticsWorker
...
TSServer: Add isSemantic check to getDiagnosticsWorker
2016-10-17 22:10:59 -07:00
Jason Ramsay
deb3449077
Add getSyntacticDiagnostics unit test
2016-10-17 17:47:10 -07:00
Nathan Shively-Sanders
8aa56c1cce
Add fourslash test for contextually-typed this
...
Regression test for #10972
2016-10-17 09:12:15 -07:00