Skip to content

Commit

Permalink
v0.3 - AppExplorer: Connect
Browse files Browse the repository at this point in the history
  • Loading branch information
AsaAyers committed Oct 23, 2023
1 parent 993cc5b commit bbf5074
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "app-explorer",
"displayName": "app-explorer",
"description": "Helps build documentation while navigating through code",
"version": "0.0.2",
"version": "0.0.3",
"repository": "https://github.com/dropbox/AppExplorer",
"engines": {
"vscode": "^1.80.0"
Expand All @@ -17,6 +17,10 @@
{
"command": "app-explorer.createCard",
"title": "AppExplorer: Create Card"
},
{
"command": "app-explorer.connect",
"title": "AppExplorer: Connect"
}
]
},
Expand Down
9 changes: 9 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,15 @@ export function activate(context: vscode.ExtensionContext) {
sockets,
};
const io = makeExpressServer(cardsInEditor, handlerContext);
context.subscriptions.push(
vscode.commands.registerCommand("app-explorer.connect", () => {
// This command doesn't really need to do anything. By activating the
// extension it will launch the webserver.
//
// This is useful for connecting the board for navigation purposes
// instead of creating new cards.
})
);

context.subscriptions.push(
vscode.commands.registerCommand(
Expand Down

0 comments on commit bbf5074

Please sign in to comment.