Commit Graph
2926 Commits
Author SHA1 Message Date
Armaan Mcleod 94d0361d59 Add QuoteCompletionText method to CompletionHelpers class (#25180)
Unifies how quoting a given completion text works.
2025-03-22 18:04:54 +05:00
Aditya Patwardhan eef334de1b Bump .NET to 10 preview.1 (#25154) 2025-03-19 15:48:08 -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 48c34fc3a7 Convert -ChildPath parameter to string[] for Join-Path cmdlet (#24677) 2025-03-18 09:44:06 +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 e8bf560787 Add XUnit test for HandleDoubleAndSingleQuote in CompletionHelpers class (#25181) 2025-03-17 09:53:01 +00:00
MartinGC94 becdd61b3c Improve variable type inference (#19830) 2025-03-13 10:04:02 +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
Dongbo Wang 6e428a8820 Set standard handles explicitly when starting a process with -NoNewWindow (#25061) 2025-03-03 16:17:16 -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 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
MartinGC94 f47b14e7ff Improve the type inference for binary expressions (#25030) 2025-02-20 10:39:29 +05: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 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
Matěj Kafka 9071eac574 Stringify ErrorRecord with empty exception message to empty string (#24949) 2025-02-10 11:43:10 +05:00
Armaan Mcleod b385e5406c Add completion single/double quote support for -PSEdition parameter (#24971) 2025-02-08 18:29:15 +05:00
xtqqczze f22ad2e384 Set LangVersion compiler option to 13.0 in Test.Common.props (#24621) 2025-02-08 07:24:31 +00:00
Kris Borowinski 8854c00ec2 Fix New-Item -Force to error on invalid directory name (#24936) 2025-02-07 22:32:23 +05:00
Kris Borowinski 0beb24e10f Fix Start-Transcript error when $Transcript is a PSObject wrapped string (#24963) 2025-02-07 22:23:05 +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
PowerShell Team BotandAditya Patwardhan 9935033b0f Update outdated package references (#24758)
* Update package references

* Update cgmanifest

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2025-01-16 20:55:30 +00:00
Justin ChungandJustin Chung a69452ebeb Update metadata.json (#24764)
* Updated metadata.json

* Added 7.6 to version checks

---------

Co-authored-by: Justin Chung <chungjustin@microsoft.com>
2025-01-14 12:42:18 -06:00
PowerShell Team Bot e7311eb08c Update outdated package references (#24580) 2025-01-06 14:03:20 -08:00
Ryan Yates 61e9f5dcc2 Return correct FileName property for Get-Item when listing alternate data streams (#18019) 2025-01-02 16:45:57 +05:00
MartinGC94 c066cd85aa Add ExcludeModule parameter to Get-Command (#18955) 2024-12-31 00:06:28 +05:00
MartinGC94 57dbde625f Update Named and Statement block type inference to not consider AssignmentStatements and Increment/decrement operators as part of their output (#21137) 2024-12-29 17:29:03 +05:00
Armaan Mcleod 10d1785030 Update DnsNameList for X509Certificate2 to use X509SubjectAlternativeNameExtension.EnumerateDnsNames Method (#24714) 2024-12-29 15:21:50 +05:00
MartinGC94 8cdb728b6b Add completion of modules by their shortname (#20330) 2024-12-28 13:20:26 +05:00
Armaan Mcleod b5fbe9e613 Fix Get-ItemProperty to report non-terminating error for cast exception (#21115) 2024-12-27 09:09:32 +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