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
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
Vladimir Matveev
11dd368ec0
do not report file lookups if containing folder is known to be missing ( #13187 )
...
* added missing '.' at the end of message
* do not report lookups if containing folder is known to be absent
2016-12-27 15:50:14 -08:00
Andy Hanson
9e33585a80
Merge branch 'master' into map5
2016-12-27 12:56:05 -08:00
Andy Hanson
3d7b5e6019
Make createMapLike private and rename to createDictionaryObject
2016-12-27 12:46:28 -08:00
Vladimir Matveev
77a3dfbcfc
tsserver should use newline provided by the host ( #13185 )
2016-12-27 11:59:56 -08:00
Andy Hanson
8386d491ab
Use sparse arrays for number-keyed maps
2016-12-27 11:17:33 -08:00
Mohamed Hegazy
e4b81d0331
Merge pull request #13006 from SaschaNaz/lintfix
...
Fix latest tslint errors
2016-12-26 11:24:25 -08:00
Kagami Sascha Rosylight
a1f88d2fcd
format fourslash.ts
2016-12-22 15:23:50 +09:00
Kagami Sascha Rosylight
76c88b59cf
union
2016-12-22 13:04:37 +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
Vladimir Matveev
1045f3bffb
detach root files on project close if project language service is disabled ( #13077 )
2016-12-20 19:25:25 -08:00
Andrew Ochsner
3b3d71542c
Add InsertSpaceAfterConstructor option & additonal test cases
...
Fixes #12234
2016-12-20 10:05:10 -06: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