diff --git a/src/commands.ts b/src/commands.ts index ddf56bd..7b77b4c 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -83,12 +83,43 @@ function resetEditorScale(): void { function openWebview(): void { //vscode.commands.executeCommand('workbench.action.zoomOut'); - vscode.window.createWebviewPanel( - 'catCoding', // Identifies the type of the webview. Used internally - 'Cat Coding', // Title of the panel displayed to the user + const panel = vscode.window.createWebviewPanel( + 'mindReader', // Identifies the type of the webview. Used internally + 'Mind Reader', // Title of the panel displayed to the user vscode.ViewColumn.One, // Editor column to show the new webview panel in. {} ); // Webview options. More on these later. + + panel.webview.html = getWebviewContent(); +} + +function getWebviewContent() { + return ` + + + + + Mind Reader + + + +

+

Welcome to Mind_Reader!

+

+

We are the Single Semester Snobs and this is our Tool to Help Blind Students Program Lego Mindstorms Robots in Python.

+

This tool includes features such as a hotkey that says how many spaces in the text starts, an Accessibility Pane,

+

Audio Alerts, and an advanced settings window. The tool has hotkeys for both PC and Mac commands.

+

This system is intended for everyone, but primarily for students K-12 who are visually impaired.

+

Our goal is to provide an enhanced experience for students who are visually impaired that is transparent to sighted students.

+

This allows for everyone to use the same software solution, whether or not they are vision impaired.

+

+

This is the Lego Spike Prime! +

+ +

+ Get the robot! + + `; } export default commands;