Commit Graph
2375 Commits
Author SHA1 Message Date
Dongbo Wang 7f44006a1b Remove the comment trigger from feedback provider (#20136) 2023-08-21 11:48:48 -07:00
MartinGC94 050873fc28 Prevent fallback to file completion when tab completing type names (#20084) 2023-08-21 10:56:55 -07:00
Thomas Nieto 39513bb3fb Remove parenthesis for empty attribute parameters (#20087) 2023-08-21 10:11:55 -07:00
Thomas Nieto 1af870c16c Remove blank lines as instructed by CodeFactor rules (#20086) 2023-08-21 10:05:41 -07:00
dependabot[bot] b8f797d860 Bump Microsoft.CodeAnalysis.CSharp from 4.7.0-2.final to 4.7.0 (#20146) 2023-08-21 09:53:12 -07:00
Ikko Eltociear Ashimine ad1d9763f9 Fix typo in Binders.cs (#20147)
defered -> deferred
2023-08-21 18:09:00 +05:00
Aditya Patwardhan ddf40db675 Bump to .NET 8 Preview 7 (#20092) 2023-08-09 10:47:09 -07:00
Steve Lee e97105bf7d Move build to .NET 8 preview 6 (#19991) 2023-08-07 21:30:33 +00:00
Aditya Patwardhan 6a950e5bd7 Bump Microsoft.Management.Infrastructure from 2.0.0 to 3.0.0-preview.1 (#20081) 2023-08-07 09:50:50 -07:00
MartinGC94 0502da7109 Fix dynamic parameter completion (#19510) 2023-07-31 17:52:50 -07:00
Frode Flaten ced79cd1a1 Use OrdinalIgnoreCase to lookup script breakpoints (#20046) 2023-07-31 17:45:49 -07:00
Steve Lee 28548d39ac Fix use of ThrowIf where the arguments were reversed (#20052) 2023-07-31 15:03:16 -07:00
stevenebutler 3710671c16 Guard against null or blank path components when adding to module path (#19922) 2023-07-31 11:00:27 -07:00
Sean Wheeler 5595072568 Change docs.microsoft.com to learn.microsoft.com (#19994) 2023-07-17 15:54:17 -07:00
Sean Wheeler 24c704f561 Add Help proxy function for non-Windows platforms (#19972) 2023-07-17 18:22:57 +00:00
Patrick Meinecke 153feb2e60 Fix deadlock when piping to shell associated file extension (#19940) 2023-07-17 11:10:35 -07:00
Armaan Mcleod d24285f437 Remove input text from the error message resulted by SecureString and PSCredential conversion failure (#19977) 2023-07-17 10:30:10 -07:00
Sean Wheeler b58ff3b8ea Fix ///-comments that violate the docs schema (#19957) 2023-07-13 08:16:57 +05:00
Aditya Patwardhan 30098c744a Add Microsoft.Powershell.PSResourceGet for telemetry module list (#19926) 2023-07-12 11:47:24 -07:00
MartinGC94 a8ec19b4f6 Fix completion regression for filesystem paths with custom PSDrive names (#19921) 2023-07-11 12:12:32 -07:00
Dmitry Volodin a26b09d71e Apply the InlineAsTypeCheck in the engine code - 2nd pass (#19694) 2023-07-10 17:17:08 -07:00
Dmitry Volodin b679b59e73 Apply the InlineAsTypeCheck rule in the engine code - 1st pass (#19692) 2023-07-10 17:16:32 -07:00
MartinGC94 ac87d2ae0e Add completion for variables assigned by the Data statement (#19831) 2023-07-10 17:15:05 -07:00
MartinGC94 612857a38c Remove unused string completion code (#19879) 2023-07-10 12:32:21 -07:00
MartinGC94 c5cc8c8bbc Fix a null reference crash in completion code (#19916) 2023-07-10 12:31:27 -07:00
Ikko Eltociear Ashimine 26f6219529 Fix typo in NativeCommandProcessor.cs (#19846) 2023-06-23 12:51:55 -07:00
Sean Wheeler fd586faa98 Update message to use the actual parameter name (#19851) 2023-06-23 12:49:40 -07:00
Patrick Meinecke 066d7bff2c Fix native executables not redirecting to file (#19842) 2023-06-23 12:16:18 -07:00
dependabot[bot] 9ca01729c2 Bump Microsoft.CodeAnalysis.CSharp from 4.6.0 to 4.7.0-2.final (#19838) 2023-06-22 10:21:35 -07:00
Aditya Patwardhan ebe0b54340 Update to .NET 8 Preview 4 (#19696) 2023-06-21 15:17:22 -07:00
josea 16558c9414 Make Update-Help throw proper error when current culture is not associated with a language (#19765) 2023-06-20 09:49:46 -07:00
James Truher [MSFT] 5437f387cc Add a new experimental feature to control native argument passing style on Windows (#18706) 2023-06-19 16:31:56 -07:00
MartinGC94 15213d8494 Do not require activity when creating a completed progress record (#18474) 2023-06-19 16:20:08 -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
James Truher [MSFT] b9b5136f0e Avoid checking screen scraping on non-Windows platforms before launching native app (#19812) 2023-06-19 11:26:14 -07:00
MartinGC94 8b2de76eff Fix completion of the foreach-statement variable (#19814) 2023-06-19 10:20:13 -07:00
Berkan Diler 0f53e80335 Make use of the new Random.Shared property (#18417) 2023-06-12 17:31:04 -07:00
MartinGC94 f093f538fa Fix variable type inference precedence (#18691) 2023-06-12 10:38:17 -07:00
MartinGC94 79d99b501b Fix member completion for PowerShell Enum class (#19740) 2023-06-05 17:04:19 -07:00
Patrick Meinecke cc05fdead2 Remove the property disabling optimization (#19701) 2023-06-05 16:45:11 -07:00
MartinGC94 6520c05949 Fix parsing for array literals in index expressions in method calls (#19224) 2023-06-05 14:10:03 -07:00
MartinGC94 31dd6483b2 Fix incorrect string to type conversion (#19560)
Fixes incorrect string to type conversions like: [Type] 'int]whatever' so they are no longer parsed as types.
This was fixed by adding a check for ScanType to also check that the parsed type name matches the input type name.
2023-05-31 09:39:38 +05:00
CarloToso 0b42d92d4d six files (#19695) 2023-05-25 10:12:42 -07:00
Jakub Jareš d8decdc194 Fix slow execution when many breakpoints are used (#14953) 2023-05-22 17:11:53 -07:00
dependabot[bot] e1aacd7bdd Bump Microsoft.CodeAnalysis.CSharp from 4.6.0-1.final to 4.6.0 (#19667) 2023-05-22 17:08:03 -07:00
James Truher [MSFT] d9697f07ba Add a public API for getting locations of PSModulePath elements (#19422) 2023-05-22 17:02:31 -07:00
Paul Higinbotham e5728b63bf Add WDAC Audit logging (#19641) 2023-05-22 16:40:55 -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