Skip to content
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

feat: add an allowlist and a blocklist for generators #1309

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

Cammisuli
Copy link
Member

@Cammisuli Cammisuli commented Jul 20, 2022

What it does

Adds new settings to enable filtering of the generator list within Nx Console.

These settings are "nxConsole.enableGeneratorFilters", "nxConsole.generatorAllowlist", "nxConsole.generatorBlocklist".

The allow and block lists can be combined, where the allow list takes priority, then the block list is applied to the remaining items.

Fixes #1272

@nx-cloud
Copy link

nx-cloud bot commented Jul 20, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 7de5ac6. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 3 targets

Sent with 💌 from NxCloud.

@Cammisuli Cammisuli changed the title feat: add an allowlist or blocklist for generators feat: add an allowlist and a blocklist for generators Jul 20, 2022
@Cammisuli Cammisuli enabled auto-merge (squash) July 20, 2022 17:09
@Cammisuli Cammisuli merged commit 86d0c35 into master Jul 20, 2022
@Cammisuli Cammisuli deleted the Cammisuli/issue1272 branch July 20, 2022 17:15
@jared-christensen
Copy link

Is there docs for this, I would like to use this.

@jmroon
Copy link

jmroon commented Nov 21, 2023

I would also like to use this. Is this only relevant to the vscode extension? Where do I set these settings?

@jared-christensen
Copy link

jared-christensen commented Nov 21, 2023

@jmroon I added them to my workspace settings. The settings are just for the extension.

settings_json_—_dice-web-platform_—_Dice_Web_Platform

Also here:
Settings_—_dice-web-platform_—_Dice_Web_Platform

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.

Add ability to exclude and/or include the list of generators available
3 participants