Macro to insert File header and function header in C#
-
Hi, Any links to write file header and function header in c# files? I am looking at freeware plugins/ add-ins like in VC6 to automatically insert function headers and file headers. How easy is it to write own tools for same? Is there any inbuilt feature for this in VS2005 which I am missing? Thanks, Arti Gujare -- modified at 6:16 Friday 27th April, 2007
-
Hi, Any links to write file header and function header in c# files? I am looking at freeware plugins/ add-ins like in VC6 to automatically insert function headers and file headers. How easy is it to write own tools for same? Is there any inbuilt feature for this in VS2005 which I am missing? Thanks, Arti Gujare -- modified at 6:16 Friday 27th April, 2007
You can use snippets or modify the new class template.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
You can use snippets or modify the new class template.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Thank you Chritian Graus. Using the Export Template, I was able to export the template for the whole class which will surely be useful when I am writing a new class. But there are some existing class which I need to adhere to the coding standards. This is what I want to achieve. Open a file, Select a function, click the add-in/macro and a fucntion header in the form of XML comments should get added automatically. How can I do this? Thanks and Regards, Arti Gujare
-
Thank you Chritian Graus. Using the Export Template, I was able to export the template for the whole class which will surely be useful when I am writing a new class. But there are some existing class which I need to adhere to the coding standards. This is what I want to achieve. Open a file, Select a function, click the add-in/macro and a fucntion header in the form of XML comments should get added automatically. How can I do this? Thanks and Regards, Arti Gujare
Have you looked at GhostDoc. http://www.roland-weigelt.de/ghostdoc/[^] It will do some of what you want if I understand you correctly. For a file header, you could try writing a code snippet.
Kevin