dev days visual studio 2012 enhancements
DESCRIPTION
Special session on all enhancements that come under visual Studio 2012 IDETRANSCRIPT
Visual Studio 2012 Enhancements
BY ABHISHEK SUR
WEBSITE: WWW.ABHISHEKSUR.COM
EMAIL : [email protected]
Developers Day Kolkata
Solution Explorer
UI – Solution Explorer
1. Search
2. Navigation
3. Home
4. Filter
5. Sync
6. Minimize
7. Properties
8. Preview
UI – Solution Explorer
1. Refresh
2. All Files
3. Dependency Graph
UI – Solution Navigator
Navigation into the code structure
UI – Solution Navigation
Scope to Element
UI – Solution Navigation
Dependency Graph
UI – Solution Navigation
Search in Solution
UI – Solution Navigation
Quick Filter File Content
File Names
UI – Solution Navigation
Solution Filter
UI – Solution Navigation
Active Item Tracking
UI - Search
Quick Search Ctrl-Q
UI – Quick Search
Quick Search Scope Elements (@mru,menu,opt,doc)
UI - Search
Direct Search Ctrl-F
Ctrl-I (incremental)
Type the search term without focus after Ctrl-I (i)
Web – HTML 5 & JavaScript
HTML 5 IntelliSense
JavaScript IntelliSense
JQuery IntelliSense
Web – JavaScript IntelliSense
Old Method – Include References
Build Reference Groups, use _references.js
Exte
nd
ing
JavaScr
ipt
Inte
lliSense
:htt
p:/
/msd
n.m
icro
soft
.com
/en-u
s/lib
rary
/hh8
74692.a
spx
Web - IISExpress
Easy deploy to IIS
Web – Page Inspector
Code – Code Clone Analyze
Analyze Analyze Solution for Code Clones
Code – Code Analysis
Analyze Run Code Analysis
Alt-F11
Code – Code Metrics
Analyze Calculate Code Metrics Maintainability
Inheritance
Coupling
Lines of Code
Debugging – Hover Values
Interactive debugger values in editor
Debugging – Direct Edit
Directly change values
Debugging – Set Next Step
Move debugger step up and down
Debugging – Breakpoint Options
More than just a break point
Debugging – Tracepoints
Breakpoint Context Menu When hit
Print a message Continue exec… {localVariable} {lv+=newVal}
Debugging – BreakPoint Options
Label
Export / Import
Intellitrace
Logs any live event
Can be re-run
Easily exportable
Shell – Package Manager
Nuget.org
Project Enable Nuget Packages Restore
Shell – Export Template
Item
Solution
Editor – Simple Tricks
Whitespaces: Ctrl-R Ctrl-W
Select Rectangle: Alt + Select
Fast Jump: Ctrl-Click
Go to Definition: F12 (Shift-F12 == all) Back from Definition: Ctrl- – / Alt-Left Arrow
Quick Task: Ctrl-. ENTER
Navigate Symbols: Click, Highlight, Ctrl+Shift+Arrow
Split/New Window (Window Menu)
Editor – Code Store
Drag Drop Toolbox
Editor – Tasklist
Tokens: TODO
HACK
UNDONE
Editor – XML as Code
Paste XML as Classes
Edit Paste Special
<Customer> <Name /> <Street /> <City /></Customer>
Editor – Clipboard Cycle
Ctrl-Shift-V
Replacing Paste Operation
Editor – Code Snippets
Snippet TAB TAB
Surround: Ctrl-K Ctrl-S
Editor – Task Switcher
Classic View – Jumplists only
Editor – Task Switcher
Advanced View – Jumplists with Preview
reg ADD HKCU\Software\Microsoft\VisualStudio\11.0\General /v ShowThumbnailsOnNavigation /t REG_DWORD /d 1
SQL – Object Explorer
View SQL Server Object Explorer
Ctrl-^, Ctrl-S
Extensions – Color Themes
Extensions – Power Tools
/* Life runs on Code */
Thank you.
Twitter : @abhi2434
Email: [email protected]
www.abhisheksur.com
Abhishek Sur, MVP (Client App Dev)