| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:172c69d4-fe9b-56fa-e341-47674fc0dcc7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 93FC:610AA:1B4AB6:264DC6:6AFDBC14 |
| html-safe-nonce | acc988a49d69d2687deb5e19e46e7164fad60886445397bef6cb52438915d4b7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0ZDOjYxMEFBOjFCNEFCNjoyNjREQzY6NkFGREJDMTQiLCJ2aXNpdG9yX2lkIjoiMjQzNjI0OTc5NzM0NzA5NzYyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | eabe16d9f942f1117e47f9f46c93b90776b7590b154f35a7bcb2bbd94793d2ce |
| hovercard-subject-tag | pull_request:1705142658 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PowerShell/PowerShell/pull/21171/files |
| twitter:image | https://avatars.githubusercontent.com/u/42123497?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/42123497?s=400&v=4 |
| og:image:alt | PR Summary
Adds completion for language keywords like "switch", "break", etc.
I originally thought this would take a lot of effort, but I thought of a simple solution of simply ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8309f07eb60a4237a657068c83d0bb57be4c7e02937f5e9933126f4bd596aac4 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2f7154d847f1ddc5baa83b109a3e1d924605e2a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/21171/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F21171%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F21171%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/21171/files |
| Reload | https://github.com/PowerShell/PowerShell/pull/21171/files |
| Reload | https://github.com/PowerShell/PowerShell/pull/21171/files |
| PowerShell | https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
| Code | https://github.com/PowerShell/PowerShell |
| Issues1.3k (1.3k) | https://github.com/PowerShell/PowerShell/issues |
| Pull requests366 (366) | https://github.com/PowerShell/PowerShell/pulls |
| Discussions | https://github.com/PowerShell/PowerShell/discussions |
| Actions | https://github.com/PowerShell/PowerShell/actions |
| Projects | https://github.com/PowerShell/PowerShell/projects |
| Security and quality3 (3) | https://github.com/PowerShell/PowerShell/security |
| Insights | https://github.com/PowerShell/PowerShell/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FPowerShell%2FPowerShell%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FPowerShell%2FPowerShell%2Fissues%2Fnew%2Fchoose |
| MartinGC94 | https://github.com/MartinGC94 |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| MartinGC94:KeywordCompletions | https://github.com/MartinGC94/PowerShell/tree/KeywordCompletions |
|
Conversation
14
| https://github.com/PowerShell/PowerShell/pull/21171 |
|
Commits
13
| https://github.com/PowerShell/PowerShell/pull/21171/commits |
|
Checks
0
| https://github.com/PowerShell/PowerShell/pull/21171/checks |
|
Files changed
| https://github.com/PowerShell/PowerShell/pull/21171/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/21171/files |
|
Add completion for keywords
| https://github.com/PowerShell/PowerShell/pull/21171/files#top |
|
Show all changes
13 commits
| https://github.com/PowerShell/PowerShell/pull/21171/files |
|
caa5434
Add keyword completions
MartinGC94 Feb 1, 2024
| https://github.com/PowerShell/PowerShell/pull/21171/commits/caa5434a7ddabd45610b14dc85f72d11c43c9632 |
|
4c2eda9
Fix tests
MartinGC94 Feb 2, 2024
| https://github.com/PowerShell/PowerShell/pull/21171/commits/4c2eda908b5aa8d7e35d64bc53b9f68f70bd63dc |
|
f9f8a2d
Refine some of the completions, add comments and add completion for t…
MartinGC94 Feb 2, 2024
| https://github.com/PowerShell/PowerShell/pull/21171/commits/f9f8a2ddf919c5b4bce231274348702a81f87ffb |
|
f3f676d
Remove interfering file completion fallback.
MartinGC94 Feb 2, 2024
| https://github.com/PowerShell/PowerShell/pull/21171/commits/f3f676d4936ff23a7ff543de900ad139cacd290c |
|
0ecf5c4
Fix missing tooltip for DynamicParam
MartinGC94 Feb 2, 2024
| https://github.com/PowerShell/PowerShell/pull/21171/commits/0ecf5c46ddc68356ae8ef8be2bb0655b8a43023c |
|
eac2a85
Update tooltips
MartinGC94 Feb 4, 2024
| https://github.com/PowerShell/PowerShell/pull/21171/commits/eac2a856f7ad5b95afcb18b55bcab8645f2832f4 |
|
2b40636
Fix various scenarios where completion did not work as expected
MartinGC94 Feb 4, 2024
| https://github.com/PowerShell/PowerShell/pull/21171/commits/2b4063642bcba8aa8ff712329b9c37c3a86e3d3b |
|
5a4f955
Add tests
MartinGC94 Feb 4, 2024
| https://github.com/PowerShell/PowerShell/pull/21171/commits/5a4f955276f3bb79b3ddb2dadfa08ea91cb400dc |
|
fe317ca
Fix usingstatement issue
MartinGC94 Feb 4, 2024
| https://github.com/PowerShell/PowerShell/pull/21171/commits/fe317cae0eff4368caa9a053353cb7038bc726a7 |
|
39d1205
Remove unused code
MartinGC94 Feb 6, 2024
| https://github.com/PowerShell/PowerShell/pull/21171/commits/39d1205c5dd59f752b510ce25f38dec817844194 |
|
7e60a33
Rework the Ast analysis to be more robust with and without partial input
MartinGC94 Feb 6, 2024
| https://github.com/PowerShell/PowerShell/pull/21171/commits/7e60a3301c0ead835b9b715e2ba9f09656e0c518 |
|
9ebc8f9
Merge branch 'PowerShell:master' into KeywordCompletions
MartinGC94 Feb 10, 2024
| https://github.com/PowerShell/PowerShell/pull/21171/commits/9ebc8f9085e6e076d92ea2839a96d13178e2add1 |
|
c839e76
Merge branch 'master' into KeywordCompletions
MartinGC94 Mar 29, 2025
| https://github.com/PowerShell/PowerShell/pull/21171/commits/c839e76391336666b992180c0fa7cb3eb0e9a0df |
|
Clear filters
| https://github.com/PowerShell/PowerShell/pull/21171/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/21171/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/21171/files |
|
CommandCompletion.cs
| https://github.com/PowerShell/PowerShell/pull/21171/files#diff-07606c37aff28d1928efbcb94e2237bc4c09d46052c02b2db3974374415982c3 |
|
CompletionAnalysis.cs
| https://github.com/PowerShell/PowerShell/pull/21171/files#diff-ffbeef87d28b0436caa6723bb6af38f1cb73e6b3368724b9c7fe6c9b40db5f4b |
|
CompletionCompleters.cs
| https://github.com/PowerShell/PowerShell/pull/21171/files#diff-a9d279ca59037e4fccfc4a0a6f23c87c5555b78dead860918c91168055d57933 |
|
TabCompletionStrings.resx
| https://github.com/PowerShell/PowerShell/pull/21171/files#diff-43289974135096a98834e97e76f1b66b2ca5d37bb6a47a61f5c7d840a09d9eda |
|
TabCompletion.Tests.ps1
| https://github.com/PowerShell/PowerShell/pull/21171/files#diff-393e1fa171a673ad5e5c3c1f3700ad03d32d46031ffcf72e4eaac1a7c7c46579 |
|
| https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7 |
| src/System.Management.Automation/engine/CommandCompletion/CommandCompletion.cs | https://github.com/PowerShell/PowerShell/pull/21171/files#diff-07606c37aff28d1928efbcb94e2237bc4c09d46052c02b2db3974374415982c3 |
|
View file
| https://github.com/PowerShell/PowerShell/blob/c839e76391336666b992180c0fa7cb3eb0e9a0df/src/System.Management.Automation/engine/CommandCompletion/CommandCompletion.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/21171/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PowerShell/pull/21171/files#diff-07606c37aff28d1928efbcb94e2237bc4c09d46052c02b2db3974374415982c3 |
|
| https://github.com/PowerShell/PowerShell/pull/21171/files#diff-07606c37aff28d1928efbcb94e2237bc4c09d46052c02b2db3974374415982c3 |
|
| https://github.com/PowerShell/PowerShell/pull/21171/files#diff-07606c37aff28d1928efbcb94e2237bc4c09d46052c02b2db3974374415982c3 |
|
| https://github.com/PowerShell/PowerShell/pull/21171/files#diff-07606c37aff28d1928efbcb94e2237bc4c09d46052c02b2db3974374415982c3 |
|
| https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7 |
| src/System.Management.Automation/engine/CommandCompletion/CompletionAnalysis.cs | https://github.com/PowerShell/PowerShell/pull/21171/files#diff-ffbeef87d28b0436caa6723bb6af38f1cb73e6b3368724b9c7fe6c9b40db5f4b |
|
View file
| https://github.com/PowerShell/PowerShell/blob/c839e76391336666b992180c0fa7cb3eb0e9a0df/src/System.Management.Automation/engine/CommandCompletion/CompletionAnalysis.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/21171/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PowerShell/pull/21171/files#diff-ffbeef87d28b0436caa6723bb6af38f1cb73e6b3368724b9c7fe6c9b40db5f4b |
|
| https://github.com/PowerShell/PowerShell/pull/21171/files#diff-ffbeef87d28b0436caa6723bb6af38f1cb73e6b3368724b9c7fe6c9b40db5f4b |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/21171/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |