Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 21 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import * as vscode from 'vscode'; |
||
2 | import fatumCommands from './commands/fatum'; |
||
3 | import logger from './logger'; |
||
4 | |||
5 | const MESSAGES = { |
||
6 | 'ACTIVATION' : 'Extension activated' |
||
7 | }; |
||
8 | |||
9 | export function activate(context: vscode.ExtensionContext) { |
||
10 | logger.info(MESSAGES.ACTIVATION); |
||
11 | |||
12 | context.subscriptions.push( |
||
13 | ...fatumCommands.map( |
||
14 | command => |
||
15 | vscode.commands.registerCommand(command.id, command.handler) |
||
16 | ) |
||
17 | ); |
||
18 | } |
||
19 | |||
20 | export function deactivate() {} |
||
21 |