Sunday, December 6, 2015

Features of Solution Widgets in Visual Smarter

There are many Solution Widgets in Visual Smarter. They are designed to operate on the active (current) solution, which is open in the Visual Studio IDE. The operations however can vary very much, such as setting solution options/properties, changing references of all projects, formatting each document in all projects, modifying every member of each type of all documents in all projects of the solution, and so on. 


These Solution Widgets of Visual Smarter can be categorized into a few groups. Here they are, along with some brief descriptions for each widget.

Common


Split Solution: splitting the active solution into two.

Merge Solution: merging an external selected solution with the active one. 

Tweak Target .NET Framework for All Projects: resetting the target .NET framework of all projects as the same version as specified.

Open the Project Output Location: opening the output location of the project that the active document is in.



Locate the Active Document in Solution Explorer: locating the active document in the solution explorer.

Find All Missing Files: finding all missing files in all projects.

Find All Types: finding all types with a search pattern.


Projects


Reload All Unloaded Projects: reloading all unloaded projects.

Reload Selected Unloaded Projects: reloading the selected unloaded projects.

Unload All Projects: unloading all projects.


Unload Selected Projects: unloading the selected projects.


Load Projects From External Folder: loading all projects from an external folder as specified. 


Remove Selected Projects: removing the selected projects from the solution.

Set Dependent Projects: setting some projects as dependent projects of the other

Turn ON Register-for-COM-interop  for All Projects: turning on the Register-for-COM-interop setting for all projects.

Turn OFF Register-for-COM-interop  for All Projects: turning off the Register-for-COM-interop setting for all projects.


References


Copy References Between Projects: copying references from some projects to the other.

Remove References From Projects: removing all references from the selected projects.


Set EmbedInteropTypes as True for All References: setting the Embed-Interop-Types property as True for all references of all projects.


Set EmbedInteropTypes as False for All References:  setting the Embed-Interop-Types property as False for all references of all projects.

Add the Selected Project as Reference to All Other:  adding the selected project as references to all other projects.

Remove the Selected Project as Reference from All Other: removing the selected project from reference from all other projects.

List Bad References: listing out all bad references in all projects.



Remove Bad References: removing all bad references from all projects.





Documents






Add Usings/Imports to All Documents: adding Usings/Imports from an external selected file to all documents of all projects.


Add C# Header to All Documents: adding a C# header from an external text file into all documents of all projects.

Add VB.NET Header to All Documents: adding a VB.NET header from an external text file into all documents of all projects

Add Revision Marks to All Documents: adding revision marks into all documents, at the top or right below the document header, in all projects.

Add EndOf Marks to All Documents: adding EndOf marks to the last line (brace) of those if/switch/while/for/foreach code blocks of C# and C++ documents in all projects.




Members


Make Fields of All Types be Default:  making fields of all types to be default, in all projects. 

Make Fields of All Types be Private: making fields of all types to be private, in all projects. 

Make Fields of All Types be Read-Only: making fields of all types to be read-only, in all projects. 

Make Fields of All Types be Writable: making fields of all types to be writable, in all projects. 

Add Me./this. to Member Calls in All Types: adding Me./this. to all member calls of all types in all projects.


Format & Clean Up

Format All Documents of All Projects: formatting all documents of all projects, based on some criteria. 

Clean Up All Documents of All Projects: cleaning up all documents of all projects, based on some criteria. 


List Information

List .NET Framework Versions: listing out the .NET Framework versions of all projects.
List Project Assembly Names: listing out the assembly names of all projects.

List Project Output Paths: listing out the output paths of all projects.

List Project References: listing out references of all projects.

List Project Startup Actions: listing out startup actions of all projects.

List Unloaded Projects: listing out all unloaded projects in the solution.

List Files Not Included: listing out files not included by any projects of the solution.

List Read-Only Files: listing out read-only files in all projects.

List Writable Files: listing out all writable files that are included by projects.

List All GUIDs: listing out all GUIDs of all documents in all projects.

List Bad References: listing out all bad references in all projects.

Remove Bad References: removing all bad references from all projects.

List Files of Pattern: listing out files of pattern from all projects.

List Project References Instead of Assembly Ones: listing out all project references instead of assembly ones from all projects.

Print Concise Solution Information: printing out the concise solution information.

Print Verbose Solution Information: printing out the verbose solution information.

Retrieve All Namespaces: retrieving all namespaces from all documents of all projects.



Settings/Options




Turn ON Register-for-COM-interop  for All Projects: turning on the Register-for-COM-interop setting for all projects.

Turn OFF Register-for-COM-interop  for All Projects: turning off the Register-for-COM-interop setting for all projects.

Set EmbedInteropTypes as True for All References: setting the Embed-Interop-Types property as True for all references of all projects.

Set EmbedInteropTypes as False for All References:  setting the Embed-Interop-Types property as False for all references of all projects.


Saturday, December 5, 2015

Features of Project Widgets of Visual Smarter

There are many Project Widgets in Visual Smarter. They are designed to operate mostly on the active (current) project of the solution, which is open in the Visual Studio IDE, with some exceptions. 


In terms of the type of the active project, it should be of C# or VB.NET project most of times, but some times it can be of C++.

These Project Widgets of Visual Smarter can be categorized into a few groups. Here they are, along with some brief descriptions for each widget.

Common

Import Images: importing all images from a specified external folder, flat or nested, into the active project as embedded resources.

Backup Projects: backing up the selected projects in the solution explorer or the active project.

Activate the Startup Project: activating the startup project (making the startup project active).

Build the Startup Project: building the startup project instead of the active one, if not the same.

Usings/Headers/Footers/Markers

Add Usings/Imports to All Documents: adding Usings/Imports from an external text file into all documents of the active project.

Add Headers to All Documents: adding Header from an external file into all documents of the same type, as specified, in the active project.

Add Footers to All Documents: adding Footer from an external file into all documents of the same type, as specified, in the active project.

Add Revision Marks to All Documents: adding revision marks into all documents, at the top or right below the document header, in the active project.

Add EndOf Marks to All Documents: adding EndOf marks to the last line (brace) of those if/switch/while/for/foreach code blocks of C# and C++ documents in the active project.


Format & Clean Up

Tabify All Documents: tabifying all documents of the active project.
Untabify All Documents: untabifying all documents of the active project.

Format All Documents: formatting all documents of the active document, based on criteria.

Clean Up All Documents: cleaning up all documents of the active document, based on criteria.


List Information

List .NET Framework Info: listing out the .NET Framework information of the active project.
List Project Info (Concise): listing out the concise information of the active project.

List Project Info (Verbose): listing out the verbose information of the active project.

List All Files Included by the Active Project: listing out all files that are included by the active project.

List Files Not Included by the Active Project: listing out all files that are NOT included by the active project.

List Read-Only Files in the Active Project: listing out all read-only files that are included by the active project.

List Writable Files in the Active Project: listing out all writable files that are included by the active project.

List LINK Files in the Active Project: listing out all LINK files that are included by the active project.

List Files of KIND in the Active Project: listing out all files of the kind as specified that are included by the active project.

List Files of PATTERN in the Active Project: listing out all files that match the search pattern and are included by the active project.

List Duplicate Files Names in the Active Project: listing out all files that have duplicate names and are included by the active project.

List All GUIDs in All Documents: listing out all GUIDs of all documents in the active project.

List Bad References in the Active Project: listing out all bad references of the active project.

Remove Bad References From the Active Project: removing all bad references from the active project.


Retrieve Information

Retrieve All Namespaces From All Documents: retrieving all namespaces from all documents of the active project.

Retrieve All Types From All Documents: retrieving all types from all documents of the active project.

Retrieve All Delegates From All Documents: retrieving all delegates from all documents of the active project.

Retrieve All Extension Methods From All Documents: retrieving all extension methods from all documents of the active project.

Retrieve All Private Methods From All Documents: retrieving all private methods from all documents of the active project.

Retrieve All Static Methods From All Documents: retrieving all static methods from all documents of the active project.

Retrieve All Default Properties From All Documents: retrieving all default properties from all documents of the active project.


Modify/Add/Remove


Prefix/Suffix All Types in the Active Project: adding prefix or suffix to all types of all documents of the active project.

Prefix/Suffix All Members of All Types: adding prefix or suffix to all members of all types of all documents of the active project.

Prefix/Suffix All Methods of All Types: adding prefix or suffix to all members of all types of all documents of the active project.

Prefix/Suffix All Properties of All Types: adding prefix or suffix to all properties of all types of all documents of the active project.

Prefix/Suffix All Fields of All Types: adding prefix or suffix to all fields of all types of all documents of the active project.

Make Fields All Default in All Types: making fields of all types to be default, in all documents of the active project.

Make Fields All Private in All Types: making fields of all types to be private, in all documents of the active project.

Make Fields All Read-Only in All Types: making fields of all types to be read-only, in all documents of the active project.

Make Fields All Writable in All Types: making fields of all types to be writable, in all documents of the active project.

Remove Bad References From the Active Project: removing all bad references from the active project.


Find Type Members


Find Methods Returning Type: finding all methods returning the type as specified, from all types of all documents of the active project.

Find Properties Returning Type: finding all properties returning the type as specified, from all types of all documents of the active project.

Find Delegates Returning Type: finding all delegates returning the type as specified, from all types of all documents of the active project.

Find All Members Returning Type: finding all members returning the type as specified, from all types of all documents of the active project.

Find Methods Taking Type: finding all methods taking the type as specified, from all types of all documents of the active project.

Find Delegates Taking Type: finding all delegates taking the type as specified, from all types of all documents of the active project.

Find All Members Taking Type: finding all members taking the type as specified, from all types of all documents of the active project.


Settings/Options/Properties


Toggle Code Analysis for the Active Project: toggling the Code Analysis setting for the active project.

Turn ON Code Analysis: turning ON the Code Analysis setting for the active project.

Turn OFF Code Analysis: turning OFF the Code Analysis setting for the active project.

Turn ON ComInterop for the Active Project: turning ON the ComInterop setting for the active project.

Turn OFF ComInterop for the Active Project: turning OFF the ComInterop setting for the active project.

Turn ON EmbedInteropType for All References: turning ON the EmbedInteropType property for all references in the active project.

Turn OFF EmbedInteropType for All References: turning OFF the EmbedInteropType property for all references in the active project.

Friday, December 4, 2015

Features of Document Widgets of Visual Smarter

There are many Document Widgets in Visual Smarter. They are designed to operate on the active (current) document, which is open in the Visual Studio editor and has the focus. That is, the target document needs to be opened and stay there as current before any such Document Widget is run.

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

Tuesday, December 1, 2015

Visual Smarter has many Editor Widgets

Visual Smarter has many Editor Widgets as well, which can help tweak the editor such as Show Line# and Hide Line#. Here is the full picture.
 


Document Widgets of Visual Smarter

There are many Document Widgets in the Visual Smarter as well. They can manipulate Visual Studio documents in many good ways. Here is a big picture for ideas.




Saturday, November 28, 2015

Solution Widgets of Visual Smarter

In case people not aware of those various nice Solution Widgets of Visual Smarter yet, here is a big picture:



As can be seen, there are many solution widgets provided by Visual Smarter. The visible on the screenshot is only partial of the whole list. There are a lot more and nicer ones, which can be found by scrolling up and down. Please give Visual Smarter a try and enjoy all of the widgets, not only about Visual Studio solutions but also projects, classes, documents, editors and a lot more.

FREE Download and Try Visual Smarter 2015

Friday, November 27, 2015

Project Widgets of Visual Smarter

In case readers not aware of the Project Widgets of Visual Smarter yet, here is a big picture for ideas:



The shown widgets in the screenshot is only partial of those.