Commit Graph
1761 Commits
Author SHA1 Message Date
Andy Hanson 36a9f6798a Merge branch 'master' into find_all_refs_primitive 2017-01-20 06:50:52 -08:00
Andy Hanson 1267fd3030 Don't use nameTable for type keywords, and don't handle keyof. 2017-01-20 06:41:57 -08:00
Andy Hanson 9665f25011 Simplify fourslash tests by adding some helpers 2017-01-18 13:55:31 -08:00
Andy Hanson 2d232c21a2 Support find-all-references for type keywords 2017-01-18 12:27:33 -08:00
Andy Hanson d1fb894d86 Update document highlight tests: Use ranges to represent expected highlights 2017-01-17 13:51:53 -08:00
Andy Hanson 30ccc7a5d0 Merge branch 'master' into map5 2017-01-17 10:42:27 -08:00
Andy 4ba382a1d1 Merge pull request #13478 from Microsoft/string_literal_rest_parameter
Support completions for string literal in rest parameter
2017-01-17 06:40:15 -08:00
Andy 3b0f2c152b Merge pull request #13476 from Microsoft/findallrefs_unclosure
Move code out of closure in `getReferencedSymbolsForNode`
2017-01-16 09:18:39 -08:00
Andy Hanson f1b481a1b6 Support completions for string literal in rest parameter 2017-01-13 14:13:49 -08:00
Andy Hanson 0b8de64a1b Move code out of closure in getReferencedSymbolsForNode 2017-01-13 13:20:39 -08:00
Andy d86d850211 Merge pull request #13401 from Microsoft/navbar_exported_functions
Include "export" modifier on function assigned to an export (`export const x = () => 0;`).
2017-01-13 10:33: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 113338c791 Merge branch 'master' into map5 2017-01-12 12:35:00 -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
Andy Hanson f0e1fd93f7 Merge branch 'master' into map5 2017-01-11 07:17:37 -08:00
Andy Hanson 2ae5806210 Include "export" modifier on function assigned to an export (export const x = () => 0;). 2017-01-10 13:04:32 -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