Vladimir Matveev
595342615b
abstract code in FindReferences from concrete way of creating result reference entry to seamlessly reuse the same code for gotoImplementation ( #14637 )
2017-03-16 15:53:05 -07:00
Zhengbo Li
5040e1d279
Mark occurence item in string with a special property ( #14677 )
...
* mark occurence item in string with a special property
* Adding trailing commas
2017-03-16 11:01:48 -07:00
Vladimir Matveev
2b10611fbf
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer ( #14441 )
...
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
2017-03-15 11:44:36 -07:00
Mohamed Hegazy
4f04794d00
Merge remote-tracking branch 'origin/mjbvz-fix-per-request-cancellation'
2017-03-13 10:34:32 -07:00
Matt Bierner
205f63891e
Fix Per Request Cancellation Tokens
...
While working on https://github.com/Microsoft/vscode/pull/22437 , I believe there is a bug in the per request cancellation in the `setRequest` function on the line `currentRequestId = currentRequestId ;` This causes `currentRequestId` to always be undefined
Fix is to assign the `currentRequestId` to `requestId`
2017-03-10 22:13:58 -08:00
Vladimir Matveev
17cb68cbbf
send error if obtaining of types-registry package failed ( #14573 )
2017-03-10 10:34:01 -08:00
Vladimir Matveev
77c2a1d20d
allow passing --logFile and --logVerbosity parameter to tsserver ( #14566 )
2017-03-09 15:25:44 -08:00
Mohamed Hegazy
81c0bd50ab
Add --lib es6 to @types/node dependent targets
2017-03-08 23:03:30 -08:00
Andy Hanson
d58cfa238b
Merge branch 'master' into lint_better
2017-03-06 06:20:48 -08:00
Andy Hanson
3bc125463b
Add more missing semicolons
2017-03-03 07:00:52 -08:00
Andy Hanson
5f52549047
Merge branch 'master' into semicolon
2017-03-03 06:56:05 -08:00
Andy Hanson
8371eb6401
Update tslint to latest (next is still on 4.3) and lint for BOM
2017-03-01 10:37:13 -08:00
Magnus Hiie
9ac2ea722d
Add insert...Braces Option to Server Protocol
...
Closes #13275
2017-03-01 18:48:08 +02:00
Andy Hanson
5ea43c8ba3
Merge branch 'master' into semicolon
2017-03-01 08:09:59 -08:00
Vladimir Matveev
359823b4be
ignore request for codefixes with no error codes ( #14215 )
2017-02-21 13:59:33 -08:00
Vladimir Matveev
dca368b719
handle the case when conversion of tsconfig.json failed ( #14160 )
2017-02-21 10:27:50 -08:00
Jason Jarrett
e2222b2680
Update protocol.ts
2017-02-19 22:14:39 -08:00
Vladimir Matveev
8c54bbaa04
use separate process to probe if drive is safe to watch ( #14098 )
...
use dedicated process to determine if it is safe to watch folders
2017-02-16 10:32:01 -08:00
Ryan Cavanaugh
ddbd2b301e
Preserve const enums for tsserver
2017-02-15 14:05:53 -08:00
Ryan Cavanaugh
87b780d641
Merge pull request #12231 from RyanCavanaugh/ls-proxy
...
Language service proxy
2017-02-14 14:16:23 -08:00
Ryan Cavanaugh
86cc405286
Fix downstream use
2017-02-14 13:45:19 -08:00
Mohamed Hegazy
83ef026613
Merge pull request #13996 from Microsoft/UnsupportedExtensionsFix
...
Fix #13951 : VS 2017 complains about unsupported extensions
2017-02-14 13:42:13 -08:00
Ryan Cavanaugh
aec310996c
Language service extensibility
2017-02-14 13:35:16 -08:00
Vladimir Matveev
81f4e38643
Enable per-request cancellation ( #12371 )
...
enable -per-request cancellation
* restore request for deferred calls
* add tests
* introduce MultistepOperation
* (test) subsequent request cancels the preceding one
2017-02-14 13:18:42 -08:00
Vladimir Matveev
de40000814
switch FileExtensionInfo to always mean .js file and deduplicate entries in getSupportedExtensions ( #14046 )
...
* - switch FileExtensionInfo to always mean .js file
- deduplicate entries in getSupportedExtensions
* (PR feedback): updated comment
2017-02-13 12:19:33 -08:00
Andy Hanson
91421c8dbc
Fix "semicolon" lint rule options (was not enabled)
2017-02-10 12:24:10 -08:00
Jason Ramsay
3480fcc69a
Always set allowNonTsExtensions for allowJs
2017-02-10 11:13:12 -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 Hanson
58cb9a7f08
Use "ts2.2" (or "ts2.3", etc.) NPM tag in typingsInstaller
2017-01-31 06:57:47 -08:00
Andy Hanson
16bdaaa0a6
Fix positionToLineOffset conversion for getImplementation
2017-01-25 12:53:39 -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
Andy Hanson
113338c791
Merge branch 'master' into map5
2017-01-12 12:35:00 -08:00
Andy Hanson
b98e82e5c4
Fix one more use of createMapFromTemplate
2017-01-12 12:25:00 -08:00
Andy Hanson
733111a931
Use tsconfig inheritance
2017-01-12 07:46:55 -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
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
8c5afd7f54
Merge branch 'master' into map5
2017-01-06 13:03:34 -08:00
Joel Day
3a9a136e51
Changes based on feedback.
...
Whitespace cleanup.
Switching back to protocol.ts and reenabling stripInternal.
Marking internal symbols indirectly exported by dependencies of protocol.ts as internal.
2017-01-04 15:56:16 -08:00
Joel Day
cf5508732a
Fix Gulp build of tsserverlibrary to match Jake.
2017-01-01 17:58:33 -08:00
Joel Day
8b44ce2fd7
Emitting tsserverlibrary as an external module.
2016-12-31 17:37:51 -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
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
zhengbli
a8a1a826b3
set the option when creating inferred projects
2016-12-28 08:15:21 -08:00