Commit Graph
2560 Commits
Author SHA1 Message Date
Dongbo Wang a6005f3879 Move .NET method invocation logging to after the needed type conversion is done for method arguments (#25022) 2025-03-18 11:43:44 -07:00
MartinGC94 0ca17fdacd Fix type inference of parameters in classic functions (#25172) 2025-03-18 13:23:49 +05:00
MartinGC94 1edd258e3b Improve assignment type inference (#21143) 2025-03-18 09:48:11 +05:00
Armaan Mcleod 377f7e9867 Remove CompletionHelpers escape parameter from CompletionRequiresQuotes (#25178) 2025-03-18 09:39:53 +05:00
Dongbo Wang ef64132f0a Fix TypeName.GetReflectionType() to work when the TypeName instance represents a generic type definition within a GenericTypeName (#24985) 2025-03-17 15:40:25 -07:00
Dongbo Wang 48b25da147 Remove the old fuzzy suggestion and fix the local script file name suggestion (#25177) 2025-03-17 10:19:15 -07:00
Armaan Mcleod 9f45f9a855 Refactor CompletionHelpers HandleDoubleAndSingleQuote to have less nesting logic (#25179) 2025-03-17 21:47:01 +05:00
MartinGC94 becdd61b3c Improve variable type inference (#19830) 2025-03-13 10:04:02 +00:00
Armaan Mcleod ca96c2c489 Move common completion methods to CompletionHelpers class (#25138) 2025-03-10 17:19:14 +05: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
Dongbo Wang 0e6ffc52e9 Make SystemPolicy public APIs visible but non-op on Unix platforms so that they can be included in PowerShellStandard.Library (#25051) 2025-03-03 17:21:55 -08:00
Jordan Borean 05214da717 Fix tooltip for variable expansion and include desc (#25112) 2025-03-03 09:23:24 +05:00
MartinGC94 33ed509ca4 Add type inference for functions without OutputType attribute and anonymous functions (#21127) 2025-02-28 17:48:59 +00:00
MartinGC94 2c769d65e3 Add completion for variables assigned by command redirection (#25104) 2025-02-28 18:13:38 +05:00
MartinGC94 6fbd8ba1dd Handle type inference for redirected commands (#21131) 2025-02-28 04:20:25 +00:00
MartinGC94 b8ed5be26d Allow empty prefix string in 'Import-Module -Prefix' to override default prefix in manifest (#20409) 2025-02-27 17:40:40 +00: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 bdf04006f2 Use Get-Help approach to find 'about_*.help.txt' files with correct locale for completions (#24194) 2025-02-27 14:20:43 +05: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
PowerShell Team Bot 563892f673 Update outdated package references (#25026) 2025-02-25 00:00:56 +00:00
Bob D c3fbd2c293 Allow DSC parsing through OS architecture translation layers (#24852) 2025-02-24 13:50:42 -08:00
MartinGC94 f47b14e7ff Improve the type inference for binary expressions (#25030) 2025-02-20 10:39:29 +05:00
Dongbo Wang 1b03005d1a Never load a module targeting the PSReadLine module's SessionState (#24909) 2025-02-18 10:18:30 -08:00
Dongbo Wang 4d174fcbb7 Filter out the nested modules of PSReadLine from module name tab completion (#24910) 2025-02-18 10:13:35 -08:00
MartinGC94 b565679961 Fix completion of variables with an attribute in the assignment (#25016) 2025-02-18 09:57:58 +00:00
MartinGC94 fd85f6c35a Use types from both sides of the pipeline chain for the type inference (#25031) 2025-02-18 05:44:28 +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
PowerShell Team BotandTravis Plunk 848dccf63d Update security extensions (#25021)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-02-15 00:42:28 +00:00
crazyjncsu 14fb6f2618 Fix PSMethodInvocationConstraints.GetHashCode method (#24965)
There is a difference between GetHashCode for array object itself and cumulative GetHashCode based on hashes of the array members.
2025-02-13 09:31:05 +05:00
PowerShell Team BotandTravis Plunk 6d6515b7e4 Update branch for release - Transitive - false - none (#24995)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-02-12 12:21:42 -06:00
Armaan Mcleod 0f7ba437eb Add completion single/double quote support for -Noun parameter (#24977) 2025-02-11 14:20:19 +05:00
MartinGC94 9941e38c19 Remove trailing space from event source name (#24192) 2025-02-11 09:24:36 +05:00
Matěj Kafka 9071eac574 Stringify ErrorRecord with empty exception message to empty string (#24949) 2025-02-10 11:43:10 +05:00
xtqqczze 57bdd9c686 Fix RunspacePool, RunspacePoolInternal and RemoteRunspacePoolInternal IDisposable implementation (#24720) 2025-02-10 10:34:41 +05:00
Armaan Mcleod b385e5406c Add completion single/double quote support for -PSEdition parameter (#24971) 2025-02-08 18:29:15 +05:00
Kris Borowinski 8854c00ec2 Fix New-Item -Force to error on invalid directory name (#24936) 2025-02-07 22:32:23 +05:00
xtqqczze 1790f3a3e9 Remove redundant Attribute suffix (#24940) 2025-02-07 22:18:29 +05:00
Sean Wheeler f84c777b72 Fix formatting of the XML comment for SteppablePipeline.Clean() (#24941) 2025-02-04 09:37:22 -08:00
Flavien MICHALECZEK 141da816ab Use Environment.ProcessId in SpecialVariables.PID (#24926) 2025-02-04 17:07:01 +05:00
Armaan Mcleod ed982b4338 Replace char[] array in CompletionRequiresQuotes with cached SearchValues<char> (#24907) 2025-02-01 21:17:42 +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
Armaan Mcleod 2a1d17eda6 Update IndexOfAny calls with invalid path/filename to SearchValues<char> for more efficient char searching (#24896) 2025-01-30 17:42:57 +05:00