vscode extensions - How to create "Do you trust the authors" like modal in Visual Studio Code - Stack Overflow

admin2025-04-16  4

I'm sure you've seen this modal before in Visual Studio code. Does anyone know what API they are using to create this. I've given the docs a cursory inspection but can't seem to find any details on this type of modal.

I understand you can do something like this:

import * as vscode from 'vscode';

vscode.window.showInformationMessage(
  'Do you want to proceed?', 
  { modal: true }, // 
转载请注明原文地址:http://anycun.com/QandA/1744755725a87162.html