Dongbo Wang
592668bd0b
Refactor the module path construction code to make it more robust and easier to maintain ( #26565 )
2025-12-12 09:43:08 -08:00
Yoshifumi
01e36432fc
Add tab completion for $PSBoundParameters.Keys switch cases and access patterns ( #26483 )
2025-11-26 11:48:53 +05:00
Dongbo Wang
38f9885173
Fix a regression in the API CompletionCompleters.CompleteFilename() that causes null reference exception ( #26291 )
2025-10-23 16:19:55 -07:00
xtqqczze
d581baabd4
Check for GetWindowPlacement success ( #26122 )
2025-10-09 15:41:08 +05:00
Andy Jordan
3aa49cca9b
Remove IsScreenReaderActive() check from ConsoleHost ( #26118 )
2025-09-30 12:18:52 -07:00
Dongbo Wang
3cfa4b2469
Mark the 3 consistently failing tests as pending to unblock PRs ( #26091 )
2025-09-30 11:44:27 -07:00
Dongbo Wang
53805fb426
Add the parameter Register-ArgumentCompleter -NativeFallback to support registering a cover-all completer for native commands ( #25230 )
2025-08-29 15:50:02 -07:00
Steve Lee and Patrick Meinecke
16aeaba68f
Fix stderr output of console host to respect NO_COLOR ( #24391 )
...
Co-authored-by: Patrick Meinecke <SeeminglyScience@users.noreply.github.com >
2025-08-26 16:37:40 -04:00
Jordan Borean
11eeae97f0
Use parameter HelpMessage for tool tip in parameter completion ( #25108 )
...
Use the help message on the parameter in the completion tool tip to provide better completion help. This can be utilized by other tools to provide more context for a parameter outside of the current type and parameter name which is quite minimal.
2025-07-30 12:05:13 -07:00
MartinGC94
038003408e
Quote bare quote file paths if the path includes a double quote character ( #25631 )
2025-06-09 10:23:17 +05:00
MartinGC94
e7ee9da1ea
Remove duplicate modules from completion results ( #25538 )
2025-05-12 08:18:11 +05:00
MartinGC94
957eb1b279
Add completion for variables assigned in ArrayLiterals and ParenExpressions ( #25303 )
2025-05-08 18:17:40 +05:00
Armaan Mcleod
5c8b174709
Refactor Tooltip/ListItemText mapping to use CompletionDisplayInfoMapper delegate ( #25395 )
2025-04-21 17:44:01 +05:00
Armaan Mcleod
92c6f7a632
Add single/double quote support for Join-String Argument Completer ( #25283 )
2025-04-21 09:48:33 +05:00
Jordan Borean
dd1fb9167f
Fix tab completion for env/function variables ( #25346 )
2025-04-12 11:04:18 +05:00
MartinGC94
1ac3ff15ac
Add tooltips for hashtable key completions ( #17864 )
2025-03-25 05:14:24 +00:00
MartinGC94
f7ae4229dc
Fix parameter completion when script requirements fail ( #17687 )
2025-03-07 04:26:03 +00:00
MartinGC94
d820692939
Improve the completion for attribute arguments ( #25129 )
2025-03-06 13:09:40 +00:00
MartinGC94
650189e603
Fix completion that relies on pseudobinding in script blocks ( #25122 )
2025-03-05 19:42:29 +00:00
MartinGC94
6661f6f100
Don't complete duplicate command names ( #21113 )
2025-03-04 12:57:39 +00:00
Jordan Borean
05214da717
Fix tooltip for variable expansion and include desc ( #25112 )
2025-03-03 09:23:24 +05:00
MartinGC94
2c769d65e3
Add completion for variables assigned by command redirection ( #25104 )
2025-02-28 18:13:38 +05:00
MartinGC94
7290494cd9
Update variable/property assignment completion so it can fallback to type inference ( #21134 )
2025-02-27 09:34:26 +00:00
MartinGC94
ca519c92ac
Use script filepath when completing relative paths for using statements ( #20017 )
2025-02-27 08:52:59 +00:00
MartinGC94
c64a636d9b
Fix completion of variables assigned inside Do loops ( #25076 )
2025-02-26 17:04:36 +05:00
MartinGC94
33d4bf5228
Fix completion of provider paths when a path returns itself instead of its children ( #24755 )
...
It is a workaround for Get-ChildItem behavior.
2025-02-26 12:01:29 +00:00
MartinGC94
502653d2c5
Enable completion of scoped variables without specifying scope ( #20340 )
2025-02-25 22:40:36 +05:00
MartinGC94
d6b5e5e13c
Fix share completion with provider and spaces ( #19440 )
2025-02-25 12:02:56 +05:00
MartinGC94
a23e30bed3
Fix issue with incomplete results when completing paths with wildcards in non-filesystem providers ( #24757 )
2025-02-25 08:04:56 +05:00
MartinGC94
b565679961
Fix completion of variables with an attribute in the assignment ( #25016 )
2025-02-18 09:57:58 +00:00
Armaan Mcleod
d95d96ac85
Add experimental feature completion single/double quote support for -Name parameter ( #25014 )
2025-02-15 23:14:32 +05:00
Armaan Mcleod
0f7ba437eb
Add completion single/double quote support for -Noun parameter ( #24977 )
2025-02-11 14:20:19 +05:00
Armaan Mcleod
b385e5406c
Add completion single/double quote support for -PSEdition parameter ( #24971 )
2025-02-08 18:29:15 +05:00
Armaan Mcleod
459fc8d285
Add quote handling in Verb, StrictModeVersion, Scope & PropertyType Argument Completers with single helper method ( #24839 )
2025-02-01 14:52:52 +05:00
MartinGC94
c066cd85aa
Add ExcludeModule parameter to Get-Command ( #18955 )
2024-12-31 00:06:28 +05:00
MartinGC94
8cdb728b6b
Add completion of modules by their shortname ( #20330 )
2024-12-28 13:20:26 +05:00
Armaan Mcleod
e127345820
Add -PropertyType argument completer for New-ItemProperty ( #21117 )
2024-12-25 17:27:44 +05:00
Aditya Patwardhan
617dbda8f4
Skip CIM ETS member test on older Windows platforms ( #24681 )
2024-12-19 10:10:17 -08:00
MartinGC94
1452374fbf
Improve cim ETS member inference completion
2024-12-12 11:17:44 -05:00
Jordan Borean
7cc8a9ad32
Emit ProgressRecord in CLIXML minishell output
...
Instead of never emitting a ProgressRecord if stdout is redirected, continue to emit the CLIXML serialized record when pwsh was started with -OutputFormat xml regardless of redirection. This allows calling processes to receive the progress record from the spawned process when it captures the output.
2024-12-11 20:22:43 -05:00
Jordan Borean
82341b0e3b
Add remote runspace check for PushRunspace
...
Add explicit exception when attempting to call PushRunspace on a
runspace that is not remote. Instead of failing with a hard to
understand NullReferenceException an ArgumentException is raised with
information about what went wrong.
2024-12-04 11:13:47 -05:00
Aditya Patwardhan
9303de597d
Bump .NET 9 to 9.0.100-rc.1.24452.12 ( #24273 )
2024-09-12 12:10:07 -07:00
Travis Plunk and James Truher [MSFT]
c11e4cf0d1
Move to 9.0.0-preview.6.24327.7 ( #24133 )
...
---------
Co-authored-by: James Truher [MSFT] <jimtru@microsoft.com >
2024-08-13 10:18:39 -07:00
Dongbo Wang
d564d0fff9
Bump to .NET 9 preview 3 ( #21782 )
2024-05-09 15:36:52 -07:00
Steve Lee
5efd627e91
Expand ~ to $home on Windows with tab completion ( #21529 )
2024-04-24 16:03:11 -07:00
MartinGC94
a8457f8631
Don't complete parameter name and class member declarations ( #21182 )
2024-04-15 15:52:37 -07:00
MartinGC94
338d1dcfa1
Fix the regression when doing type inference for $_ ( #21223 )
2024-02-26 15:11:19 -08:00
James Truher [MSFT]
0919240822
Rewrite the mac syslog tests to make them less flaky ( #21174 )
2024-02-07 13:09:41 -08:00
Armaan Mcleod
1b98bb0815
Added -Module completion for Save-Help/Update-Help commands ( #20678 )
2023-12-21 13:06:17 +05:00
Armaan Mcleod
2ad03151f8
Add -Verb argument completer for Start-Process ( #20415 )
2023-12-19 21:18:04 +05:00