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

move builtin terminal quick fixes to contribution model #164099

Merged
merged 30 commits into from
Oct 24, 2022

Conversation

meganrogge
Copy link
Contributor

@meganrogge meganrogge commented Oct 20, 2022

fixes #162950
fixes #163965

@meganrogge meganrogge self-assigned this Oct 20, 2022
@meganrogge meganrogge requested a review from Tyriar October 20, 2022 02:47
@meganrogge meganrogge added this to the October 2022 milestone Oct 20, 2022
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we were moving towards contributions with regexes/capture groups in package.json to help prevent perf problems?

@meganrogge
Copy link
Contributor Author

I thought we were moving towards contributions with regexes/capture groups in package.json to help prevent perf problems?

Yes I had forgotten, but that seems better

@meganrogge meganrogge requested a review from Tyriar October 20, 2022 19:04
@meganrogge meganrogge changed the title proposed API for terminal quick fix providers enable terminal quick fix contributions Oct 20, 2022
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to bring this to the API sync at least once before shipping it/announcing it in release notes. It could radically changes after discussing it and we don't want to waste people's time. How about we disable the extension contribution part and move the built-in ones over to the capture group system so we can essentially test the implementation of it this iteration?

@meganrogge meganrogge changed the title enable terminal quick fix contributions move builtin terminal quick fixes to contribution model Oct 24, 2022
Tyriar
Tyriar previously approved these changes Oct 24, 2022
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

rebornix
rebornix previously approved these changes Oct 24, 2022
@meganrogge meganrogge enabled auto-merge (squash) October 24, 2022 23:09
const actions: TerminalQuickFixAction[] = [];
let fixedCommand = commandToRun;
for (const [key, value] of Object.entries(groups)) {
const varToResolve = '${group:' + `${key}` + '}';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can probably do '${group:' + key + '}' since key is already a string?

@meganrogge meganrogge merged commit ecb3421 into main Oct 24, 2022
@meganrogge meganrogge deleted the merogge/provider-quick-fix branch October 24, 2022 23:53
formigoni pushed a commit to formigoni/vscode that referenced this pull request Oct 27, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terminal quick fix API server command not sent to terminal upon freeing of port
6 participants