mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-22 09:29:38 +00:00
android-dev-ext initial commit
This commit is contained in:
31
extension.js
Normal file
31
extension.js
Normal file
@@ -0,0 +1,31 @@
|
||||
// The module 'vscode' contains the VS Code extensibility API
|
||||
// Import the module and reference it with the alias vscode in your code below
|
||||
var vscode = require('vscode');
|
||||
|
||||
// this method is called when your extension is activated
|
||||
// your extension is activated the very first time the command is executed
|
||||
function activate(context) {
|
||||
|
||||
/* Nothing is done here. The debugger is launched from debugMain.js */
|
||||
|
||||
// The commandId parameter must match the command field in package.json
|
||||
var disposables = [
|
||||
/*
|
||||
vscode.commands.registerCommand('extension.doCommand', config => {
|
||||
return vscode.window.showInputBox({
|
||||
placeHolder: "Enter a value",
|
||||
value: "a value to display"
|
||||
});
|
||||
})
|
||||
*/
|
||||
];
|
||||
|
||||
var spliceparams = [context.subscriptions.length,0].concat(disposables);
|
||||
Array.prototype.splice.apply(context.subscriptions,spliceparams);
|
||||
}
|
||||
exports.activate = activate;
|
||||
|
||||
// this method is called when your extension is deactivated
|
||||
function deactivate() {
|
||||
}
|
||||
exports.deactivate = deactivate;
|
||||
Reference in New Issue
Block a user