Commit Graph

967 Commits

Author SHA1 Message Date
Johannes Rieken
bc3b0defe0 use extensionUri and joinPath instead of asAbsolutePath 2020-08-28 14:57:20 +02:00
Alex Ross
0de8d51904 Finalize task detail API
Fixes #69785
2020-08-27 11:08:48 +02:00
Matt Bierner
64d126cafb Add new TSS_REMOTE_DEBUG flags that are only active in remote cases
Fixes https://github.com/microsoft/vscode-remote-release/issues/3546
2020-08-19 17:07:13 -07:00
Matt Bierner
f694b07825 Make sure we do not enable JS/TS language features on live share clients
For #104180
2020-08-18 16:48:16 -07:00
Duc Nghiem Xuan
63c711deef Don't include this function types in completeFunctionCalls (#104479) 2020-08-17 17:52:26 -07:00
Matt Bierner
650f7688f3 Add (loading...) prefix to hovers while TS Server is starting up
Fixes #104859
2020-08-17 17:48:26 -07:00
kieferrm
c17b4c2488 fix GDPR annotations 2020-08-12 00:47:16 +00:00
kieferrm
ce508a8214 fix GDPR annotation 2020-08-12 00:44:36 +00:00
Matt Bierner
b84660fa86 Add more specific checks for being on TS 4.0.1
Fixes #104456
2020-08-11 15:23:56 -07:00
Andrew Maust
2f61d0037c fixes #104059 (#104193)
Co-authored-by: Andrew Maust <69081050+Andrew884@users.noreply.github.com>
2020-08-10 20:46:14 -07:00
Matt Bierner
6d0ac47022 Fix RC version 2020-08-10 20:06:06 -07:00
Matt Bierner
a3e37dc103 Remove expect error 2020-08-10 14:33:10 -07:00
Matt Bierner
d21ff5b1c3 Remove expect error for TS 4.0 2020-08-10 14:31:25 -07:00
Matt Bierner
6dd0a9a64d Remove any casts 2020-08-10 13:36:19 -07:00
Daniel Rosenwasser
54a38a2ee9 Add check to ensure RC and forward use '--serverMode'. (#104123) 2020-08-05 15:26:59 -07:00
Matt Bierner
4193455a6f Observe the new createAutoImportProviderProgramDurationMs property added by TS 4.0
Adds this property to our completion telemetry
2020-08-05 12:28:44 -07:00
Matt Bierner
4430401028 Include server id in telemetry and in user issue reports
From https://github.com/microsoft/TypeScript/issues/39795#issuecomment-668250348
2020-08-03 16:03:34 -07:00
Matt Bierner
358cc674a7 Add more exclaimation points 2020-08-03 16:03:34 -07:00
Matt Bierner
0009a0b424 Fallback to bundled version if selected TS version is invalid
Fixes #103213

This restores some logic that we removed during the web refactoring
2020-08-03 15:08:28 -07:00
Matt Bierner
519ce367a3 Use asAbsolutePath instead of hardcoding path 2020-07-24 13:52:48 -07:00
Andrew Branch
2cf34eefdd [typescript-language-features] Add telemetry for package.json auto imports (#103126)
* Add telemetry for package.json auto imports

* Change data classification

* Use string, boolean is not allowed in TelemetryProperties
2020-07-22 15:59:51 -07:00
Andrew Branch
1c8662b8bf Add setting for package.json auto imports (#103037) 2020-07-22 15:28:22 -07:00
Matt Bierner
3f1206a355 Fix isWeb platform check
The new check should be safer
2020-07-22 14:52:38 -07:00
Matt Bierner
5b9fd525fa Minimize shipped tsserver
This takes the shipped size from 9Mb to 2.9mb
2020-07-22 14:52:38 -07:00
Matt Bierner
ba6576d343 Move project status into host 2020-07-22 14:02:38 -07:00
Matt Bierner
8d6b507dfb Fix build error
watch didn't pick up on the file rename
2020-07-22 12:12:21 -07:00
Matt Bierner
f9224c26cb Move command manager into commands folder 2020-07-22 11:31:08 -07:00
Matt Bierner
3b15049759 Rename files to mark them as browser or electron 2020-07-22 11:31:08 -07:00
Matt Bierner
c6ce8f26cc Move fork impl into serverProcess 2020-07-22 11:31:08 -07:00
Matt Bierner
2f10b23958 Move buffer sync support into server folder 2020-07-22 11:31:08 -07:00
Matt Bierner
0a7364f005 Use object parameter for services 2020-07-21 18:56:27 -07:00
Matt Bierner
feadf5183d Move code lens files into own directory 2020-07-21 17:19:47 -07:00
Matt Bierner
5dfb77c313 Move task provider into own folder 2020-07-21 17:15:20 -07:00
Matt Bierner
a4b0116978 Rename features -> langaugeFeatures 2020-07-21 17:12:19 -07:00
Matt Bierner
6649f4e296 Clean up extension activation 2020-07-21 17:06:24 -07:00
Matt Bierner
0bf4493b75 Don't send git resources to tsserver 2020-07-21 16:52:17 -07:00
Matt Bierner
21cd7c6001 Move some files into server 2020-07-21 16:47:54 -07:00
Matt Bierner
ae7254a2e9 Fixing some errors when loading workspace TS versions 2020-07-21 16:41:02 -07:00
Matt Bierner
23c4467ed3 Enable web TS Server (#102990)
This enables running the TS Server on web. This currently requires a special version of the TypeScript server
2020-07-21 16:13:52 -07:00
Matt Bierner
ec8606cb49 Make sure main process webview file resource loads stays on main process
We were checking the wrong uri
2020-07-21 14:02:28 -07:00
Matt Bierner
caa05dd6d5 Remove extra gating around selector
A registration should only need to if it targets all files, or just those on disk
2020-07-20 16:53:32 -07:00
Matt Bierner
3841f78377 Fix normalization of toResource for untitled resources 2020-07-20 16:36:58 -07:00
Matt Bierner
e41c195051 Work towards allowing enhanced syntax server commands to be run against any file
We currently restrict the TS server to working with a small set of file schemes. This is done because the TS server itself cannot read files from on of VS Code's virtual file system providers (and will crash if it tries to do so)

However we can enable single file commands for these other file schemes, so long as they are treated as in-memory files. This change works towards supporting that by changing when certain providers are enabled/disabled
2020-07-20 16:27:37 -07:00
Matt Bierner
8bf2ae16a0 Export RequestCancellerFactory implementations as constants 2020-07-20 16:27:37 -07:00
Matt Bierner
538ff07c71 Move logDirectoryProvide into server 2020-07-20 16:27:37 -07:00
Matt Bierner
90fbd0eb60 Extract cancellation.electron
This makes it possible to replace the cancellation logic for serverless
2020-07-20 16:27:37 -07:00
Matt Bierner
3b9db3df27 Extract NodeLogDirectoryProvider to electron specific file 2020-07-20 16:27:37 -07:00
Matt Bierner
00bd63c32c Move lazyClientHost to own file 2020-07-20 16:27:37 -07:00
Matt Bierner
c17905888c Extract onIsCaseInsenitiveFileSystem 2020-07-20 16:27:37 -07:00
Matt Bierner
00a0a77785 Cleaning up ts server logic
Getting ready to have worker based TS servers instead of ones that use a process

- Use standard error handler instead of having separate reader error
- Move all process based server logic into own file (`serverProcess`)
2020-07-16 16:05:20 -07:00