Commit Graph
2506 Commits
Author SHA1 Message Date
James Truher [MSFT] 031fa93b4c Add find.exe to legacy argument binding behavior for Windows (#17715) 2022-07-20 14:47:50 -07:00
MartinGC94 76c713d7e6 Add completion for index expressions for dictionaries (#17619) 2022-07-20 03:56:35 +00:00
Frode Flaten 9ccaf107a0 Fix enum-ranges for ValidateRange in proxy commands (#17572) 2022-07-20 08:50:18 +05:00
MartinGC94 84241c3c59 Fix parser exception in using statements with empty aliases (#16745) 2022-07-19 10:42:31 -07:00
MartinGC94 618b348cdb Fix type completion for attribute tokens (#17484) 2022-07-19 09:08:10 -07:00
James Truher [MSFT] bfb59f1acf Do not always collapse space between parameter and value for native arguments. (#17708) 2022-07-18 17:51:51 -07:00
Steve Lee b7c875b0f2 Remove PSNativePSPathResolution experimental feature (#17670) 2022-07-18 17:25:46 -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
Steve Lee 08baf27b80 Render decimal numbers in a table using current culture (#17650) 2022-07-18 14:27:06 -07:00
Steve Lee ff0506d632 Change ConvertFrom-Json -AsHashtable to use ordered hashtable (#17405)
JSON typically has ordering to make it easier to read. Currently, a Hashtable does not preserve ordering so for complex JSON, the members are not where you would expect in terms of order. This change wraps OrderedDictionary into a OrderedHashtable that derives from Hashtable. This preserves existing compatibility with scripts that expect a Hashtable to be returned, but preserves the order of elements.
2022-07-13 09:23:03 +05:00
Bryan Berns ca0178a802 Add Milliseconds Parameter to New-TimeSpan (#17621) 2022-07-12 11:09:19 +05:00
MartinGC94 81f492744d Fix tab completion regression (#17628) 2022-07-07 15:45:50 +05:00
github-actions[bot] 17b23e3ebc Update .NET SDK version from 7.0.100-preview.5.22307.18 to 7.0.100-preview.6.22352.1 (#17634) 2022-07-06 17:35:59 -07: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
Eugene Samoylov 735096bcc1 Show optional parameters as such when displaying method definition and overloads (#13799)
* Extend `GetMethodInfoOverloadDefinition` to show optional parameters as such (#13728)

* Fix CodeFactor style issue

* Fix review issues

* Add tests for TabExpansion2 `ToolTip`

* Fix tooltip string splitting

* Fix tests

* Bring back the namespace
2022-06-27 12:21:25 -07:00
dependabot[bot] 0e59a73b25 Bump Newtonsoft.Json in /test/perf/dotnet-tools/Reporting (#17592) 2022-06-27 11:12:53 -07:00
dependabot[bot] ba9e23732f Bump Newtonsoft.Json in /test/perf/dotnet-tools/ResultsComparer (#17566) 2022-06-27 11:08:59 -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
Dongbo Wang 17e4db9b1b Make Out-String and Out-File keep string input unchanged (#17455) 2022-06-08 18:13:40 -07:00
Ilya 57dbecb612 Add Amended switch to Get-CimClass cmdlet (#17477)
* Add Amended switch to Get-CimClass cmdlet

* Fix CodeFactor issues
2022-06-08 16:25:13 -07:00
Dongbo Wang 6a522d9c68 Make AnsiRegex able to capture Hyperlink ansi sequences (#17442)
* Add the hyperlink ansi regex

* Add test

* Add comment
2022-06-08 10:35:07 -07:00
MartinGC94 042765dd1c Improve completion on operators (#17486) 2022-06-06 14:28:04 -07:00
Travis Plunk 4e6909e7b8 Make Assembly Load Native test work on a FX Dependent Linux Install (#17380)
* Make Assembly Load Native test work on a FX Dependent Linux Install

* Update Assembly.LoadNative.Tests.ps1
2022-06-06 13:06:38 -07:00
Matt Gucci 69831c15ba Improve array element completion for command arguments (#17078) 2022-06-06 12:23:16 -07:00
Paul Higinbotham a8d55851e0 Add the -ConfigurationFile command line parameter to pwsh to support local session configuration (#17447) 2022-06-06 12:12:53 -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
Aditya Patwardhan d99626927d Update Get-Error test to not depend on DNS APIs (#17471) 2022-06-03 09:25:24 -07:00
Dongbo Wang 12de67ca5d Fix formatting to act appropriately when the style of table header or list label is empty string (#17463) 2022-06-02 09:20:32 -07:00
MartinGC94 e7f705adef Add type inference support for generic methods with type parameters (#16951) 2022-05-27 11:17:53 -07:00
Dongbo Wang 0882737efb Write out OSC indicator only if the stdout is not redirected (#17419) 2022-05-25 14:29:47 -07:00
Travis Plunk e7a4b7ddaa Simplify Get-WSManSupport based on current .NET Distro Support (#17356)
* Simplify Get-WSManSupport based on current .NET Distro Support

* Update test/tools/Modules/HelpersCommon/HelpersCommon.psm1
2022-05-18 09:34:43 -07:00
Mathias R. Jessen afe99fcaea SemanticChecks: Avoid repeated type resolution of [ordered] (#17328) 2022-05-17 09:54:26 -07:00
James Truher [MSFT] 65d8f11aeb Update telemetry collecting with a few changes (#17304) 2022-05-16 17:10:51 -07:00
Dongbo Wang c40066d5f2 Fix the word wrapping in formatting to handle escape sequences properly (#17316) 2022-05-16 16:10:55 -07:00
Dongbo Wang 41c7cd79da Fix the error message in Hashtable-to-object conversion (#17329) 2022-05-16 14:55:00 -07:00
Travis Plunk 975e5f8871 Update Ubuntu 22 to be detected as not supported WSMan (#17338) 2022-05-13 10:33:55 -07:00
dependabot[bot] fea4484986 Bump xunit.runner.visualstudio from 2.4.3 to 2.4.5 (#17274)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.4.3 to 2.4.5.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/commits)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-12 20:57:33 +00:00
dependabot[bot] 950ff45625 Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.2.0 (#17320)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.1.0 to 17.2.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v17.1.0...v17.2.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-12 11:35:13 -07:00
Travis Plunk 87f621eb1f Add fedora to the OS's that can't run WSMan (#17325) 2022-05-12 11:25:14 -07:00
Travis PlunkandJames Truher [MSFT] ba6fbe9f2a Start rotating through all images (#17315)
* Use day of week for fallback seed

* Use new properties to select CI image

* move container selection code into

* use parameter

* fix azDO variable refernce

* move container name left in non-PR build name

* Use get-command to detect package manager

* update dependencies in build.psm1

* Add RHEL to WSMan support function

* Update build.psm1

* Update tools/ci.psm1

Co-authored-by: James Truher [MSFT] <jimtru@microsoft.com>

Co-authored-by: James Truher [MSFT] <jimtru@microsoft.com>
2022-05-12 10:03:40 -07:00
github-actions[bot] 38909f7ee5 Update .NET SDK version from 7.0.100-preview.2.22153.17 to 7.0.100-preview.4.22252.9 (#17061) 2022-05-11 18:27:51 -07:00
James Truher [MSFT] 1a24540e31 Enable more tests to be run in a container. (#17294) 2022-05-11 12:30:22 -07:00
Dongbo Wang 44098e771a Fix the list view to not leak VT decorations (#17262) 2022-05-10 16:05:14 -07:00
Dongbo Wang 4c6c4f30af Fix formatting truncation to handle strings with VT sequences (#17251) 2022-05-06 11:40:34 -07:00
Travis Plunk e08edcb82d Update to use mcr.microsoft.com (#17272) 2022-05-05 15:27:59 -07:00
Patrick Meinecke 99f3bb7a6a Fix line breakpoints for return statements without a value (#17179) 2022-05-04 10:56:55 -07:00