Commit Graph
259 Commits
Author SHA1 Message Date
Travis PlunkandAditya 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 LeeandIlya 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
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
Paul Higinbotham 6d4c56657b Skip failing scriptblock tests (#17093) 2022-03-31 12:24:58 -07: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
Aditya Patwardhan 1268a0a04f Update .NET to 7.0.0-preview.2 build (#16930) 2022-03-18 09:10:53 -07:00
MartinGC94 c196e2f793 Improve Hashtable completion in multiple scenarios (#16498) 2022-03-03 18:09:12 -08:00
Aditya Patwardhan 77caf718cd Update projects and scripts to use .NET 7 preview 1 pre-release builds (#16856)
* Update script to consume .NET 7 builds

* Update target framework

* Add dotnet metadata override value

* Update dependencies

* Update analyzer

* Conditionally add output argument

* Update files.wxs

* Fix tests

* Update Microsoft.PowerShell.Native to 7.3.0-preview.1

* Disable psget tests

* Update to latest build for .NET 7 preview 1

* Disable ready to run

* Update version of `Microsoft.AspNetCore.Mvc.NewtonsoftJson` package

* Update cgmanifest and startup test
2022-02-16 09:56:41 -08:00
ayousuf23andDongbo 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
Keith Hill e2f39fa0eb Reduce the amount of startup banner text (#16516) 2022-01-10 15:08:00 -08:00
Andrew Menagarishvili 3f1c03d494 Merged PR 18449: Change default for $PSStyle.OutputRendering to Ansi
Cherry picked from !18333

Cherry-picked from commit `5cb8a2b3`.
2021-12-16 13:39:56 -08:00
Dongbo Wang 88ba3f61fa Use the same temporary home directory when 'HOME' env variable is not set (#16263) 2021-11-22 10:44:58 -08:00
MartinGC94 965dc8f40f Fix tab completion within the script block specified for the ValidateScriptAttribute. (#14550) 2021-11-09 18:26:14 -08:00
Aditya Patwardhan f8d6b2f9fe Update metadata.json in preparation on 7.3.0-preview.1 release (#16406)
* Update `metadata.json` in preparation on `7.3.0-preview.1` release

* Update PSVersion table and tests
2021-11-09 08:31:01 -08:00
Maksim Ivanyuk 674ef888a2 Add -HttpVersion parameter to web cmdlets (#15853) 2021-11-02 16:53:36 -07:00
Steve Lee cced56d75a Make PS-Committee reviewed experimental features stable (#15864) 2021-08-09 14:01:57 -07:00