Skip to content

Commit 5bf41ce

Browse files
committed
Add copyright headers to new files
1 parent 692b0ac commit 5bf41ce

25 files changed

+190
-25
lines changed

src/PowerShellEditorServices.Host/DebugAdapter.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter;
1+
//
2+
// Copyright (c) Microsoft. All rights reserved.
3+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
//
5+
6+
using Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter;
27
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
38
using Microsoft.PowerShell.EditorServices.Utility;
49
using System;
@@ -372,3 +377,4 @@ await requestContext.SendResult(
372377
#endregion
373378
}
374379
}
380+

src/PowerShellEditorServices.Host/LanguageServer.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using DebugAdapterMessages = Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter;
1+
//
2+
// Copyright (c) Microsoft. All rights reserved.
3+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
//
5+
6+
using DebugAdapterMessages = Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter;
27
using Microsoft.PowerShell.EditorServices.Protocol.LanguageServer;
38
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
49
using Microsoft.PowerShell.EditorServices.Utility;
@@ -842,3 +847,4 @@ private static ParameterInformation CreateParameterInfo(ParameterInfo parameterI
842847
#endregion
843848
}
844849
}
850+

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
1+
//
2+
// Copyright (c) Microsoft. All rights reserved.
3+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
//
5+
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
27
using Newtonsoft.Json;
38
using Newtonsoft.Json.Linq;
49
using System;
@@ -104,3 +109,4 @@ public Message DeserializeMessage(JObject messageJson)
104109
}
105110
}
106111
}
112+

src/PowerShellEditorServices.Transport.Stdio/LanguageServer/ClientCapabilities.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using System;
1+
//
2+
// Copyright (c) Microsoft. All rights reserved.
3+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
//
5+
6+
using System;
27
using System.Collections.Generic;
38
using System.Linq;
49
using System.Text;
@@ -15,3 +20,4 @@ public class ClientCapabilities
1520
{
1621
}
1722
}
23+

src/PowerShellEditorServices.Transport.Stdio/LanguageServer/CompletionMessages.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
1+
//
2+
// Copyright (c) Microsoft. All rights reserved.
3+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
//
5+
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
27
using System;
38
using System.Collections.Generic;
49
using System.Linq;
@@ -72,3 +77,4 @@ public class CompletionItem
7277
public TextEdit TextEdit { get; set; }
7378
}
7479
}
80+

src/PowerShellEditorServices.Transport.Stdio/LanguageServer/Definition.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
1+
//
2+
// Copyright (c) Microsoft. All rights reserved.
3+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
//
5+
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
27

38
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
49
{
@@ -9,3 +14,4 @@ public static readonly
914
RequestType<TextDocumentPosition, Location[], object>.Create("textDocument/definition");
1015
}
1116
}
17+

src/PowerShellEditorServices.Transport.Stdio/LanguageServer/DiagnosticMessages.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
1+
//
2+
// Copyright (c) Microsoft. All rights reserved.
3+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
//
5+
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
27
using System;
38
using System.Collections.Generic;
49
using System.Linq;
@@ -68,3 +73,4 @@ public class Diagnostic
6873
public string Message { get; set; }
6974
}
7075
}
76+

src/PowerShellEditorServices.Transport.Stdio/LanguageServer/DocumentHighlight.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
1+
//
2+
// Copyright (c) Microsoft. All rights reserved.
3+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
//
5+
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
27

38
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
49
{
@@ -23,3 +28,4 @@ public static readonly
2328
RequestType<TextDocumentPosition, DocumentHighlight[], object>.Create("textDocument/documentHighlight");
2429
}
2530
}
31+

src/PowerShellEditorServices.Transport.Stdio/LanguageServer/Hover.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
1+
//
2+
// Copyright (c) Microsoft. All rights reserved.
3+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
//
5+
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
27
using System;
38
using System.Collections.Generic;
49
using System.Linq;
@@ -29,3 +34,4 @@ public static readonly
2934

3035
}
3136
}
37+

src/PowerShellEditorServices.Transport.Stdio/LanguageServer/InitializeMessages.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
1+
//
2+
// Copyright (c) Microsoft. All rights reserved.
3+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
//
5+
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
27

38
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
49
{
@@ -38,3 +43,4 @@ public class InitializeError
3843
public bool Retry { get; set;}
3944
}
4045
}
46+

0 commit comments

Comments
 (0)