-
Notifications
You must be signed in to change notification settings - Fork 0
create triggerFile autorun commands #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces an autorun feature that allows commands to be automatically executed when VS Code starts up or when a trigger file is created/modified. Users can place a .vscode/.fastedge-run-command file containing a command name (or JSON with command and args) to trigger automatic execution of allowlisted FastEdge commands.
Changes:
- Added trigger file handler for auto-executing commands from
.vscode/.fastedge-run-commandfiles - Changed activation event from
onDebugtoonStartupFinishedto enable autorun functionality on startup - Version bump from 0.1.8 to 0.1.12
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 10 comments.
| File | Description |
|---|---|
src/extension.ts |
Integrates the trigger file handler initialization into the extension activation |
src/autorun/triggerFileHandler.ts |
Implements the complete trigger file watching and command execution logic with security allowlist |
src/autorun/index.ts |
Exports the trigger file handler initialization function |
package.json |
Updates version and changes activation event to enable startup-time initialization |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
8b61ce8 to
fbcb174
Compare
7239542 to
53fab3e
Compare
Adds auto-run capability to our extension for use in workspaces setup and future AI Agent interaction for debugging