Programming

2 minute read

I had spent considerable time trying to open a new document window and then set the document text to the result of the generated template text. I found this to be an almost impossible task and proposed this on the Microsoft Visual Studio Extensibility forums. The response that I got was that after looking into this functionality the best approach would be to save the text to a file and then open the document window.

2 minute read

While implementing a custom CodeSmith Generator Template Editor into Visual Studio 2010. I ran into an issue with getting the GoTo Line functionality to work properly. According to Microsoft this functionality needs to be provided by the custom editor as well as the GoTo Line dialog will need to be implemented as there is no “official public extension point”. This makes sense if you are taking over control of the editor but I feel that Microsoft should expose this dialog. I was able…