using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using StabilityMatrix.Avalonia.Controls.CodeCompletion;
using StabilityMatrix.Avalonia.Models.TagCompletion;
using StabilityMatrix.Core.Models.FileInterfaces;
namespace StabilityMatrix.Avalonia.DesignData;
public class MockCompletionProvider : ICompletionProvider
{
///
public bool IsLoaded => false;
///
public Func? PrepareInsertionText => null;
///
public Task LoadFromFile(FilePath path, bool recreate = false)
{
return Task.CompletedTask;
}
///
public void BackgroundLoadFromFile(FilePath path, bool recreate = false)
{
}
///
public IEnumerable GetCompletions(TextCompletionRequest completionRequest, int itemsCount, bool suggest)
{
return Array.Empty();
}
}