Skip to content

feat: add preview features toggle - #181

Open
maxandersen wants to merge 1 commit into
jbangdev:mainfrom
maxandersen:preview-features
Open

maxandersen wants to merge 1 commit into
jbangdev:mainfrom
maxandersen:preview-features

Conversation

@maxandersen

Copy link
Copy Markdown
Contributor

Adds a JBang setting that enables preview features by injecting --preview into plugin CLI invocations and Run/Debug launches.

What

  • New JBangSettings.previewFeatures flag + checkbox in JBang settings.
  • JBangCli.withPreview(command, enabled) helper inserts --preview right after the executable; applied globally in exec() and threaded through template list/lookup/init builders.
  • Run and Debug command/shell builders honor the setting.
  • New JBang Script dialog passes the setting to template commands.

Tests

  • Added coverage in JBangCliParsingTest, JBangDebugTest, JBangRunConfigTest, JBangConfigurableTest, JBangSettingsTest.

Changelog

  • [Unreleased] Added entry.

Add a JBang setting that enables preview features, injecting --preview into
plugin CLI invocations and Run/Debug launches.
@coderabbitai

coderabbitai Bot commented Sep 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • ai-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 7f807f95-4f4f-46c7-b2ac-19df421660ff

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant