Activity Detection in Visual Studio Editor

I would like to know if there is a software hook in the visual studio editor so that I can determine if someone will print in the editor.

Thank!

+3
source share
2 answers

There are several ways to do this in Visual Studio. Here are a few different hooks available.

  • IOleCommandTarget: Key strokes in Visual Studio will ultimately present themselves as commands and will be routed through this chain.
  • KeyProcessor: for direct input of the WPF keyboard, you can create an MTA component IKeyProcessorProviderand create a created KeyProcessorinput descriptor
  • ITextBuffer::Changed: .

, SO . google, .

, Visual Studio - . Windows, Visual Studio, WPF, MEF-, - .. , . , Visual Studio , .

.

+5

. (, ViEmu, Resharper ..). VS MEF. , Google .

0

Source: https://habr.com/ru/post/1770081/


All Articles