Commit Graph

1744 Commits

Author SHA1 Message Date
Andy Hanson
f0e1fd93f7 Merge branch 'master' into map5 2017-01-11 07:17:37 -08:00
Andy Hanson
2124fcf588 goToDefinition: Use the name of a declaration (if possible) when creating DefinitionInfo. 2017-01-09 11:05:53 -08:00
Andy Hanson
23fa422b59 String literal completions: Use call signature only if we are *immediately* in a call expression 2017-01-09 07:52:52 -08:00
Andy Hanson
c28d98a146 Fix test 2017-01-09 06:36:07 -08:00
Andy Hanson
8c5afd7f54 Merge branch 'master' into map5 2017-01-06 13:03:34 -08:00
Zhengbo Li
b19a949ce4 Support path that specified index 2017-01-04 13:35:42 -08:00
Mohamed Hegazy
524fa64c8d Merge pull request #11547 from Microsoft/interfaceFixes
Codefix for implementing interfaces
2016-12-30 14:28:55 -08:00
Mohamed Hegazy
60476ceffe Fix test failure resulting from bad merge 2016-12-30 13:49:50 -08:00
Mohamed Hegazy
6418c2f9bb Merge pull request #12543 from wonderful-panda/fix-12536
tsserver: get candidates from <K extends keyof Foo> (fix #12536)
2016-12-30 13:23:07 -08:00
Andy Hanson
a67771265d Merge branch 'master' into map5 2016-12-29 09:11:19 -08:00
Zhengbo Li
69e0677ea1 Support quick fixes for UMD global (#12545)
* Support quick fixes for UMD global

* refactor
2016-12-28 15:04:15 -08:00
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
Arthur Ozga
3fc94bbd3b Rename Tests 2016-12-14 10:38:00 -08:00
Arthur Ozga
4af3937e37 Merge branch 'master' into interfaceFixes 2016-12-14 09:35:09 -08:00
Arthur Ozga
4b02099372 add tests 2016-12-14 08:42:05 -08:00
Arthur Ozga
3cfac081d5 abstract class expr instantiation and abstract fix works with class expr 2016-12-14 08:40:41 -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
Arthur Ozga
ad011108e6 Consolidate Tests 2016-12-11 22:07:49 -08:00
Arthur Ozga
469745b181 Synthetic signature uses existing parameter names 2016-12-11 21:50:46 -08:00
Arthur Ozga
d724517110 Merge branch 'master' into interfaceFixes 2016-12-09 13:28:05 -08:00
Arthur Ozga
819a654bb3 Add tests and fix rest parameters 2016-12-08 18:34:35 -08:00
Arthur Ozga
97b3d7a9ef make index signature fix work with generics 2016-12-08 17:19:19 -08:00
Arthur Ozga
2f51b363bf add missing index signature support 2016-12-08 16:34:15 -08:00