From a6973106691a5cb2ccb66beba2af5ec4a6ad0f91 Mon Sep 17 00:00:00 2001 From: Taylor Marvin Date: Sun, 29 Jun 2025 04:23:28 -0700 Subject: [PATCH 1/4] - Add .vs directory to git ignore - Remove unnecessary extra word in extension comment --- .gitignore | 1 + src/PowerShellEditorServices/Utility/Extensions.cs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d8c2d5b16..6e7bf44a3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.vs/ bin/ obj/ module/ diff --git a/src/PowerShellEditorServices/Utility/Extensions.cs b/src/PowerShellEditorServices/Utility/Extensions.cs index 88a9fa4f3..1ecf8db49 100644 --- a/src/PowerShellEditorServices/Utility/Extensions.cs +++ b/src/PowerShellEditorServices/Utility/Extensions.cs @@ -9,8 +9,8 @@ namespace Microsoft.PowerShell.EditorServices.Utility internal static class ObjectExtensions { /// - /// Extension to evaluate an object's ToString() method in an exception safe way. This will - /// extension method will not throw. + /// Extension to evaluate an object's ToString() method in an exception safe way. This extension + /// method will not throw. /// /// The object on which to call ToString() /// The ToString() return value or a suitable error message is that throws. From f36fcd5f7ff12c582d3ce24e73aca437f23ac70e Mon Sep 17 00:00:00 2001 From: Taylor Marvin Date: Sun, 29 Jun 2025 04:26:02 -0700 Subject: [PATCH 2/4] - Make LoadAssemblyInPsesLoadContext an Instance method instead of static. Fixes crash on windows arm64. --- .../Extensions/Api/EditorExtensionServiceProvider.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/PowerShellEditorServices/Extensions/Api/EditorExtensionServiceProvider.cs b/src/PowerShellEditorServices/Extensions/Api/EditorExtensionServiceProvider.cs index d750923fb..e57c369d6 100644 --- a/src/PowerShellEditorServices/Extensions/Api/EditorExtensionServiceProvider.cs +++ b/src/PowerShellEditorServices/Extensions/Api/EditorExtensionServiceProvider.cs @@ -162,7 +162,9 @@ public static object GetPsesAssemblyLoadContext() /// /// The absolute path of the assembly to load. /// The loaded assembly object. - public static Assembly LoadAssemblyInPsesLoadContext(string assemblyPath) +#pragma warning disable CA1822 // Mark members as static + public Assembly LoadAssemblyInPsesLoadContext(string assemblyPath) +#pragma warning restore CA1822 // Mark members as static { if (!VersionUtils.IsNetCore) { From b23db7a7d3e4affd7b64ad4dacc969f9baf577b3 Mon Sep 17 00:00:00 2001 From: jasonnorman66994-dot Date: Fri, 9 Jan 2026 20:36:30 -0500 Subject: [PATCH 3/4] Add VS Code extensions recommendations file Signed-off-by: jasonnorman66994-dot --- .vscode/extensions.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .vscode/extensions.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..8f5956f4a --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "ms-vscode.azure-account" + ] +} \ No newline at end of file From fd6bd3417650143009cd290383cc40b9060915a0 Mon Sep 17 00:00:00 2001 From: jasonnorman66994-dot Date: Thu, 15 Jan 2026 06:38:48 -0500 Subject: [PATCH 4/4] chore(vscode): expand extension recommendations for contributors --- .vscode/extensions.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 8f5956f4a..f869bf193 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,5 +1,22 @@ { "recommendations": [ - "ms-vscode.azure-account" + // PowerShell development + "ms-vscode.powershell", + + // .NET / C# for debugging and language features + "ms-dotnettools.csharp", + + // Consistent formatting via .editorconfig + "EditorConfig.EditorConfig", + + // YAML support for CI and config files + "redhat.vscode-yaml", + + // GitHub Actions authoring (repo uses GH workflows) + "GitHub.vscode-github-actions", + + // Markdown authoring and linting for docs + "yzhang.markdown-all-in-one", + "DavidAnson.vscode-markdownlint" ] } \ No newline at end of file