This repository was archived by the owner on Nov 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -389,6 +389,14 @@ export async function setupZig(context: vscode.ExtensionContext) {
389389 {
390390 // This check can be removed once enough time has passed so that most users switched to the new value
391391
392+ // remove the `zig_install` directory from the global storage
393+ try {
394+ await vscode . workspace . fs . delete ( vscode . Uri . joinPath ( context . globalStorageUri , "zig_install" ) , {
395+ recursive : true ,
396+ useTrash : false ,
397+ } ) ;
398+ } catch { }
399+
392400 // remove a `zig.path` that points to the global storage.
393401 const configuration = vscode . workspace . getConfiguration ( "zig" ) ;
394402 const zigPath = configuration . get < string > ( "path" , "" ) ;
Original file line number Diff line number Diff line change @@ -375,6 +375,14 @@ export async function activate(context: vscode.ExtensionContext) {
375375 {
376376 // This check can be removed once enough time has passed so that most users switched to the new value
377377
378+ // remove the `zls_install` directory from the global storage
379+ try {
380+ await vscode . workspace . fs . delete ( vscode . Uri . joinPath ( context . globalStorageUri , "zls_install" ) , {
381+ recursive : true ,
382+ useTrash : false ,
383+ } ) ;
384+ } catch { }
385+
378386 // convert a `zig.zls.path` that points to the global storage to `zig.zls.enabled == true`
379387 const zlsConfig = vscode . workspace . getConfiguration ( "zig.zls" ) ;
380388 if ( zlsConfig . get < boolean | null > ( "enabled" , null ) === null ) {
You can’t perform that action at this time.
0 commit comments