1 Star 0 Fork 0

zqw77/buildhint

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
extension.js 840 Bytes
一键复制 编辑 原始数据 按行查看 历史
zqw77 提交于 2022-01-29 10:32 . 优化提示方式
// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
const vscode = require('vscode');
// this method is called when your extension is activated
// your extension is activated the very first time the command is executed
/**
* @param {vscode.ExtensionContext} context
*/
function activate(context) {
console.log('插件工作了')
vscode.workspace.workspaceFolders.forEach(x=>{
console.log(x.uri.fsPath)
if(x.uri.fsPath.includes('build')){
// vscode.window.showInformationMessage('发行版!');
vscode.window.setStatusBarMessage('这是发行版');
console.log('发行版!!')
// break;
}
})
}
// this method is called when your extension is deactivated
function deactivate() {}
module.exports = {
activate,
deactivate
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zqw77/buildhint.git
git@gitee.com:zqw77/buildhint.git
zqw77
buildhint
buildhint
master

搜索帮助