public PeekDefinitionCommand(ITextView textView, ITextBuffer textBuffer, IPeekBroker peekBroker) : base(textView, new CommandId(typeof(VSConstants.VSStd12CmdID).GUID, (int)VSConstants.VSStd12CmdID.PeekDefinition), needCheckout: false) { _textBuffer = textBuffer; _peekBroker = peekBroker; }
public PeekDefinitionCommand(ITextView textView, ITextBuffer textBuffer) : base(textView, new CommandId(typeof(VSConstants.VSStd12CmdID).GUID, (int)VSConstants.VSStd12CmdID.PeekDefinition), needCheckout: false) { _textBuffer = textBuffer; _peekBroker = EditorShell.Current.ExportProvider.GetExportedValue <IPeekBroker>(); }
public TacticReplacerProxy(ITextDocumentFactoryService tdf, IServiceProvider isp, IPeekBroker pb) { _status = (IVsStatusbar)isp.GetService(typeof(SVsStatusbar)); RefactoringUtil.Tdf = tdf; _pb = pb; _activePeekSession = new Dictionary <string, ActivePeekSessionData>(); }
private EditFilter( IVsTextView vsTextView, ITextView textView, IEditorOperations editorOps, IServiceProvider serviceProvider, IComponentModel model, IOleCommandTarget next ) { _vsTextView = vsTextView; _textView = textView; _editorOps = editorOps; _serviceProvider = serviceProvider; _componentModel = model; _pyService = _serviceProvider.GetPythonToolsService(); _entryService = _componentModel.GetService <AnalysisEntryService>(); _undoManagerProvider = _componentModel.GetService <ITextBufferUndoManagerProvider>(); _next = next; _peekBroker = _componentModel.GetService <IPeekBroker>(); BraceMatcher.WatchBraceHighlights(textView, _componentModel); if (_next == null) { ErrorHandler.ThrowOnFailure(vsTextView.AddCommandFilter(this, out _next)); } }
public InlineCommentPeekService( IApiClientFactory apiClientFactory, IOutliningManagerService outliningManager, IPeekBroker peekBroker) { this.apiClientFactory = apiClientFactory; this.outliningService = outliningManager; this.peekBroker = peekBroker; }
public InlineCommentPeekService( IOutliningManagerService outliningManager, IPeekBroker peekBroker, IUsageTracker usageTracker) { this.outliningService = outliningManager; this.peekBroker = peekBroker; this.usageTracker = usageTracker; }
internal TextManager( IVsAdapter adapter, ITextDocumentFactoryService textDocumentFactoryService, ITextBufferFactoryService textBufferFactoryService, ISharedServiceFactory sharedServiceFactory, IPeekBroker peekBroker, SVsServiceProvider serviceProvider) : this(adapter, textDocumentFactoryService, textBufferFactoryService, sharedServiceFactory.Create(), peekBroker, serviceProvider) { }
public Dev14KeyProcessor(IWpfTextView wpfTextView, ILightBulbBroker lightBulbBroker, ISuggestedActionCategoryRegistryService suggestedActionCategoryRegistryService, ISmartTagBroker smartTagBroker, IPeekBroker peekBroker) { this.wpfTextView = wpfTextView; this.lightBulbBroker = lightBulbBroker; this.suggestedActionCategoryRegistryService = suggestedActionCategoryRegistryService; this.smartTagBroker = smartTagBroker; this.peekBroker = peekBroker; AddShortcuts(); }
public IntellisenseController(IPeekBroker peekBroker, ISignatureHelpBroker signatureHelpBroker, INavigationTokenService navigationService, ITextView textView) { _peekBroker = peekBroker; _signatureHelpBroker = signatureHelpBroker; _textView = textView; _navigationService = navigationService; var asmType = _textView.TextSnapshot.GetAsmType(); _signatureConfig = SignatureConfig.GetSignature(asmType); }
public IntellisenseControllerProvider(RadeonServiceProvider editorService, IPeekBroker peekBroker, ISignatureHelpBroker signatureHelpBroker, INavigationTokenService navigationService) { _adaptersFactoryService = editorService.EditorAdaptersFactoryService; _peekBroker = peekBroker; _signatureHelpBroker = signatureHelpBroker; _navigationService = navigationService; var optionProvider = GeneralOptionProvider.Instance; optionProvider.OptionsUpdated += OptionsUpdated; OptionsUpdated(optionProvider); }
internal TextManager( IVsAdapter adapter, ITextDocumentFactoryService textDocumentFactoryService, ITextBufferFactoryService textBufferFactoryService, ISharedService sharedService, IPeekBroker peekBroker, SVsServiceProvider serviceProvider) { _vsAdapter = adapter; _serviceProvider = serviceProvider; _textManager = _serviceProvider.GetService <SVsTextManager, IVsTextManager>(); _textDocumentFactoryService = textDocumentFactoryService; _textBufferFactoryService = textBufferFactoryService; _runningDocumentTable = _serviceProvider.GetService <SVsRunningDocumentTable, IVsRunningDocumentTable>(); _sharedService = sharedService; _peekBroker = peekBroker; }
public CommandFilter(ITextView textView, IPeekBroker peekBroker, ITelemetrySession telemetrySession) { if (textView == null) { throw new ArgumentNullException("textView"); } if (peekBroker == null) { throw new ArgumentNullException("peekBroker"); } if (telemetrySession == null) { throw new ArgumentNullException("telemetrySession"); } _textView = textView; _peekBroker = peekBroker; _telemetrySession = telemetrySession; }
public TacticReplacerProxy(ITextDocumentFactoryService tdf, IServiceProvider isp, IPeekBroker pb) { _status = (IVsStatusbar) isp.GetService(typeof(SVsStatusbar)); RefactoringUtil.Tdf = tdf; _pb = pb; _activePeekSession = new Dictionary<string, ActivePeekSessionData>(); }
public TacticReplacerProxy(ITextDocumentFactoryService tdf, IServiceProvider isp, IPeekBroker pb) { Util.Status = (IVsStatusbar) isp.GetService(typeof(SVsStatusbar)); Util.Tdf = tdf; _pb = pb; }