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
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
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
MartinGC94
9a7db33ee0
Add completion for Using keywords ( #16514 )
2022-12-20 13:26:43 +05: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
MartinGC94
fb9393e0cc
Improve pseudo binding for dynamic parameters ( #18030 )
2022-09-12 11:34:15 -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
MartinGC94
8eb37cc44d
Prevent braces from being removed when completing variables ( #17751 )
2022-07-25 11:17:26 -07:00
MartinGC94
76c713d7e6
Add completion for index expressions for dictionaries ( #17619 )
2022-07-20 03:56:35 +00:00
MartinGC94
618b348cdb
Fix type completion for attribute tokens ( #17484 )
2022-07-19 09:08:10 -07:00
MartinGC94
53adf5d5d4
Improve dynamic parameter tab completion ( #17661 )
2022-07-18 15:32:06 -07:00
MartinGC94
b06bcee10e
Avoid binding positional parameters when completing parameter in front of value ( #17693 )
2022-07-18 14:28:04 -07:00
MartinGC94
81f492744d
Fix tab completion regression ( #17628 )
2022-07-07 15:45:50 +05:00
Tamás Vajk
b88cd3ae2e
Fix build.psm1 to not specify both version and quality for dotnet-install ( #17589 )
2022-06-28 11:00:34 -07:00
github-actions[bot]
cfc237ac85
Update .NET SDK version from 7.0.100-preview.4.22252.9 to 7.0.100-preview.5.22307.18 ( #17402 )
2022-06-13 13:09:30 -07:00
MartinGC94
4f6e574820
Improve type inference and completions ( #16963 )
2022-06-13 10:04:35 -07:00
MartinGC94
12a2c82d0e
Fix various completion issues inside the param block ( #17489 )
2022-06-09 09:41:52 +05:00
MartinGC94
042765dd1c
Improve completion on operators ( #17486 )
2022-06-06 14:28:04 -07:00
Matt Gucci
69831c15ba
Improve array element completion for command arguments ( #17078 )
2022-06-06 12:23:16 -07:00
Patrick Meinecke
97e8e0c43a
Use AST extent for PSScriptRoot path completion ( #17376 )
2022-06-06 10:33:52 -07:00
Shuangchi He
c5d31c9e10
Correct spelling in Comments and tests ( #17480 )
2022-06-06 09:55:33 -07:00
Stéphane BARIZIEN
4acf6b39d4
Support forward slashes in network share (UNC path) completion ( #17111 ) ( #17117 )
2022-04-12 21:00:16 +05:00
MartinGC94
c904d7f376
Improve member auto completion ( #16504 )
2022-03-24 15:55:27 -07:00
MartinGC94
123373e425
Prioritize ValidateSet completions over Enums for parameters ( #15257 )
2022-03-23 12:38:05 -07:00
MartinGC94
c196e2f793
Improve Hashtable completion in multiple scenarios ( #16498 )
2022-03-03 18:09:12 -08:00
ayousuf23 and Dongbo Wang
a9a235d469
Prevent tab completion if the word to complete is a single dash ( #16781 )
...
* added code to prevent tab completion if the word to complete is a single dash
* added a test for testing tab completion if the word to complete is a single dash
* Minor update and add comment
Co-authored-by: Dongbo Wang <dongbow@microsoft.com >
2022-02-09 12:59:29 -08:00
MartinGC94
7d3260fe0d
Add completion for loop labels after Break/Continue ( #16438 )
...
Adds completion for loop labels after labeled control flow statements such as Break and Continue.
The completion will look for any loops with a label that surrounds the Break/Continue keywords.
The tooltips for the completion entries shows the relevant loop.
2022-02-01 09:14:23 +05:00
Joel Sallow (/u/ta11ow)
8c53252969
Add support to allow invoking method with generic type arguments ( #12412 )
2022-01-27 09:55:54 -08:00
MartinGC94
965dc8f40f
Fix tab completion within the script block specified for the ValidateScriptAttribute. ( #14550 )
2021-11-09 18:26:14 -08:00