Visual Studio commands provide a means of interacting with the IDE from the keyboard. Dialog boxes, windows, and other items within the IDE have a command equivalent that you can type into the Command window or Find/Command box to display and, in some cases, execute the item. You can create custom names, or aliases, for complete command names to help you remember and enter the commands more easily.
To create an alias for a Visual Studio command
- Open the Command window or place the focus in the Find/Command box.
- Type
>alias, then the name for the alias, followed by the command you want to create an alias for. For example: >alias myAlias File.NewProject "Visual Basic Projects\Windows Application"
- Press ENTER.
The status bar displays the text "Alias <aliasname> created". The new alias now appears in the auto-completion list for commands.
To delete an alias for a Visual Studio command
- Open the Command window or place the focus in the Find/Command box.
- Type
>alias, then the name of the alias, followed by /delete. For example: >alias myalias /delete
- Press ENTER.
The status bar displays the text "Alias <aliasname> deleted". You can view the list of current aliases and their definitions.
To view a list of all current aliases and definitions
Tip To clear the contents of the Command window, type >cls.
You can also view the definition of a single alias.
To view the definition for a single alias
- In the Command window, type
>alias, followed by the alias name.
This Blog Hosted On: http://www.DotNetJunkies.com/
Related...
http://dotnetjunkies.com/WebLog/enrico/archive/2004/12/24/38775.aspx | Comments