Andy Hanson
9e33585a80
Merge branch 'master' into map5
2016-12-27 12:56:05 -08:00
Mohamed Hegazy
f0ad56d86e
Ensure test input is unformatted
2016-12-26 11:36:27 -08:00
flowmemo
eb188d0e24
fix #11676 - lint test
2016-12-24 09:25:14 +08:00
flowmemo
e32c62039e
fix #11676
2016-12-24 00:20:46 +08:00
Mohamed Hegazy
7e98fc71d0
Merge pull request #13111 from SaschaNaz/formatDestruct
...
Format destructuring by brace format option
2016-12-22 10:23:06 -08:00
flowmemo
4886b4248a
fix issue #13114
2016-12-22 23:18:12 +08:00
Kagami Sascha Rosylight
5fb82496fb
reposition defaultFormatOption
2016-12-22 12:54:23 +09:00
Kagami Sascha Rosylight
6b48f3b551
cancel getOption
2016-12-22 12:41:35 +09:00
Kagami Sascha Rosylight
ebf46a77e9
merge conflict
2016-12-22 12:37:28 +09:00
Kagami Sascha Rosylight
273a0dbdfe
add getOption
2016-12-22 12:33:50 +09:00
Kagami Sascha Rosylight
f65c865957
Merge branch 'master' of https://github.com/SaschaNaz/TypeScript into formatDestruct
2016-12-22 11:04:06 +09:00
Kagami Sascha Rosylight
82be6d1746
Format destructuring by brace format option
2016-12-22 11:03:20 +09:00
Kagami Sascha Rosylight
784f29bc83
merge conflict
2016-12-22 09:00:31 +09:00
Mohamed Hegazy
e9da643518
Merge pull request #13090 from SaschaNaz/maptype
...
Format mapped type
2016-12-21 11:08:10 -08:00
Nathan Shively-Sanders
6281d1dd18
Merge pull request #12982 from Microsoft/jsdoc-instantiate-signature-with-function-arg
...
JSDoc functions are now in scope for instantiation
2016-12-21 10:42:11 -08:00
Kagami Sascha Rosylight
ba7c1a13c3
do not insert space after function expressions
2016-12-21 21:54:40 +09:00
Kagami Sascha Rosylight
c28625f45b
merge conflict
2016-12-21 21:03:43 +09:00
Kagami Sascha Rosylight
f4c33aaec4
indent inside mapped type
2016-12-21 21:01:47 +09:00
Mohamed Hegazy
c90af3aa94
Merge pull request #13045 from aochsner/fix-12234
...
space-before-function-paren
2016-12-20 16:13:19 -08:00
Dan Corder
dc94264220
Fix issue 12218 and linter error
2016-12-20 22:32:37 +00:00
Andrew Ochsner
3b3d71542c
Add InsertSpaceAfterConstructor option & additonal test cases
...
Fixes #12234
2016-12-20 10:05:10 -06:00
Andrew Ochsner
7bf73be7fe
space-before-function-paren
...
Adding option InsertSpaceBeforeFunctionParenthesis
Should be optional
Typically used to support http://eslint.org/docs/rules/space-before-function-paren
Fixes #12234
2016-12-19 23:05:30 -06:00
Nathan Shively-Sanders
8ae9c7de21
JSDoc functions are now in scope for instantiation
...
Previously, `isSymbolInScopeOfMappedTypeParameter` did not understand
JSDoc, so it would cause generic function declarations in JSDoc not be
instantiated.
2016-12-16 09:49:29 -08:00
jramsay
2e97cffe61
Merge pull request #12898 from Microsoft/NavigateToFixForIIFE
...
NavigateTo is not working correctly for declarations in IIFEs
2016-12-14 10:56:44 -08:00
Jason Ramsay
97641e7c3c
NavigateTo is not working correctly for declarations in IIFEs
...
Fix: visit the node's children even when the function declaration name is undefined
2016-12-13 16:47:32 -08:00
Mohamed Hegazy
c9111a0dbb
Fix https://github.com/Microsoft/TypeScript/issues/12316 : Add method to known tag names
2016-12-13 16:36:54 -08:00
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
Andy Hanson
55fc62bc45
Merge branch 'master' into map5
2016-12-12 07:50:09 -08:00
Andy Hanson
6b1cc8972d
Use native maps when they're available
2016-12-08 06:40:31 -08: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