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

Open file in preview mode if it is markdown #22

Closed sander1095 closed 12 hours ago

sander1095 commented 12 hours ago

This pull request enhances the functionality of the activate function in src/extension.ts to provide a better user experience when opening the README file. The most important changes include adding a check to open the README in preview mode if it is a markdown file and handling errors gracefully if the preview mode fails.

Improvements to README auto-open functionality:

Resolves #7

sander1095 commented 12 hours ago

Based on #13