Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
radurentea committed Sep 25, 2024
1 parent 3537f40 commit f1688db
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
23 changes: 17 additions & 6 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3494,21 +3494,32 @@ export async function activate(context: vscode.ExtensionContext) {
);

// WALK-THROUGH
let disposable = vscode.commands.registerCommand('espIdf.openWalkthrough', () => {
vscode.commands.executeCommand('workbench.action.openWalkthrough', 'espressif.esp-idf-extension#espIdf.walkthrough.ui');
});
let disposable = vscode.commands.registerCommand(
"espIdf.openWalkthrough",
() => {
vscode.commands.executeCommand(
"workbench.action.openWalkthrough",
"espressif.esp-idf-extension#espIdf.walkthrough.ui"
);
}
);

context.subscriptions.push(disposable);

const hasWalkthroughBeenShown = await idfConf.readParameter("idf.hasWalkthroughBeenShown");
const hasWalkthroughBeenShown = await idfConf.readParameter(
"idf.hasWalkthroughBeenShown"
);

if (!hasWalkthroughBeenShown) {
await idfConf.writeParameter(
"idf.hasWalkthroughBeenShown",
true,
vscode.ConfigurationTarget.Global,
vscode.ConfigurationTarget.Global
);
vscode.commands.executeCommand(
"workbench.action.openWalkthrough",
"espressif.esp-idf-extension#espIdf.walkthrough.ui"
);
vscode.commands.executeCommand('workbench.action.openWalkthrough', 'espressif.esp-idf-extension#espIdf.walkthrough.ui');
}

// Hints Viewer
Expand Down
5 changes: 2 additions & 3 deletions walkthroughs/welcome.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
You'll learn about:

- ESP-IDF Explorer
- Quick access commands
- Project components view
Expand All @@ -8,6 +9,4 @@ You'll learn about:

> 💡**Note:** If you're new to ESP-IDF or need help with initial setup, we recommend our **[Start Basic Setup Walkthrough](command:espIdf.startBasicSetupWalkthrough)** first.


Let's begin exploring the UI elements!
Let's begin exploring the UI elements!

0 comments on commit f1688db

Please sign in to comment.