mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-05-24 19:59:36 +00:00
Failed vscode wip
This commit is contained in:
16
platform-specific/vscode/extension.js
Normal file
16
platform-specific/vscode/extension.js
Normal file
@@ -0,0 +1,16 @@
|
||||
// The module 'vscode' contains the VS Code extensibility API
|
||||
const vscode = require("vscode");
|
||||
|
||||
module.exports = {
|
||||
activate,
|
||||
deactivate,
|
||||
};
|
||||
|
||||
function activate(context) {
|
||||
console.log("Loading Pocket Bird...");
|
||||
__CODE__
|
||||
console.log("Pocket Bird loaded!");
|
||||
}
|
||||
|
||||
function deactivate() {}
|
||||
|
||||
5
platform-specific/vscode/inject.sh
Normal file
5
platform-specific/vscode/inject.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
# my-vscode
|
||||
export NODE_OPTIONS="--require /Users/idrees/Documents/Programs/JavaScript/Birb/platform-specific/vscode/patch.js"
|
||||
"/Applications/Visual Studio Code.app/Contents/MacOS/Electron" \
|
||||
"$@"
|
||||
21
platform-specific/vscode/package.json
Normal file
21
platform-specific/vscode/package.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "pocket-bird",
|
||||
"version": "__VERSION__",
|
||||
"engines": {
|
||||
"vscode": "^1.32.0"
|
||||
},
|
||||
"activationEvents": [
|
||||
"onStartupFinished"
|
||||
],
|
||||
"main": "extension.js",
|
||||
"contributes": {
|
||||
"commands": [
|
||||
{
|
||||
"command": "pocket-bird.helloWorld",
|
||||
"title": "Hello World",
|
||||
"category": "Example"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
1
platform-specific/vscode/patch.js
Normal file
1
platform-specific/vscode/patch.js
Normal file
@@ -0,0 +1 @@
|
||||
console.log("Birb patch for VSCode loaded.");
|
||||
Reference in New Issue
Block a user