In terms of the type of the active document, it should be of C# or VB.NET source file most of times, but many other times it can be of other format such as C++ and TXT.
These Document Widgets of Visual Smarter can be categorized into a few groups. Here they are, along with some brief descriptions for each widget.
Headers & Footers
Add New Document Header: adding a new document header to the active document through picking up a text file from outside.
Add Last Document Header: adding the last document header if any, which was kept in cache, to the active document. No need to pick up the same external file again and again.
Add New Document Footer: adding a new document footer to the active document through picking up a text file from outside.
Add Last Document Footer: adding the last document footer if any, which was kept in cache, to the active document. No need to pick up the same external file again and again.
Remove Document Header: removing the document header from the active document.
Remove Document Footer: removing the document footer from the active document.
Usings/Imports
Add New Document Usings/Imports: adding some Usings/Imports to the active document through picking up a new text file from outside.
Add Last Document Usings/Imports: adding the same Usings/Imports as imported last time if any to the active document. No need to pick up the same external file again and again.
Remove Unused Usings/Imports: removing those unused Usings/Imports from the active document.
Remove Unused Usings/Imports And Sort: removing those unused Usings/Imports from the active document and sort the remaining ones.
Remove All Usings/Imports: removing all the existing Usings/Imports from the active document so that some new and consistent Usings/Imports to be added in.
GUIDs
Regen GUIDs: regenerating all the GUIDs in the active document, and get those GUIDs having the same value before if any to have the same new value. This is useful for those documents that have consistent GUIDs, which need to be replaced with some new values but should maintain the same consistent behavior.
Regen & Uniquify GUIDs: regenerating all the GUIDs in the active document, and get those GUIDs having the same value before if any to have different new values. This is useful for a document that has many GUIDs copied and pasted around here and there, different or the same, that should have unique value for each GUID finally.
Search Pattern & Replace with Auto-GUIDs: searching a pattern (can be a regular expression or simply a keyword) and replace each result with a new auto-generated GUID.
Fill Empty Strings with Auto-GUIDs: filling all empty strings with auto-generated GUIDs.
List GUIDs: listing out all GUIDs in the active document.
Marks & Revisions
Add Revision Marks: adding revision marks to the document, at the top of the document or right below the document header.
Add EndOf Marks: adding EndOf marks to the last line (brace) of those if/switch/while/for/foreach code blocks of C# and C++.
Regions
Move To Region Begin/End: moving to the the begin or end of the region where the cursor is currently within.
Collapse All Regions: collapsing all regions in the active document.
Expand All Regions: expanding all regions in the active document.
Remove Empty Regions: removing all empty regions from the active document.
Remove All Regions: removing all regions from the active document and leaving the real code of course.
Remove & Clean UP
Remove Comments: removing all comments from the active document.
Remove Empty Lines: removing all empty lines from the active document.
Remove Comments && Empty Lines: removing all comments and empty lines from the active document.
Remove LineEnd Spaces: removing all line-end spaces from the active document.
Remove TODO Lines: removing all TODO lines from the active document.
Remove NotImplemented Lines: removing all NotImplemented lines from the active document.
Remove Debug Assert Lines: removing all Debug.Assert call lines from the active document.
Remove Debug Print Lines: removing all Debug.Print call lines from the active document.
Remove Debug Write Lines: removing all Debug.Write call lines from the active document.
Remove All Debug Output Lines: removing all Debug output call lines from the active document.
Remove Empty Regions: removing all empty regions from the active document.
Remove All Regions: removing all regions from the active document and leaving the real code of course.
Remove Unused Usings/Imports: removing those unused Usings/Imports from the active document.
Remove Unused Usings/Imports And Sort: removing those unused Usings/Imports from the active document and sort the remaining ones.
Remove All Usings/Imports: removing all the existing Usings/Imports from the active document so that some new and consistent Usings/Imports to be added in.
Remove Document Header: removing the document header from the active document.
Remove Document Footer: removing the document footer from the active document.
Replace Multiple Empty Lines with Single: replacing multiple empty lines with a single one.
Tabify the Active Document: replacing while spaces with tabs as specified in the options.
Untabify the Active Document: replacing tabs with while spaces as specified in the options.
Clean Up: cleaning up the active document with options.
Download Visual Smarter and/or Make Donation
No comments:
Post a Comment