Commit Graph
2915 Commits
Author SHA1 Message Date
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 HegazyandGitHub 524fa64c8d Merge pull request #11547 from Microsoft/interfaceFixes
Codefix for implementing interfaces
2016-12-30 14:28:55 -08:00
Mohamed HegazyandGitHub 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 LiandGitHub 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 HegazyandGitHub 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 HegazyandGitHub 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 HegazyandGitHub 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
jramsayandGitHub 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
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 b9ae36cfbe Simplify index signature generation 2016-12-09 13:25:58 -08:00
Arthur Ozga 1338b94b2c Simplify rest parameter handling 2016-12-09 10:48:17 -08:00
Arthur Ozga 5e48e339dd cleanup 2016-12-08 18:34:49 -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
Vladimir MatveevandGitHub 7da3383504 do not use ScriptVersionCache for closed files (#12777) 2016-12-08 16:17:42 -08:00
anubmatandGitHub 9dd769dc3c Merge pull request #12741 from Microsoft/allowBracketCompletionInComments
Allow brace completion in comments
2016-12-08 14:37:11 -08:00
Anubha Mathur 7073b3513b removing unneccessary comments 2016-12-08 10:07:11 -08:00
Arthur Ozga 5cd0ea3741 handle well-known computed property/method names 2016-12-07 17:00:20 -08:00
Anubha Mathur 31dde97bbd Allowing brace completion inside comments in JS and TS files 2016-12-07 15:58:05 -08:00