public ICompletionSource TryCreateCompletionSource(ITextBuffer textBuffer) return new MySqlWindowFunctionCompletionSource(textBuffer);
public MySqlWindowFunctionCompletionSource(ITextBuffer buffer) mysql for visual studio 2.0.5
private readonly ITextBuffer _buffer; private readonly List<Completion> _windowFunctions; private readonly List<
public void AugmentCompletionSession(ICompletionSession session, IList<CompletionSet> completionSets) textUpToCursor.Contains("WINDOW")) var completionSet = new CompletionSet( "MySQLWindowFunctions", "MySQL Window Functions", _windowFunctions, null, null); completionSets.Add(completionSet); "MySQL Window Functions"
private bool IsMySqlActiveConnection()
// Access MySQL for Visual Studio's connection manager // return MySqlConnectionManager.IsConnected;
public void Dispose() <Content Include="MySqlWindowFunctionCompletionProvider.cs"> <IncludeInVSIX>true</IncludeInVSIX> </Content> [Export(typeof(ICompletionSourceProvider))] [Name("MySQL Window Functions")] [ContentType("SQL")] [Order(After = "default")] internal class MySqlWindowFunctionCompletionProvider : ICompletionSourceProvider