-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.js
21 lines (19 loc) · 852 Bytes
/
extension.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
let vscode = require('vscode');
let MumpsHoverProvider = require('./mumps-hover-provider').MumpsHoverProvider;
let MumpsDefinitionProvider = require('./mumps-definition-provider').MumpsDefinitionProvider;
let MumpsSignatureHelpProvider = require('./mumps-signature-help-provider').MumpsSignatureHelpProvider;
function activate(context) {
context.subscriptions.push(
vscode.languages.registerHoverProvider(
'mumps', new MumpsHoverProvider()));
context.subscriptions.push(
vscode.languages.registerDefinitionProvider(
'mumps', new MumpsDefinitionProvider()));
context.subscriptions.push(
vscode.languages.registerSignatureHelpProvider(
'mumps', new MumpsSignatureHelpProvider(), '(', ','));
}
exports.activate = activate;
function deactivate() {
}
exports.deactivate = deactivate;