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
Armaan Mcleod
0f7ba437eb
Add completion single/double quote support for -Noun parameter ( #24977 )
2025-02-11 14:20:19 +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
c1abc73def
Convert s_charactersRequiringQuotes in Completion Completers to SearchValues<char> for more efficient char searching ( #24879 )
2025-01-28 10:29:29 +05:00
Frode Flaten
c0d7fb787f
Add helper in EnumSingleTypeConverter to get enum names as array ( #17785 )
2025-01-03 01:08:23 +05:00
MartinGC94
c066cd85aa
Add ExcludeModule parameter to Get-Command ( #18955 )
2024-12-31 00:06:28 +05:00
MartinGC94
8cdb728b6b
Add completion of modules by their shortname ( #20330 )
2024-12-28 13:20:26 +05:00
Steve Lee
5efd627e91
Expand ~ to $home on Windows with tab completion ( #21529 )
2024-04-24 16:03:11 -07:00
MartinGC94
a8457f8631
Don't complete parameter name and class member declarations ( #21182 )
2024-04-15 15:52:37 -07:00
MartinGC94
9da657e3a8
Fix completion crash for the SCCM provider ( #20915 )
2024-01-16 16:56:13 -08:00
Armaan Mcleod
1b98bb0815
Added -Module completion for Save-Help/Update-Help commands ( #20678 )
2023-12-21 13:06:17 +05:00
Dongbo Wang
649e809d57
Revert "Fix completion crash for the SCCM provider ( #20815 )" ( #20919 )
2023-12-13 16:53:52 -08:00
MartinGC94
09509d2de3
Fix completion crash for the SCCM provider ( #20815 )
2023-12-08 15:22:11 -08:00
MartinGC94
6176fd3fcf
Fix UNC path completion regression ( #20419 )
2023-10-16 15:43:48 -07:00
MartinGC94
0502da7109
Fix dynamic parameter completion ( #19510 )
2023-07-31 17:52:50 -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
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
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
dc81491870
Improve variable completion performance ( #19595 )
2023-05-09 15:04:44 -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
MartinGC94
18f0c5ad4b
Exclude redundant parameter aliases from completion results ( #19382 )
2023-03-22 08:58:15 +05:00
spaette
ec0eb22062
Fix typos in comments ( #19064 )
2023-02-03 10:40:43 +05:00
CarloToso
e815e57601
Use interpolated strings 6 ( #18983 )
2023-01-20 16:59:55 +05:00
MartinGC94
232384ce7f
Prioritize the default parameter set when completing positional arguments ( #18755 )
2023-01-09 10:30:42 -08:00
Ilya
bdea773598
Replace DllImport with LibraryImport for WNetGetConnection ( #18690 )
2022-12-03 17:16:26 +05:00
Ilya
3dc95ced87
Replace DllImport with LibraryImport - 1 ( #18603 )
2022-11-30 10:00:12 -08:00
Ilya
b84652745c
Replace DllImport with LibraryImport in SMA 1 ( #18520 )
2022-11-12 16:48:27 +05:00
Berkan Diler
c16521ac87
Use new LINQ Order() methods instead of OrderBy(static x => x) ( #18395 )
...
Less code, a bit faster, less allocations
2022-11-01 13:31:58 +05:00
Berkan Diler
9016adf1c2
Replace some string.Join(string) calls with string.Join(char) ( #18411 )
2022-10-31 09:56:15 -07:00
Ilya
8965af3d52
Remove some static constants from Utils.Separators ( #18154 )
2022-10-27 15:25:41 -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
15dcf634e2
Improve enumeration of inferred types in pipeline ( #17799 )
2022-08-09 10:37:56 -07:00
Dmitry Volodin
1779175935
Use null-coalescing assignment in the rest of /engine ( #17729 )
2022-07-26 12:31:14 -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
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
MartinGC94
edac193cf0
Use discards for unused variables ( #17620 )
2022-07-05 14:26:51 -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
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
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