Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,20 @@ async function launchLanguageServer(
}),
);

// perform a compilation and return the output (used to export to other VSCode extensions)
// Error handling / user-facing error messaging handled by the caller
context.subscriptions.push(
vscode.commands.registerCommand("yarnspinner.exportWorkspace", () => {
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't also add this to the commands list in package.json, since there's not really any useful user facing output from this command.

let compileResult: Promise<YarnData | null> =
compileWorkspace(client);

return compileResult
.then((result) => {
return result;
});
}),
);

// ask the LSP to make a graph file and then save that
// recording strings extraction command
context.subscriptions.push(
Expand Down