Commit Graph
2938 Commits
Author SHA1 Message Date
Jordan Borean 352fd38c3b Update Get-Service to ignore common errors when retrieving non-critical properties for a service (#24245) 2025-04-21 14:17:11 -07: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
68a5fdba3d Update to .NET 10.0.100-preview.3 (#25358)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
2025-04-17 20:27:30 +00:00
Jordan Borean dd1fb9167f Fix tab completion for env/function variables (#25346) 2025-04-12 11:04:18 +05:00
Aditya Patwardhan b58979c1e2 Downgrade the packages needed by SDK (#25280) 2025-04-04 15:09:09 -07:00
MartinGC94 0c96975d1e Exclude outvariable assignments within the same CommandAst when inferring variables (#25224) 2025-03-26 18:00:46 +00:00
MartinGC94 dea739cf99 Fix infinite loop in variable type inference (#25206) 2025-03-26 07:53:08 +05:00
MartinGC94 1ac3ff15ac Add tooltips for hashtable key completions (#17864) 2025-03-25 05:14:24 +00:00
Armaan Mcleod e308222e19 Fix WildcardPattern.Escape to escape lone backticks correctly (#25211) 2025-03-25 09:05:42 +05:00
Jordan Borean 93e053c57e Add PipelineStopToken to Cmdlet which will be signaled when the pipeline is stopping (#24620) 2025-03-24 14:36:05 -07:00
PowerShell Team BotandTravis Plunk 94a37db4cb Update .NET SDK to 10.0.100-preview.2 (#25225)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-03-24 21:06:42 +00:00
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