Skip to content

Commit 38e7445

Browse files
committed
Removed unnecessary changes.
1 parent fd43d8e commit 38e7445

File tree

5 files changed

+8
-72
lines changed

5 files changed

+8
-72
lines changed

src/PowerShellEditorServices.Hosting/BuildInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Microsoft.PowerShell.EditorServices.Hosting
55
public static class BuildInfo
66
{
77
public static readonly string BuildVersion = "<development-build>";
8-
public static readonly string BuildOrigin = "Development";
8+
public static readonly string BuildOrigin = "<development>";
99
public static readonly System.DateTime? BuildTime = System.DateTime.Parse("2020-05-03T16:39:35", CultureInfo.InvariantCulture.DateTimeFormat);
1010
}
1111
}

src/PowerShellEditorServices.Hosting/Commands/StartEditorServicesCommand.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,6 @@ public StartEditorServicesCommand()
202202
[Parameter]
203203
public string StartupBanner { get; set; }
204204

205-
/// <summary>
206-
/// The desired InitialSessionState, useful for using PSES in a ConstrainedRunspace.
207-
/// </summary>
208-
[Parameter]
209-
public InitialSessionState InitialSessionState { get; set; }
210-
211205
protected override void BeginProcessing()
212206
{
213207
#if DEBUG

src/PowerShellEditorServices/PowerShellEditorServices.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@
5353
</ItemGroup>
5454

5555
<ItemGroup>
56-
<Compile Remove="Extensions\Api\DocumentSymbolService.cs"/>
56+
<Compile Remove="Extensions\Api\DocumentSymbolService.cs" />
57+
</ItemGroup>
58+
59+
<ItemGroup>
60+
<Folder Include="Properties\" />
5761
</ItemGroup>
5862
</Project>

src/PowerShellEditorServices/Properties/Resources.Designer.cs

Lines changed: 0 additions & 63 deletions
This file was deleted.

src/PowerShellEditorServices/Services/PowerShellContext/PowerShellContextService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.PowerShell.EditorServices.Services
2424
using System.Management.Automation;
2525
using Microsoft.PowerShell.EditorServices.Handlers;
2626
using Microsoft.PowerShell.EditorServices.Hosting;
27-
using Microsoft.PowerShell.EditorServices.Services.PowerShellContext;
27+
using Microsoft.PowerShell.EditorServices.Services.PowerShellContext;
2828

2929
/// <summary>
3030
/// Manages the lifetime and usage of a PowerShell session.
@@ -222,6 +222,7 @@ public static PowerShellContextService Create(
222222
powerShellContext.Initialize(hostStartupInfo.ProfilePaths, initialRunspace, true, hostUserInterface);
223223
// TODO: This can be moved to the point after the $psEditor object
224224
// gets initialized when that is done earlier than LanguageServer.Initialize
225+
// Darren Kattan: I haven't tested it, but I have a feeling this entire bit of logic can be replaced with the bit above for non-FullLanguage mode. I think that was is cleaner anyway.
225226
if (hostStartupInfo.InitialSessionState.LanguageMode == PSLanguageMode.FullLanguage)
226227
{
227228
powerShellContext.ImportCommandsModuleAsync();

0 commit comments

Comments
 (0)