Skip to content

Conversation

@ArmaanMcleod
Copy link
Contributor

@ArmaanMcleod ArmaanMcleod commented Mar 7, 2025

PR Summary

Moved common completion methods from CompletionCompleters to CompletionHelpers class.

Methods:

  • GetMatchingResults
  • HandleDoubleAndSingleQuote
  • CompletionRequiresQuotes

Also changed all the parts of the code which use these methods to reference the helpers static class.

PR Context

These methods can then be used in a public API.

PR Checklist

@ArmaanMcleod
Copy link
Contributor Author

@iSazonov So just moved code and included the quote method. Is this acceptable to get merged?

@iSazonov
Copy link
Collaborator

iSazonov commented Mar 7, 2025

Since QuoteCompletionText is new method it should be in another PR with tests.

@ArmaanMcleod
Copy link
Contributor Author

Since QuoteCompletionText is new method it should be in another PR with tests.

@iSazonov done. I will add that method in a separate PR after this new class is merged 🙂

@iSazonov iSazonov added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Mar 8, 2025
@iSazonov

This comment was marked as outdated.

@azure-pipelines

This comment was marked as outdated.

@iSazonov iSazonov self-assigned this Mar 8, 2025
@iSazonov iSazonov merged commit ca96c2c into PowerShell:master Mar 10, 2025
39 of 41 checks passed
@microsoft-github-policy-service
Copy link
Contributor

microsoft-github-policy-service bot commented Mar 10, 2025

📣 Hey @ArmaanMcleod, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

SIRMARGIN pushed a commit to SIRMARGIN/PowerShell that referenced this pull request Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants