Introduction
When seeing the article Line Counter - Writing a Visual Studio 2005 Add-In [^] written by Jon Rista, I wanted to show you how to write that add-in for SharpDevelop. In this article, I will show you how to create an add-in, but I will not discuss the details of SharpDevelop's add-in architecture here - you can read more about that in my article Building Applications with the SharpDevelop Core [^]. The line counter code is taken from the VS2005 add-in written by Jon Rista; the counting algorithm itself is from Oz Solomon. I will discuss the changes I did to the code in this article - after all, there aren't so many changes required.
Creating a new add-in
Our add-in will be a menu entry in the "Tools" menu that opens a document window displaying the line counter UI. While it is possible to develop SharpDevelop add-ins in Visual Studio, you can get started a lot faster if you use SharpDevelop because it already comes with a project template for an add-in extending the "Tools" menu: "Tools menu entry".
Read more: Codeproject
When seeing the article Line Counter - Writing a Visual Studio 2005 Add-In [^] written by Jon Rista, I wanted to show you how to write that add-in for SharpDevelop. In this article, I will show you how to create an add-in, but I will not discuss the details of SharpDevelop's add-in architecture here - you can read more about that in my article Building Applications with the SharpDevelop Core [^]. The line counter code is taken from the VS2005 add-in written by Jon Rista; the counting algorithm itself is from Oz Solomon. I will discuss the changes I did to the code in this article - after all, there aren't so many changes required.
Creating a new add-in
Our add-in will be a menu entry in the "Tools" menu that opens a document window displaying the line counter UI. While it is possible to develop SharpDevelop add-ins in Visual Studio, you can get started a lot faster if you use SharpDevelop because it already comes with a project template for an add-in extending the "Tools" menu: "Tools menu entry".
Read more: Codeproject