1786 Commits

Author SHA1 Message Date
Mohamed Hegazy
4ec68481ba Merge pull request #13903 from Microsoft/jsPropertyWidening
Widen special JS property declarations to match regular property declarations
2017-02-09 15:08:35 -08:00
Andy
51d4970ce0 Merge pull request #13760 from Microsoft/find_all_refs_tests
Change find-all-references tests to test for groups
2017-02-08 07:05:36 -08:00
Mohamed Hegazy
914150f2f1 Widen special JS property declarations to match regular property declarations 2017-02-06 09:57:12 -08:00
Zhengbo Li
df643d8d02 Merge pull request #13405 from zhengbli/13137
Support import fix for missing namespace
2017-02-02 16:11:08 -08:00
zhengbli
e532744f16 Add test case for nested namespace 2017-02-02 14:14:40 -08:00
zhengbli
62f716aaa6 avoid removing comments when removing unused locals 2017-02-02 13:50:34 -08:00
Zhengbo Li
12e8f91bf2 Merge pull request #13831 from zhengbli/importFixCasing
Fix casing in import quick fix
2017-02-02 10:05:11 -08:00
Andy Hanson
2f49eeca26 Remove useless test file 2017-02-02 08:29:00 -08:00
Zhengbo Li
6c56b3d957 Fix casing in import quick fix 2017-02-02 02:17:49 -08:00
Mohamed Hegazy
52841924da Support string literal completion in case labels 2017-01-31 20:24:36 -08:00
Mohamed Hegazy
3b1b5e241f Add string literal completion for equality expression 2017-01-31 16:44:59 -08:00
Andy Hanson
8515f7e2b5 Change find-all-references tests to test for groups
* Also always test for isWriteAccess and isDefinition
2017-01-31 06:59:16 -08:00
Daniel Rosenwasser
57e224ce3a Merge branch 'master' into fixMissingThis 2017-01-30 12:01:12 -08:00
Andy
65125791d2 Merge pull request #13643 from Microsoft/find_all_refs_default
Support find-all-references for default exports
2017-01-26 10:33:17 -08:00
Nathan Shively-Sanders
57400fd2f4 Merge pull request #13691 from Microsoft/typo
Fix typo
2017-01-26 09:11:39 -08:00
Andy Hanson
97e964a08f Fix typo 2017-01-25 14:15:06 -08:00
Andy
feb08b8b43 Merge pull request #13686 from Microsoft/goToDefinition_callback
For goToDefinition, verify that tryGetSignatureDeclaration returns a signature declaration and not a FunctionType.
2017-01-25 14:13:11 -08:00
Andy Hanson
916e67a92c For goToDefinition, verify that tryGetSignatureDeclaration returns a signature declaration and not a FunctionType. 2017-01-25 13:02:02 -08:00
Andy Hanson
16bdaaa0a6 Fix positionToLineOffset conversion for getImplementation 2017-01-25 12:53:39 -08:00
Andy Hanson
50442b5a23 Undo change to test 2017-01-24 13:57:42 -08:00
Andy Hanson
e8c3d548eb Fix tests 2017-01-24 12:56:21 -08:00
Andy Hanson
0d21c241b2 Support find-all-references on mapped types.
* Need to put a 'mappedTypeOrigin' property in SymbolLinks
2017-01-24 10:17:17 -08:00
Andy Hanson
0ca4cb25d6 Support find-all-references for default exports 2017-01-23 14:31:29 -08:00
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
Zhengbo Li
aa706d785b Support import fix for missing namespace as well 2017-01-10 17:57:08 -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