This pull request includes changes to improve the functionality and activation of the readme-auto-open extension. The key changes involve modifying the activation events and enhancing the logic to automatically open the readme.md file if it exists in the workspace.
Improvements to extension activation:
package.json: Added an activation event to trigger the extension when a readme.md file is detected in the workspace. Removed the predefined command from the commands section.
Enhancements to extension functionality:
src/extension.ts: Simplified the activation log message and added logic to check for the existence of readme.md files in various capitalizations. If a readme.md file is found, it is opened automatically, and a flag is set to indicate that the user has seen the readme.
This pull request includes changes to improve the functionality and activation of the
readme-auto-open
extension. The key changes involve modifying the activation events and enhancing the logic to automatically open thereadme.md
file if it exists in the workspace.Improvements to extension activation:
package.json
: Added an activation event to trigger the extension when areadme.md
file is detected in the workspace. Removed the predefined command from thecommands
section.Enhancements to extension functionality:
src/extension.ts
: Simplified the activation log message and added logic to check for the existence ofreadme.md
files in various capitalizations. If areadme.md
file is found, it is opened automatically, and a flag is set to indicate that the user has seen the readme.Resolves #5