Skip to content

Commit ce7ea86

Browse files
committed
Rename Transport.Stdio namespaces to reflect paths
This change renames the namespaces of all types in the Transport.Stdio assembly to reflect the new type organization. It also changes the default namespace to Microsoft.PowerShell.EditorServices.Protocol. The assembly file name will change in a future commit.
1 parent 5f8ff01 commit ce7ea86

File tree

91 files changed

+175
-277
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+175
-277
lines changed

src/PowerShellEditorServices.Host/MessageLoop.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
//
55

66
using Microsoft.PowerShell.EditorServices;
7-
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Event;
8-
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
9-
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Model;
10-
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Response;
7+
using Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter;
8+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
119
using Nito.AsyncEx;
1210
using System;
1311
using System.IO;

src/PowerShellEditorServices.Host/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
using Microsoft.PowerShell.EditorServices.Transport.Stdio;
76
using Microsoft.PowerShell.EditorServices.Utility;
87
using System;
98
using System.Diagnostics;

src/PowerShellEditorServices.Host/StdioConsoleHost.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Event;
7-
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
87
using Microsoft.PowerShell.EditorServices.Utility;
98
using System;
109
using System.Collections.Generic;

src/PowerShellEditorServices.Transport.Stdio/DebugAdapter/AttachRequest.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
77
using System.Threading.Tasks;
88

9-
namespace Microsoft.PowerShell.EditorServices.Transport.Stdio.Request
9+
namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter
1010
{
1111
[MessageTypeName("attach")]
1212
public class AttachRequest : RequestBase<AttachRequestArguments>
@@ -26,4 +26,3 @@ public class AttachRequestArguments
2626
public int Port { get; set; }
2727
}
2828
}
29-

src/PowerShellEditorServices.Transport.Stdio/DebugAdapter/AttachResponse.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,9 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
7-
using System;
8-
using System.Collections.Generic;
9-
using System.Linq;
10-
using System.Text;
11-
using System.Threading.Tasks;
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
127

13-
namespace Microsoft.PowerShell.EditorServices.Transport.Stdio.Response
8+
namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter
149
{
1510
[MessageTypeName("attach")]
1611
public class AttachResponse : ResponseBase<object>

src/PowerShellEditorServices.Transport.Stdio/DebugAdapter/Breakpoint.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
using System;
7-
using System.Collections.Generic;
8-
using System.Linq;
9-
using System.Text;
10-
using System.Threading.Tasks;
11-
12-
namespace Microsoft.PowerShell.EditorServices.Transport.Stdio.Model
6+
namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter
137
{
148
public class Breakpoint
159
{
@@ -32,4 +26,3 @@ public static Breakpoint Create(
3226
}
3327
}
3428
}
35-

src/PowerShellEditorServices.Transport.Stdio/DebugAdapter/ContinueRequest.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
7-
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Response;
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
87
using Nito.AsyncEx;
98
using System.Threading.Tasks;
109

11-
namespace Microsoft.PowerShell.EditorServices.Transport.Stdio.Request
10+
namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter
1211
{
1312
[MessageTypeName("continue")]
1413
public class ContinueRequest : RequestBase<object>

src/PowerShellEditorServices.Transport.Stdio/DebugAdapter/ContinueResponse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
77

8-
namespace Microsoft.PowerShell.EditorServices.Transport.Stdio.Response
8+
namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter
99
{
1010
[MessageTypeName("continue")]
1111
public class ContinueResponse : ResponseBase<object>

src/PowerShellEditorServices.Transport.Stdio/DebugAdapter/DisconnectRequest.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
7-
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Response;
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
87
using Nito.AsyncEx;
98
using System;
109
using System.Threading.Tasks;
1110

12-
namespace Microsoft.PowerShell.EditorServices.Transport.Stdio.Request
11+
namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter
1312
{
1413
[MessageTypeName("disconnect")]
1514
public class DisconnectRequest : RequestBase<object>

src/PowerShellEditorServices.Transport.Stdio/DebugAdapter/DisconnectResponse.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,9 @@
33
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
44
//
55

6-
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
7-
using System;
8-
using System.Collections.Generic;
9-
using System.Linq;
10-
using System.Text;
11-
using System.Threading.Tasks;
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
127

13-
namespace Microsoft.PowerShell.EditorServices.Transport.Stdio.Response
8+
namespace Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter
149
{
1510
[MessageTypeName("disconnect")]
1611
public class DisconnectResponse : ResponseBase<object>

0 commit comments

Comments
 (0)