DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.
-
Upload
linda-dorothy-jefferson -
Category
Documents
-
view
215 -
download
0
Transcript of DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.
![Page 1: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/1.jpg)
DEV330
Visual Studio .NET IDE Tips and Tricks
Billy HollisAuthor / consultant
![Page 2: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/2.jpg)
Agenda
A tour of the Visual Studio IDECustomizing window layoutsThe code editorUseful OptionsThe Server ExplorerUsing and extending HelpMacrosMiscellaneous tips and tricksIntroducing VS.NET Power Toys
![Page 3: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/3.jpg)
A tour of the IDE
Two types of windows - editor/designer and tool windowsComponent TrayToolbox/Server ExplorerSolution Explorer / Help WindowsProperty Window / Dynamic HelpTask List / Debug / Output WindowsClass View, XML / HTML editors
![Page 4: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/4.jpg)
Customizing Window Layouts
Rearrangement Docking / undockingAutohideNotice difference in dragging tab vs. dragging title barRight click to make floating only – e.g. Search/Replace window
Navigate with Ctrl-TabRestore window layout in options
![Page 5: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/5.jpg)
The Code Editor
OutliningOutlining menuCtrl key shortcuts (Ctrl-M, Ctrl-O, Ctrl-L)
RegionsNumbering lines (built-in macro)Word wrap (Ctrl-R toggles it)Clipboard ringGo back, go forwardAlt-drag for rectangular selectionIncremental Search (Ctrl-Alt-i)
![Page 6: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/6.jpg)
Useful Options
Startup behaviour
Option Strict On for all new projects
Fonts / colors (I use Lucida Console for text editor)
Default location of solutions
Dynamic help
Items in MRU list
![Page 7: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/7.jpg)
Server Explorer
Performance Counter
Event Log
Start / Stop Windows Service
Database tables and fields
Show / edit stored procedures
Drag stored procedure to get command object
![Page 8: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/8.jpg)
Using and Extending Help
Favorites
Change font size for Help
Help in external Internet Explorer
TOC, Index, Search tools
Help Filters
Integrating your own help contentDownload VSHIK authoring kit from MSDN
New topics display just like original help, and appear in index topics and search lists
![Page 9: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/9.jpg)
Macros
Record macros, similar to Word
Macro IDE (Visual Basic code only)Step through macros while executing
Hook keystroke to macro
Sample macros included with VS.NET
![Page 10: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/10.jpg)
Miscellaneous Tips and Tricks
Drag code snippets to tool box
Right-click to reset property
Task list - right-click for description tooltip
Edit while debugging
Old style toolbox
Return to start page
When in customize mode, can resize text elements in the toolbars (works in Word, too)
![Page 11: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/11.jpg)
Command Line Switches
Devenv /?
Devenv /command
Devenv /safemode
Devenv /setup
![Page 12: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/12.jpg)
Introducing…Visual Studio Power Toys!
Cool utilities that extend the IDE
Developed by the Visual Studio team
Available on GotDotNethttp://www.gotdotnet.com/team/ide
Discussion forms
Signed binaries
Full source available
Give us your feedback!
![Page 13: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/13.jpg)
Visual Studio PowerToys 1
VSTweak
VSEdit
VSWindowLayouts
![Page 14: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/14.jpg)
Visual Studio PowerToys 2
VB CommenterAdd XML doc comments to VB Code
Can be used to generate Help files
Custom Help BuilderCreate Help content for VS
Create setup to deploy & install content
![Page 15: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/15.jpg)
Future Visual Studio PowerToys
VSMouseBindings
VSCMDShell
VSTransparency
Coming soon to the Visual Studio PowerToys site on GotDotNet!
![Page 16: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/16.jpg)
Ask The ExpertsGet Your Questions Answered
Billy will be in the Ask the Experts booth Wednesday afternoon from 14:00 to 16:00
![Page 17: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/17.jpg)
Community Resources
Community Resourceshttp://www.microsoft.com/communities/default.mspx
Most Valuable Professional (MVP)http://www.mvp.support.microsoft.com/
NewsgroupsConverse online with Microsoft Newsgroups, including Worldwidehttp://www.microsoft.com/communities/newsgroups/default.mspx
User GroupsMeet and learn with your peershttp://www.microsoft.com/communities/usergroups/default.mspx
![Page 18: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/18.jpg)
evaluationsevaluations
![Page 19: DEV330 Visual Studio.NET IDE Tips and Tricks Billy Hollis Author / consultant.](https://reader030.fdocuments.us/reader030/viewer/2022032702/56649f445503460f94c64c6b/html5/thumbnails/19.jpg)
© 2003 Microsoft Corporation. All rights reserved.© 2003 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.