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 @@ -370,6 +370,14 @@ export async function setupZig(context: vscode.ExtensionContext) {
370370 {
371371 // This check can be removed once enough time has passed so that most users switched to the new value
372372
373+ // remove the `zig_install` directory from the global storage
374+ try {
375+ await vscode . workspace . fs . delete ( vscode . Uri . joinPath ( context . globalStorageUri , "zig_install" ) , {
376+ recursive : true ,
377+ useTrash : false ,
378+ } ) ;
379+ } catch { }
380+
373381 // remove a `zig.path` that points to the global storage.
374382 const zigConfig = vscode . workspace . getConfiguration ( "zig" ) ;
375383 const zigPath = zigConfig . get < string > ( "path" , "" ) ;
Original file line number Diff line number Diff line change @@ -379,6 +379,14 @@ export async function activate(context: vscode.ExtensionContext) {
379379 {
380380 // This check can be removed once enough time has passed so that most users switched to the new value
381381
382+ // remove the `zls_install` directory from the global storage
383+ try {
384+ await vscode . workspace . fs . delete ( vscode . Uri . joinPath ( context . globalStorageUri , "zls_install" ) , {
385+ recursive : true ,
386+ useTrash : false ,
387+ } ) ;
388+ } catch { }
389+
382390 // convert a `zig.zls.path` that points to the global storage to `zig.zls.enabled == "on"`
383391 const zlsConfig = vscode . workspace . getConfiguration ( "zig.zls" ) ;
384392 const zlsPath = zlsConfig . get < string > ( "path" , "" ) ;
You can’t perform that action at this time.
0 commit comments