2928 Commits

Author SHA1 Message Date
Andy Hanson
0b8de64a1b Move code out of closure in getReferencedSymbolsForNode 2017-01-13 13:20:39 -08:00
Andy
43a2d3849b Merge pull request #13446 from Microsoft/export_equals_completion
Include properties of an `export =` value in import completions.
2017-01-13 09:55:43 -08:00
Andy Hanson
639f5cb6e5 Fix bug for constructor with modifier 2017-01-13 08:10:58 -08:00
Andy Hanson
765114fccd Refactor to move code into checker 2017-01-13 07:57:21 -08:00
Zhengbo Li
a36db0ea10 Merge pull request #13424 from zhengbli/13129
Change the module specifier search order
2017-01-12 12:06:28 -08:00
Andy Hanson
30e2fd6c20 Remove "noResolve" 2017-01-12 10:18:59 -08:00
Andy Hanson
733111a931 Use tsconfig inheritance 2017-01-12 07:46:55 -08:00
Andy Hanson
890676a5d8 Include properties of an export = value in import completions. 2017-01-12 07:33:36 -08:00
Zhengbo Li
c897235364 Change the module specifier search order 2017-01-11 14:30:37 -08:00
Zhengbo Li
0c7e4bbb45 Update the message 2017-01-10 17:55:52 -08:00
Zhengbo Li
54f1230760 Change the remove unused local code fix message 2017-01-10 17:52:47 -08:00
Andy Hanson
463626d56f Move helper to services/utilities 2017-01-09 13:51:25 -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
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
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
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
Mohamed Hegazy
914bcfd616 Merge branch 'fix-11676' of https://github.com/flowmemo/TypeScript into flowmemo-fix-11676 2016-12-26 11:26:36 -08:00
Mohamed Hegazy
e4b81d0331 Merge pull request #13006 from SaschaNaz/lintfix
Fix latest tslint errors
2016-12-26 11:24:25 -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
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
Kagami Sascha Rosylight
2576ea1cf5 fix linter alert 2016-12-21 22:16:00 +09:00
Kagami Sascha Rosylight
ba7c1a13c3 do not insert space after function expressions 2016-12-21 21:54:40 +09:00
Kagami Sascha Rosylight
a4ec7d66eb unindent dangling closing token 2016-12-21 21:50:45 +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
Kagami Sascha Rosylight
bc59d6242b format [P in keyof T] 2016-12-21 21:01:28 +09:00
Kagami Sascha Rosylight
54fb29b8b8 format generic type alias 2016-12-21 21:01:03 +09:00
Kagami Sascha Rosylight
cddc72a25e always give container 2016-12-21 20:58:52 +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
Kagami Sascha Rosylight
1f79741732 needless newline 2016-12-20 03:14:50 +09:00
Kagami Sascha Rosylight
2a941a7222 inline length 2016-12-20 03:12:35 +09:00
Kagami Sascha Rosylight
27a60e4580 fix linting errors 2016-12-18 15:44:54 +09: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
97f18c9bf5 Cleanup 2016-12-14 10:28:18 -08:00
Arthur Ozga
4af3937e37 Merge branch 'master' into interfaceFixes 2016-12-14 09:35:09 -08:00
Arthur Ozga
d75d548470 implicit any for synthesized signature 2016-12-14 09:24:19 -08:00
Arthur Ozga
8be881916b simplify and inline methods 2016-12-14 09:10:51 -08:00
Arthur Ozga
467381273e refactor fix 2016-12-14 08:41:55 -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