-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.js
35 lines (32 loc) · 889 Bytes
/
extension.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
const vscode = require("vscode");
const r = require("./src/paste-r.js");
const py = require("./src/paste-python.js");
const jl = require("./src/paste-julia.js");
const js = require("./src/paste-js.js");
const def = require("./src/paste-default.js");
function activate(context) {
context.subscriptions.push(
vscode.commands.registerCommand(
"pastum.Rdataframe",
r.clipboardToRDataFrame
),
vscode.commands.registerCommand(
"pastum.Pydataframe",
py.clipboardToPyDataFrame
),
vscode.commands.registerCommand(
"pastum.Jldataframe",
jl.clipboardToJuliaDataFrame
),
vscode.commands.registerCommand(
"pastum.JSdataframe",
js.clipboardToJSDataFrame
),
vscode.commands.registerCommand("pastum.Defaultdataframe", def.pasteDefault)
);
}
function deactivate() {}
module.exports = {
activate,
deactivate,
};