mirror of
https://github.com/x64dbg/cpptripleslash.git
synced 2026-11-11 23:30:23 -10:00
25 lines
853 B
C#
25 lines
853 B
C#
namespace CppTripleSlash
|
|
{
|
|
using Microsoft.VisualStudio.Language.Intellisense;
|
|
using Microsoft.VisualStudio.Text;
|
|
using Microsoft.VisualStudio.Text.Operations;
|
|
using Microsoft.VisualStudio.Utilities;
|
|
using System.ComponentModel.Composition;
|
|
|
|
[Export(typeof(ICompletionSourceProvider))]
|
|
[ContentType("code")]
|
|
[Name("xml doc comment completion")]
|
|
public class TripleSlashCompletionSourceProvider : ICompletionSourceProvider
|
|
{
|
|
[Import]
|
|
internal ITextStructureNavigatorSelectorService NavigatorService { get; set; }
|
|
|
|
[Import]
|
|
internal IGlyphService GlyphService { get; set; }
|
|
|
|
public ICompletionSource TryCreateCompletionSource(ITextBuffer textBuffer)
|
|
{
|
|
return new TripleSlashCompletionSource(this, textBuffer);
|
|
}
|
|
}
|
|
} |