[Lldb-commits] [lldb] f715124 - [lldb-dap] Fix the vscode-uninstall command

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 3 11:03:34 PST 2024


Author: Jonas Devlieghere
Date: 2024-12-03T11:03:28-08:00
New Revision: f7151248579330df8ea68003f60b778149e0f262

URL: https://github.com/llvm/llvm-project/commit/f7151248579330df8ea68003f60b778149e0f262
DIFF: https://github.com/llvm/llvm-project/commit/f7151248579330df8ea68003f60b778149e0f262.diff

LOG: [lldb-dap] Fix the vscode-uninstall command

The command was using the wrong publisher name ("llvm" rather than
"llvm-vs-code-extensions") resulting in the command complaining:

```
npm run vscode-uninstall

> lldb-dap at 0.2.6 vscode-uninstall
> code --uninstall-extension llvm.lldb-dap

Extension 'llvm.lldb-dap' is not installed.
Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp
```

Added: 
    

Modified: 
    lldb/tools/lldb-dap/package.json

Removed: 
    


################################################################################
diff  --git a/lldb/tools/lldb-dap/package.json b/lldb/tools/lldb-dap/package.json
index 9155163c65ba5c..5e9a7de9109ec8 100644
--- a/lldb/tools/lldb-dap/package.json
+++ b/lldb/tools/lldb-dap/package.json
@@ -44,7 +44,7 @@
     "format": "npx prettier './src-ts/' --write",
     "package": "vsce package --out ./out/lldb-dap.vsix",
     "publish": "vsce publish",
-    "vscode-uninstall": "code --uninstall-extension llvm.lldb-dap",
+    "vscode-uninstall": "code --uninstall-extension llvm-vs-code-extensions.lldb-dap",
     "vscode-install": "code --install-extension ./out/lldb-dap.vsix"
   },
   "contributes": {
@@ -513,4 +513,4 @@
       }
     ]
   }
-}
\ No newline at end of file
+}


        


More information about the lldb-commits mailing list