1 Star 0 Fork 21

TechLib / vscode_Chinese_Input_Assistant

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
插件.js 1.37 KB
一键复制 编辑 原始数据 按行查看 历史
hbybyyang 提交于 2020-06-26 23:00 . 加入editorconfig,格式化
// 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');
// const util = require('./util');
// 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) {
// Use the console to output diagnostic information (console.log) and errors (console.error)
// This line of code will only be executed once when your extension is activated
console.log('恭喜,插件已激活');
require('./补全实现')(context);
// The command has been defined in the package.json file
// Now provide the implementation of the command with registerCommand
// The commandId parameter must match the command field in package.json
let disposable = vscode.commands.registerCommand('插件命令', function () {
// The code you place here will be executed every time your command is executed
// Display a message box to the user
vscode.window.showInformationMessage('');
});
context.subscriptions.push(disposable);
}
exports.activate = activate;
// this method is called when your extension is deactivated
function deactivate() { }
module.exports = {
activate,
deactivate
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/TechLib/vscode_Chinese_Input_Assistant.git
git@gitee.com:TechLib/vscode_Chinese_Input_Assistant.git
TechLib
vscode_Chinese_Input_Assistant
vscode_Chinese_Input_Assistant
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891