2961 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
Yui
d36cd9b51b Merge pull request #11683 from Microsoft/useCollator_toImprovcePerformance
Remove localeFix function and use collator object when we can
2017-01-18 14:03:57 -08:00
Andy Hanson
2d232c21a2 Support find-all-references for type keywords 2017-01-18 12:27:33 -08:00
Andy Hanson
bddcbc5f20 Move code out of closure in getDocumentHighlights, then again out of getSemanticDocumentHighlights and getSyntacticDocumentHighlights.
Also return a `Node[]` instead of a `HighlightSpan[]` where possible and do mapping from Node to HighlightSpan in one place.
2017-01-17 14:49:52 -08:00
Andy
65ef51d2f3 Merge pull request #12715 from Microsoft/map5
Use native maps when they're available
2017-01-17 11:04:28 -08:00
Andy Hanson
30ccc7a5d0 Merge branch 'master' into map5 2017-01-17 10:42:27 -08:00
Andy
d80d8b759a Merge pull request #13535 from Microsoft/empty_types
Move `"types": []` to tsconfig-base
2017-01-17 10:40:59 -08:00
Andy Hanson
9fbadfdc67 Move "types": [] to tsconfig-base 2017-01-17 08:02:39 -08:00
Andy Hanson
f1e7142f3c Move code out of closure in getCompletionsAtPosition 2017-01-17 07:42:31 -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
765114fccd Refactor to move code into checker 2017-01-13 07:57:21 -08:00
Andy Hanson
113338c791 Merge branch 'master' into map5 2017-01-12 12:35:00 -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
Andy Hanson
30462e11ef Merge branch 'master' into map5 2017-01-11 12:24:47 -08:00
Andy Hanson
37e18d9741 Add createMapFromTemplate helper 2017-01-11 09:52:50 -08:00
Andy Hanson
f0e1fd93f7 Merge branch 'master' into map5 2017-01-11 07:17: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
2ae5806210 Include "export" modifier on function assigned to an export (export const x = () => 0;). 2017-01-10 13:04:32 -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
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
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
2e6f369e8f Replace SparseArray<T> with T[] 2016-12-28 09:41:45 -08:00
Andy Hanson
145f0b2f18 Add createMultiMap to replace multiMapAdd and multiMapRemove 2016-12-28 09:33:43 -08:00
Andy Hanson
932eaa3f90 Rename and consolidate map iteration helpers 2016-12-28 09:16:38 -08:00
Andy Hanson
39c19a74ea Inline keysOfMap and valuesOfMap. 2016-12-28 09:05:52 -08:00
Andy Hanson
f510897dbd Remove "sparseArray" constructor function and just use array literals 2016-12-28 08:58:31 -08:00
Andy Hanson
9e33585a80 Merge branch 'master' into map5 2016-12-27 12:56:05 -08:00
Andy Hanson
55552585d0 Add iterators to Map interface, and shim iterators 2016-12-27 12:37:42 -08:00
Andy Hanson
8386d491ab Use sparse arrays for number-keyed maps 2016-12-27 11:17:33 -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