Abstract
Thus far, in working with code in the IDE’s Text Editor windows, I’ve made very few references to the extensibility object of Visual Studio.NET. I’ve done this for two reasons. First, I wanted to get quickly and simply into building some usable functionality in an add-in. Second, I wanted to demonstrate the use of some common methods that you can reuse most of the time for retrieving code from a code window, performing some operation on the code, and subsequently putting it back into the code window without having to constantly be concerned with the complex syntax of the extensibility object. I suspect that the library routines I’ve provided for retrieval and replacement of code in a window will work for you 90 percent of the time you want to work on code.
“What matters most in life is not so much how much time we have, but what
we do with the time we are given.”
—Author Unknown
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2002 Les Smith
About this chapter
Cite this chapter
Smith, L. (2002). Manipulating Code in Windows. In: Writing Add-ins for Visual Studio .NET. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-1101-3_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-1101-3_5
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-59059-026-3
Online ISBN: 978-1-4302-1101-3
eBook Packages: Springer Book Archive