-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Labels
bugSomething isn't workingSomething isn't workingextensionIssus related to TutorialKit VS Code extensionIssus related to TutorialKit VS Code extension
Description
Describe the bug
When TutorialKit extension is active, it seems to work on all files with frontmatter, even if it's not a tutorialkit project (e.g. an Astro blog), leading to false warnings and autocompletions:
Link to a StackBlitz project which shows the error
No response
Steps to reproduce
- Create a new folder, with a markdown file inside
- Open the folder in vscode with the tutorialkit extension active
- Add some frontmatter into the markdown file
---
slug: 1
---
Hello
- See tutorialkit-relevant warnings

Expected behavior
The warnings and completions should not appear in the non-tutorialkit projects.
Screenshots
No response
Platform
- TutorialKit extension version: 0.1.1
- Visual Studio Code version: 1.92.0
Additional context
Looks like the isTutorialKitWorkspace
(in extensions/vscode/src/utils/isTutorialKit.ts
) function might be handy here:)
Nemikolh
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingextensionIssus related to TutorialKit VS Code extensionIssus related to TutorialKit VS Code extension