最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin0浏览0评论

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 }, // 

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论