rokucommunity / rokucommunity/brighterscript

Migrate all plugin-related functionality into BscPlugin

Open
#1,553 0 comments 0 reactions 1 assignee View on GitHub

@Christian-Holbrook is already working on this.

Since Aug 14, 2025.

Breaking Change
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.