Wednesday, March 30, 2016

Our Own New Web Has Been Recently Launched Along with a Nicer Shopping Cart

Our own web site has been redesigned and relaunched recently.


You will find more software tools there besides the Visual Smarter 2015 that this blog is focused on, and a nicer and more convenient shopping cart. If you still like to try the old download and purchase page, it is still valid.

FREE Download and Try Visual Smarter 2015

Thursday, January 21, 2016

Solutions Infoer of Visual Smarter 2015

Solutions Infoer helps inspect information of solutions either a single file or multiple residing in a folder including all nested. Better, two views are provided for the same solution information. One is flat, the other is stacked. Here is a sample screenshot.






Tuesday, January 5, 2016

Projects Infoer of Visual Smarter 2015

Projects Infoer helps inspect information of projects either a single file or multiple residing in a folder including all nested. Better, two views are provided for the same project information. One is flat, the other is stacked. Here are some sample screens.





















Thursday, December 31, 2015

Features of Visual Smarter

Visual Smarter provides hundreds of utilities, widgets and tools for helping code more efficiently and manage sources, classes, documents, projects, solutions, registries and so on more conveniently in the Visual Studio IDE, especially within the .NET environment. It makes .NET coding just easier and smarter.

It has 22 Common Utilities.
 Common Utilities

Its total 329 widgets can be categorized into the following 10 groups:

Monday, December 28, 2015

Comment Widgets for Selection

Visual Smarter provides many selection widgets, as shown before. We are going to introduce the comment widgets here.

If there is some code as follows somewhere:

        private void CommentTester()
        {
            int i;
            string hello = "hello world.";
        }

  it's selected, and the Comment widget is called up, the code will become:

//        private void CommentTester()
//        {
//            int i;
//            string hello = "hello world.";
//        }

If the UnComment widget is called up at this moment, the current code will be rolled back to the original.
If the Toggle Comment Type widget were clicked instead, the code would become:

/*        private void CommentTester()
        {
            int i;
            string hello = "hello world.";
        }*/

If the Add Comment to Line End is run against the original code, each line will be appended some comment beginners.

        private void CommentTester() //
        { //
            int i; //
            string hello = "hello world."; //
        } //

Replicate Line Multiple Times & Add Line Number to Line Start Selection Widgets

Visual Smarter provides many selection widgets, as shown before. We are going to introduce the Replicate Line Multiple Times and the Add Line Number to Line Start widgets here.

If there is some code as follows somewhere:

            List<int> intList = new List<int>();
            intList.Add(1);

  the last line is selected, and the Replicate Line Multiple Times widget is called up, a number is input such as 10, then the code will become like this:

            List<int> intList = new List<int>();
            intList.Add(1);
            intList.Add(1);
            intList.Add(1);
            intList.Add(1);
            intList.Add(1);
            intList.Add(1);
            intList.Add(1);
            intList.Add(1);
            intList.Add(1);
            intList.Add(1);
            intList.Add(1);

If the ten adding lines are selected and the Add Line Number to Line Start widget is called, the line labels will be added accordingly:

            List<int> intList = new List<int>();
Line_1:             intList.Add(1);
Line_2:             intList.Add(1);
Line_3:             intList.Add(1);
Line_4:             intList.Add(1);
Line_5:             intList.Add(1);
Line_6:             intList.Add(1);
Line_7:             intList.Add(1);
Line_8:             intList.Add(1);
Line_9:             intList.Add(1);
Line_10:             intList.Add(1);

Saturday, December 26, 2015

Visual Smarter Selection Widgets

Visual Smarter provides many selection widgets, as follows:



























They operate on the active selection in the current document, source file.

Friday, December 25, 2015

Visual Smarter Toolbar

The Visual Smarter toolbar looks as follows:





It is a single toolbar at present, but it's composed of two parts actually, Common Utilities and Widgets. We have separated the two sets of toolbar buttons/menus above to make them look both nicer and more meaningful.

Most of these utilities and widgets were mentioned a bit before; some were introduced with descriptions and code or UI examples. More and more will be coming, please stay tuned.

Various Web Searchers & Navigators of Visual Smarter

Visual Smarter provides various Web Searchers and Navigators. Those Web Searchers will open the default web browser and finds the web pages having the keyword as input. Those Web Navigators will navigate to the web pages inside the Visual Studio IDE.

Many search engines and web sites are supported. Here are the list:
  • Google
  • Bing
  • MSDN
  • Yahoo
  • SpiderInNet
  • SpiderInNet1
  • SpiderInNet2
  • VisualSmarter
  • CodeProject
  • NuGet
  • GitHub
  • StackOverflow

Thursday, December 24, 2015

Code Refactors: There Are More

There are more code refactors and they are also self-explanatory. Here they are:
  • CodeLine Replicator
  • IfElseifElse Coder
  • TryCatchFinally Coder

  • Capitalize CurrentLineOfCode
  • Lowercase CurrentLineOfCode
  • UpperCase CurrentLineOfCode

FREE Download and Try Visual Smarter 2015


Wednesday, December 23, 2015

Code Refactors: Insert Various Time Format

Its feature is pretty self-explanatory, inserting a time string with every possible format into the code position of the current cursor.

The various time format looks like the following:



Tuesday, December 22, 2015

Code Refactors: Insert Various Date Format

Its feature is pretty self-explanatory, inserting a date with every possible format into the code position of the current cursor.

The various date format looks like the following:


Code Refactors: Fill GUID into String of Current Code Line

Its feature is pretty self-explanatory, filling a GUID into the string in the current code line.

If something like the following is written somewhere,

string guid = "";

        the cursor is with the quotes, and the Fill GUID into String of Current Line command is called up, the code will look like below:

string guid = "0d00560b-291a-4cac-8b58-186fb0fd11b6";

Many other GUID relevant widgets are provided by Visual Smarter, e.g. listing out GUIDs, replacing existing GUIDs, uniquifying GUIDs, and so on.

FREE Download and Try Visual Smarter 2015

Monday, December 21, 2015

Code Refactors: Rename Privates Fields

Its feature is pretty self-explanatory, renaming class private fields.

If something like the following is written somewhere,

 class CodeTester_Fields { protected int intField; int intFieldWithValue = 123; public readonly int intFieldReadonlyWithValue = 456; public const int intFieldConst = 789; new int intFieldNew; private double doubleFieldWithValue = 123.456; public double doubleField; public static string stringFieldWithValue = "string field with value"; static string stringField; }

        all the fields selected, and the Rename Private Fields command is called up, the following dialog will show up:


If the new naming convention is specified as above and the OK button pressed, the fields will look like below:

 class CodeTester_Fields { protected int intField; int m_IntFieldWithValue = 123; public readonly int intFieldReadonlyWithValue = 456; public const int intFieldConst = 789; new int m_IntFieldNew; private double m_DoubleFieldWithValue = 123.456; public double doubleField; public static string stringFieldWithValue = "string field with value"; static string m_StringField; }

As seen, the command only takes care of private fields, local or static.

FREE Download and Try Visual Smarter 2015

Code Refactors: VB Filed to Property

Its feature is pretty self-explanatory, creating property from VB class field.

If something like the following is written somewhere,

Private time As System.DateTime

        the field is selected, and the VB Field to Property command is called up, the property will be created or adjusted accordingly:

Private m_time As System.DateTime
Public Property time() As System.DateTime Get Return m_time End Get Set(ByVal value As System.DateTime) m_time = value End Set End Property

As can be seen, the field name is prefixed with the m_ so as to avoid conflicts. In case any other field naming convention is necessary, other widgets can help. More will be introduced. Please stay tuned.

FREE Download and Try Visual Smarter 2015


Sunday, December 20, 2015

Code Refactors: Underscore Fields

Its feature is pretty self-explanatory, underscoring class fields.

If something like the following is written somewhere,

class CodeTester_Fields { protected int intField; int intFieldWithValue = 123; public readonly int intFieldReadonlyWithValue = 456; public const int intFieldConst = 789; new int intFieldNew; private double doubleFieldWithValue = 123.456; public double doubleField; public static string stringFieldWithValue = "string field with value"; static string stringField; }

        all the fields selected, and the Underscore Fields command is called up, the class fields will become the following:

class CodeTester_Fields
{
        protected int _intField;
        int _intFieldWithValue = 123;
        public readonly int _intFieldReadonlyWithValue = 456;
        public const int _intFieldConst = 789;
        new int _intFieldNew;

        private double _doubleFieldWithValue = 123.456;
        public double _doubleField;

        public static string _stringFieldWithValue = "string field with value";
        static string _stringField;
}

Enjoy!

FREE Download and Try Visual Smarter 2015

Saturday, December 19, 2015

Visual Smarter 2015 Came Out

Visual Smarter 2015 has been worked out and finally released through hard work.

It is an extension now instead of old style add-in. It still supports multiple Visual Studio editions and versions (2015/2013/2012). Many new utilities and widgets have been added, and all existing ones have been intensively tested, bug fixed, and enhanced a lot.

FREE Download and Try Visual Smarter 2015