(마지막 업데이트: 2014-03-14 15:51)
Visual Studio에서 XML 주석을 "내용까지 채워서" 자동으로 만들어 주는 플러그인 프로그램이다.
간단하게 주석 만들 때 매우 유용하다.
-----
GhostDoc
XML comments are invaluable tools when documenting your application. Using XML comments, you can mark up your code and then, using a tool like nDoc, you can generate help files or MSDN-like Web documentation based on those comments. The only problem with XML documentation is the time it takes to write it you often end up writing similar statements over and over again. The goal of GhostDoc is to automate the tedious parts of writing XML comments by looking at the name of your class or method, as well as any parameters, and making an educated guess as to how the documentation should appear based on recommended naming conventions. This is not a replacement for writing thorough documentation of your business rules and providing examples, but it will automate the mindless part of your documentation generation.
For instance consider the method shown here: private void SavePerson(Person person) { } After installing GhostDoc, you can right-click on the method declaration and choose Document this. The following comments will then be added to your document: ///
/// Person. private void SavePerson(Person person) { } As you can see, GhostDoc has automatically generated a summary based on how the method was named and has also populated the parameter comments. Don't stop hereyou should add additional comments stating where the person is being saved to or perhaps give an example of creating and saving a person. Here is my comment after adding some additional information by hand: ///
/// The Person to be saved private void SavePerson(Person person) { }
Adding these extra comments is much easier since the basic, redundant portion is automatically generated by GhostDoc. GhostDoc also includes options that allow you to modify existing rules and add additional rules that determine what kind of comments should be generated.
GhostDoc was written by Roland Weigelt and can be downloaded from www.roland-weigelt.de/ghostdoc.
다운로드: http://submain.com/products/ghostdoc.aspx
'추천자료실' 카테고리의 다른 글
[자작] 영문 한글 자동 변환기 (1) | 2008.06.26 |
---|---|
Paint.NET (0) | 2008.06.26 |
[자작] ADSC(Active Directory Schema Creator) ver 2.1 (0) | 2008.06.26 |
Visual Studio.NET 버전 관리 플러그인 (0) | 2008.06.26 |
강력한 .NET 테스트 도구 Nunit v2.6.3 (0) | 2008.06.26 |