Commit Graph

1474 Commits

Author SHA1 Message Date
Arthur Ozga
6c2c2f8f3f use deduplicate 2017-02-14 11:30:19 -08:00
Arthur Ozga
21355982fd Offer missing abstract codefix once
* per class that is missing potentially many abstract members.
2017-02-13 16:58:14 -08:00
Mohamed Hegazy
84fc29f900 Fix lint failures detected by tslint@4.4.2 2017-02-09 12:46:09 -08:00
Vladimir Matveev
2480e8d492 do secondary lookup only if module has non-relative name 2017-02-08 20:35:01 -08:00
Vladimir Matveev
bb71dcdde8 add projectUsesOutFile field to protocol.CompileOnSaveAffectedFileListSingleProject (#13915) 2017-02-08 11:01:32 -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
Andy Hanson
f4583313d9 Use !! to convert to boolean 2017-02-08 06:13:32 -08:00
Ron Buckton
bc611d9e7d Merge pull request #13761 from Microsoft/extractPrinter
Expose printing functionality of emitter as a public API
2017-02-01 16:29:29 -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
Andy Hanson
58cb9a7f08 Use "ts2.2" (or "ts2.3", etc.) NPM tag in typingsInstaller 2017-01-31 06:57:47 -08:00
Ron Buckton
f0563ac287 Printer API unit tests 2017-01-30 13:50:34 -08:00
Ron Buckton
0165b71549 Embed comment emit inside of printer 2017-01-30 12:38:18 -08:00
Ron Buckton
028e4e2b13 Extract printer from emitter for reusability. 2017-01-29 11:25:39 -08:00
Andy Hanson
296022831e Merge branch 'master' into include_ordering 2017-01-25 06:57:26 -08:00
Nathan Shively-Sanders
c1181ae106 Merge pull request #13645 from Microsoft/getFirstToken-skips-jsdoc
getFirstToken skips JSDoc
2017-01-24 08:55:21 -08:00
Nathan Shively-Sanders
053b3cd893 getFirstToken skips JSDoc
Fixes #13519.
This is a better fix than #13599.
Also fixes broken tests associated with #13599.
2017-01-23 16:01:29 -08:00
David Sheldrick
8d590d5191 rename preserveWithJsExtension to react-native 2017-01-23 21:42:39 +01:00
David Sheldrick
dd0ed44b9a Add option to output .js files while preserving jsx
This commit adds the ability to preserve jsx in source code, but
also to output .js files rather than .jsx files. This is useful
for react-native which does not support .jsx files.
2017-01-23 18:17:16 +01:00
Nathan Shively-Sanders
1183129bda getFirstToken returns jsdoc as single comment
This is a bit odd, but it's the way that 2.0 and earlier behaved. 2.1
broke it.
2017-01-20 10:17:11 -08:00
Andy Hanson
9665f25011 Simplify fourslash tests by adding some helpers 2017-01-18 13:55:31 -08:00
Andy
71fcb29b78 Merge pull request #13453 from Microsoft/no_dom
Stop using "dom" types
2017-01-18 08:36:33 -08:00
Andy Hanson
9ebdd30ce4 Remove added newline 2017-01-17 14:36:55 -08:00
Andy Hanson
7baeb9726a Merge branch 'master' into no_dom 2017-01-17 14:35: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
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
d630980f79 Add dom declarations used by harness 2017-01-12 14:25:24 -08:00
Andy Hanson
113338c791 Merge branch 'master' into map5 2017-01-12 12:35:00 -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
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
9e127967b6 Merge pull request #11603 from zhengbli/11116
Set maxNodeModuleJsDepth for inferred projects
2017-01-10 12:17:43 -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
589db585b0 Merge branch 'master' into include_ordering 2017-01-09 06:38:16 -08:00
Andy Hanson
9221336bf1 Fix name: mapEntries is more accurate 2017-01-06 13:13:45 -08:00
Andy Hanson
8c5afd7f54 Merge branch 'master' into map5 2017-01-06 13:03:34 -08:00
Zhengbo Li
c67d1a4445 Let fourslash tests support extended tsconfig 2017-01-04 12:59:05 -08:00
Mohamed Hegazy
524fa64c8d Merge pull request #11547 from Microsoft/interfaceFixes
Codefix for implementing interfaces
2016-12-30 14:28:55 -08:00
zhengbli
8ac22ecbb0 Change the design to track addRoot and removeRoot 2016-12-29 17:00:04 -08:00
zhengbli
09fc3b3a18 address cr feedback 2016-12-29 10:26:34 -08:00
zhengbli
bf5faa04a6 Use inherited setCompilerOptions for inferred project 2016-12-28 14:46:58 -08:00
Andy Hanson
2e6f369e8f Replace SparseArray<T> with T[] 2016-12-28 09:41:45 -08:00
Andy Hanson
346a86582b Merge branch 'master' into map5 2016-12-28 09:36:30 -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
zhengbli
8648239e64 Merge branch 'master' of https://github.com/Microsoft/TypeScript into 11116 2016-12-28 04:07:04 -08:00