rokucommunity / rokucommunity/brighterscript
Migrate all plugin-related functionality into BscPlugin
@Christian-Holbrook is already working on this.
Since Aug 14, 2025.
- Dominant language
- TypeScript
- Stars
- 208
- Forks
- 68
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 39
Description
There are several items in brighterscript that are not currently contained within the BscPlugin that are part of the plugin system. Should apply to every plugin event possible, so we're fully utilizing the plugin system and enabling other plugins to do more advanced features.
For example, afterProgramCreate, once we add #1552 , should move the actual program construction into the BscPlugin itself. This would lend itself to allowing even more flexibility to the plugin system to provide the instance of the program itself (maybe for caching or subclassing).
Requirements:
- move every applicable plugin code into the BscPlugin instead of being hardcoded inside Program or Scope or wherever.
- enhance the plugin events to include the contributed features. For example, createProgram should have a .program prop that is set when a plugin creates the program (normally will be BscPlugin).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.