public DebugController(IDialControllerHost host) { _dte = host.DTE; _events = _dte.Events.DebuggerEvents; _events.OnEnterBreakMode += delegate { host.RequestActivation(_dte.MainWindow, Moniker); }; _events.OnEnterDesignMode += delegate { host.ReleaseActivation(_dte.MainWindow); }; }
public async Task <IDialController> TryCreateControllerAsync(IDialControllerHost host, IAsyncServiceProvider provider, CancellationToken cancellationToken) { string iconFilePath = VsHelpers.GetFileInVsix(@"Providers\Errors\icon.png"); await host.AddMenuItemAsync(Moniker, iconFilePath); return(new ErrorsController(host)); }
public IDialController TryCreateController(IDialControllerHost host) { string iconFilePath = VsHelpers.GetFileInVsix("Providers\\Editor\\icon.png"); host.AddMenuItem(Moniker, iconFilePath); return(new EditorController(CompletionBroker)); }
public IDialController TryCreateController(IDialControllerHost host) { string iconFilePath = VsHelpers.GetFileInVsix("Providers\\Bookmarks\\icon.png"); host.AddMenuItem(Moniker, iconFilePath); return(new BookmarksController(host)); }
public IDialController TryCreateController(IDialControllerHost host) { string iconFilePath = VsHelpers.GetFileInVsix("Providers\\Customizable\\icon.png"); host.AddMenuItem(Moniker, iconFilePath); return(new CustomizableController()); }
public ErrorsController(IDialControllerHost host) { _host = host; _dte = host.DTE; _errorList = _dte.ToolWindows.ErrorList as IErrorList; _events = _dte.Events.WindowEvents; _events.WindowActivated += WindowActivated; }
public BookmarksController(IDialControllerHost host, IVsTextManager textManager) : base(host, textManager) { _host = host; _commands = host.DTE.Commands; _events = host.DTE.Events.WindowEvents; _events.WindowActivated += WindowActivated; }
public IDialController TryCreateController(IDialControllerHost host) { string folder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); string iconFilePath = Path.Combine(folder, "Providers\\Errors\\icon.png"); host.AddMenuItem(Moniker, iconFilePath); return(new ErrorsController()); }
public async Task <IDialController> TryCreateControllerAsync(IDialControllerHost host, IAsyncServiceProvider provider, CancellationToken cancellationToken) { string iconFilePath = VsHelpers.GetFileInVsix(@"Providers\Zoom\icon.png"); await host.AddMenuItemAsync(Moniker, iconFilePath); IVsTextManager textManager = await provider.GetServiceAsync <SVsTextManager, IVsTextManager>(cancellationToken); return(new ZoomController(host, textManager)); }
public IDialController TryCreateController(IDialControllerHost host) { return(new NumbersController()); }
public EditorController(IDialControllerHost host, IVsTextManager textManager, ICompletionBroker completionBroker) : base(host, textManager) { _dte = host.DTE; _broker = completionBroker; }
public DebugController(IDialControllerHost host) { _events = VsHelpers.DTE.Events.DebuggerEvents; _events.OnEnterBreakMode += delegate { host.RequestActivation(Moniker); }; _events.OnEnterDesignMode += delegate { host.ReleaseActivation(); }; }
public FindController(IDialControllerHost host, IVsTextManager textManager) : base(host, textManager) { _commands = host.DTE.Commands; }
internal BaseTextController(IDialControllerHost host, IVsTextManager textManager) { this.host = host; this.textManager = textManager; }
public ErrorsController(IDialControllerHost host) { _host = host; _events = VsHelpers.DTE.Events.WindowEvents; _events.WindowActivated += WindowActivated; }
public IDialController TryCreateController(IDialControllerHost host) { return(new ColorController()); }
public IDialController TryCreateController(IDialControllerHost host) { host.AddMenuItem(PredefinedMonikers.Scroll, Windows.UI.Input.RadialControllerMenuKnownIcon.Scroll); return(new ScrollController()); }
public IDialController TryCreateController(IDialControllerHost host) { host.AddMenuItem(PredefinedMonikers.Navigate, Windows.UI.Input.RadialControllerMenuKnownIcon.NextPreviousTrack); return(new NavigateController()); }
public CustomizableController(IDialControllerHost host) { _commands = host.DTE.Commands; }
public IDialController TryCreateController(IDialControllerHost host) { return(new SolutionExplorerController()); }