Skip to content

Commit

Permalink
Update language client. (see #4)
Browse files Browse the repository at this point in the history
  • Loading branch information
soroshsabz committed Feb 17, 2023
1 parent e946a2e commit dde4159
Showing 1 changed file with 41 additions and 2 deletions.
43 changes: 41 additions & 2 deletions Source/Ansible.VisualStudio/AnsibleLanguageClient.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,51 @@
using System;
using Microsoft.VisualStudio.LanguageServer.Client;
using Microsoft.VisualStudio.Threading;
using Microsoft.VisualStudio.Utilities;
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace Ansible.VisualStudio
{
public class AnsibleLanguageClient
[ContentType("ansible")]
[Export(typeof(ILanguageClient))]
public class AnsibleLanguageClient : ILanguageClient
{
public string Name => "Ansible Language Extension";

public IEnumerable<string> ConfigurationSections => null;

public object InitializationOptions => null;

public IEnumerable<string> FilesToWatch => null;

public bool ShowNotificationOnInitializeFailed => true;

public event AsyncEventHandler<EventArgs> StartAsync;
public event AsyncEventHandler<EventArgs> StopAsync;

public Task<Connection> ActivateAsync(CancellationToken token)
{
throw new NotImplementedException();
}

public Task OnLoadedAsync()
{
throw new NotImplementedException();
}

public Task OnServerInitializedAsync()
{
throw new NotImplementedException();
}

public Task<InitializationFailureContext> OnServerInitializeFailedAsync(ILanguageClientInitializationInfo initializationState)
{
throw new NotImplementedException();
}
}
}

0 comments on commit dde4159

Please sign in to comment.