sander1095 / vscode-readme-auto-open

A VSCode plug-in that opens the README when you open a project for the first time, ensuring people read it
MIT License
0 stars 1 forks source link

Store hasSeenReadme in project (workspace folder) data, instead of workspace data #15

Open Ahrjen opened 3 days ago

Ahrjen commented 3 days ago

Currently, the hasSeenReadme is tracked for the active workspace. The active workspace can contain multiple projects (workspace folders). It might occur that a README is created later on in a project. If the project is already in the workspace, it will never be opened automatically, because the hasSeenReadme is stored on the workspace and not on the project.

Another benefit: if a project is opened individually and not from within the workspace, we know that the readme has already been viewed, so no need to show it again.