Patrick Meinecke
73865ce253
[release/v7.4.2] Fix the regression when doing type inference for $_ ( #21223 ) ( #21421 )
2024-04-04 15:22:20 -07:00
Dongbo Wang
cfc3a29426
Fix the tab completion tests ( #20867 )
2023-12-07 15:53:22 -08:00
Aditya Patwardhan
bdf1cfd2b1
Fix UNC path completion regression ( #20419 ) ( #20541 )
2023-10-19 14:41:28 -07:00
James Truher [MSFT]
046301b716
Additional test hardening for tests which fail in release pass. ( #20093 )
2023-08-16 11:28:59 -07:00
James Truher [MSFT]
7b3e5444de
Don't use a completion which has a space in it ( #20064 )
2023-08-01 18:07:37 -07:00
MartinGC94
0502da7109
Fix dynamic parameter completion ( #19510 )
2023-07-31 17:52:50 -07:00
Ikko Eltociear Ashimine
0beea512eb
Fix typo in Logging.Tests.ps1 ( #20048 )
2023-07-31 10:37:28 -07:00
James Truher [MSFT]
91447e62de
Fixes for release tests ( #20028 )
2023-07-27 15:04:30 -07:00
Travis Plunk
3ce65f39e0
Hide expected error for negative test on windows for script extension ( #19929 )
2023-07-17 09:32:03 -07:00
MartinGC94
a8ec19b4f6
Fix completion regression for filesystem paths with custom PSDrive names ( #19921 )
2023-07-11 12:12:32 -07:00
MartinGC94
ac87d2ae0e
Add completion for variables assigned by the Data statement ( #19831 )
2023-07-10 17:15:05 -07:00
MartinGC94
c5cc8c8bbc
Fix a null reference crash in completion code ( #19916 )
2023-07-10 12:31:27 -07:00
MartinGC94
994e43b1bf
Fix TabExpansion2 variable leak when completing variables ( #18763 )
2023-06-19 15:48:59 -07:00
MartinGC94
0cbcf7b4d6
Enable completion of variables across ScriptBlock scopes ( #19819 )
2023-06-19 13:30:39 -07:00
MartinGC94
8b2de76eff
Fix completion of the foreach-statement variable ( #19814 )
2023-06-19 10:20:13 -07:00
James Truher [MSFT]
ba0de3b4fe
Add some debugging to the transcript test for SilentlyContinue ( #19770 )
2023-06-12 17:03:53 -07:00
MartinGC94
79d99b501b
Fix member completion for PowerShell Enum class ( #19740 )
2023-06-05 17:04:19 -07:00
Frode Flaten
c57ada217d
Filter completion for enum parameter against ValidateRange attributes ( #17750 )
2023-05-22 14:25:00 -07:00
06ab3b189d
Improve path completion ( #19489 )
...
* Improve path completion
* Update src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs
Co-authored-by: Steve Lee <slee@microsoft.com >
* Address initial feedback from Steve and Paul
* Apply suggestions from code review
Co-authored-by: Paul Higinbotham <paulhi@microsoft.com >
* Apply suggestions from code review
Co-authored-by: Ilya <darpa@yandex.ru >
* Apply suggestions from iSazonov.
* Add missing period to comment.
* Add comment explaining limitations of current approach.
* Correct some escaping issues and add tests
---------
Co-authored-by: Steve Lee <slee@microsoft.com >
Co-authored-by: Paul Higinbotham <paulhi@microsoft.com >
Co-authored-by: Ilya <darpa@yandex.ru >
2023-05-22 11:10:59 -07:00
MartinGC94
bb3c8a2819
Fix an indexing out of bound error in CompleteInput for empty script input ( #19501 )
2023-05-10 13:56:33 -07:00
MartinGC94
dc81491870
Improve variable completion performance ( #19595 )
2023-05-09 15:04:44 -07:00
xtqqczze
19623357ad
Remove minor versions from PSCompatibleVersions ( #18635 )
2023-05-08 12:37:42 -07:00
Staffan Gustafsson
33dc1a8fae
Fixing structure typo in test setup ( #17458 )
2023-05-08 11:56:01 -07:00
xtqqczze
c77c286d7a
Remove PSv2CompletionCompleter as part of the PowerShell v2 code cleanup ( #18337 )
2023-05-01 22:00:07 -07:00
MartinGC94
5605b24b08
Improve Hashtable key completion for type constrained variable assignments, nested Hashtables and more ( #17660 )
2023-05-01 16:26:41 -07:00
Aditya Patwardhan
cf6fc53c9f
Fix test failures on Windows for time zone and remoting ( #19466 )
2023-04-25 11:06:34 -07:00
MartinGC94
18f0c5ad4b
Exclude redundant parameter aliases from completion results ( #19382 )
2023-03-22 08:58:15 +05:00
MartinGC94
e6655d1f17
Fix completion for PSCustomObject variable properties ( #18682 )
2023-03-13 17:38:21 -07:00
Aditya Patwardhan
e95f7fb50f
Test fixes for stabilizing tests ( #19068 )
2023-03-13 15:40:27 -07:00
MartinGC94
0a11f799dc
Add property assignment completion for enums ( #19178 )
...
* Add property assignment completion for enums
* Move method
2023-02-23 13:42:57 -08:00
MartinGC94
290fe28104
Fix class member completion for classes with base types ( #19179 )
2023-02-22 22:10:22 +05:00
Travis Plunk and Aditya Patwardhan
b2c4888ebb
Add Windows ARM64 CI ( #19040 )
...
* Add CI for win-arm64
* Add common function to test for windows arm64
* Update because string where items need investigation
---------
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com >
2023-01-31 12:06:29 -08:00
MartinGC94
232384ce7f
Prioritize the default parameter set when completing positional arguments ( #18755 )
2023-01-09 10:30:42 -08:00
Steve Lee
27b5a0632d
Add -ProgressAction common parameter ( #18887 )
2023-01-09 09:40:40 -08:00
Steve Lee and Ilya
9ea887f626
Add -CommandWithArgs parameter to pwsh ( #18726 )
...
* Add `-CommandWithArgs` parameter to pwsh
* Update src/Microsoft.PowerShell.ConsoleHost/host/msh/CommandLineParameterParser.cs
Co-authored-by: Ilya <darpa@yandex.ru >
* address Ilya and Mikey's comments
* reset i
Co-authored-by: Ilya <darpa@yandex.ru >
2023-01-05 15:21:35 -08:00
MartinGC94
9a7db33ee0
Add completion for Using keywords ( #16514 )
2022-12-20 13:26:43 +05:00
Aditya Patwardhan
2b38f80855
Update the release tag in metadata.json for next preview ( #18799 )
2022-12-15 10:43:55 -08:00
Dongbo Wang
061947969d
Allow non-default encodings to be used in user's script/code ( #18605 )
2022-12-07 10:16:06 +05:00
Steve Lee
8ff6a06f97
Switch $PSNativeCommandUseErrorActionPreference to $true when feature is enabled ( #18695 )
2022-12-01 16:13:42 -08:00
MartinGC94
0a6de4672a
Fix issue when completing the first command in a script with an empty array expression ( #18355 )
2022-11-07 17:14:49 -08:00
Dongbo Wang
f56c4ea9ef
Re-enable building with Ready-to-Run ( #18105 )
2022-09-15 16:17:23 -07:00
MartinGC94
fb9393e0cc
Improve pseudo binding for dynamic parameters ( #18030 )
2022-09-12 11:34:15 -07:00
Dongbo Wang
647f40bb4a
Fix error formatting to use color defined in $PSStyle.Formatting ( #17987 )
2022-08-31 09:36:14 -07:00
MartinGC94
4051e09796
Add completion for values in comparisons when comparing Enums ( #17654 )
2022-08-22 15:18:49 -07:00
MartinGC94
99c757ff3e
Fix positional argument completion ( #17796 )
2022-08-22 15:17:55 -07:00
MartinGC94
1c5e14cf0f
Fix member completion in attribute argument ( #17902 )
2022-08-22 13:38:21 -07:00
MartinGC94
15dcf634e2
Improve enumeration of inferred types in pipeline ( #17799 )
2022-08-09 10:37:56 -07:00
Dongbo Wang
c2323db4a0
Re-enable tests because the corresponding dotnet issues were fixed ( #17839 )
2022-08-03 21:34:03 -07:00
Dongbo Wang
2051c5f72b
Stop referencing Microsoft.PowerShell.Security when the core snapin is used ( #17771 )
2022-08-01 10:10:59 -07:00
Ilya
08e4596463
Move the type data definition of System.Security.AccessControl.ObjectSecurity to the Microsoft.PowerShell.Security module ( #16355 )
2022-07-25 21:16:52 -07:00