This document provides an overview of new features in Visual Studio 2013, including improved preview tools in the IDE, better support for Git, an updated HTML editor, SASS support, improved JavaScript functionality, browser linking without Cassini, updated Web Essentials tools, and recommendations to follow influential engineers on Twitter.
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Visual Studio 2013 Update 4 Introduction
1. STUDIO 2013 THAT I COPIED
FROM A LOT OF SCOTT
HANSELMAN AND MADS
KENDRICK VIDEOS ONLINE AND I
THINK THAT I MIGHT HAVE
MISSPELLED MADS KENDRICS
PLUS DID YOU KNOW VISUAL
STUDIO 2013 HAS ALREADY BEEN
OUT LIKE OVER A YEAR ALREADY
AND HAS FOUR UPDATES AND BY
THE WAY THERE’S A FREE
VERSION NOW SO GO AHEAD AND
DOWNLOAD IT ALREADY AND
AKA Visual Studio
2013 Introduction
7. IDE NEW FEATURES
Okay – not really five million ways of previewing code but here’s three
pretty cool ones:
Peek Definition (Alt + F12)
New Scrollbar (Used to be a part of powertools extension)
Preview Window (Clicking anything in solution explorer.
Let’s look at some actual code…
8. VISUAL STUDIO HAS A TON OF BRAND NEW SHORTCUTS.
SO YOU NO LONGER HAVE TO TYPE LIKE
THIS…
9.
10. IDE NEW FEATURES
New Quick Keyboard Shortcuts
Ctrl-Q to find any setting quickly
Ctrl-; to search solution explorer quickly
Ctrl-. to quickly resolve references
Ctrl, to open newly optimized “Navigate To” menu
Ctrl 0, G to go to Git Changes
Ctrl 0, o to go to Git Commits
12. GIT SUPPORT
Setting up Stash authentication
Cloning a new project
Pulling
Code changes
Pushing
Branching
https://github.com/WhiteHouse/fortyfour/issues/3
13. BACK IN MY DAY WE HAD TO HIKE SIX MILES TO SCHOOL UPHILL
THROUGH SNOW
WITH NO CHROME DEV TOOLS OR
DEBUGGER
AND WE LIVED OFF DOCUMENT.WRITE AND ALERT(“EVERYTHING UNDER
THE SUN”)
14. NOWADAYS YOU GET
BROWSERLINK (IN VS2013)
Real time persistent client-server connection using SignalR
No more Cassini (VS Dev Server)
Works with IIS Express or Full IIS
15. THE HTML EDITOR DOESN’T SUCK
ANYMORE
HTML Editor
Bootstrap Support
URL Picker (Update 2)
Update 4 no longer pukes when it sees {{}} in
HTML templates or customer elements/attributes
#region, TODO, and HACK support (Update 4)
Basic IntelliSense for Web Components
18. JAVASCRIPT
JavaScript
XML Comments vs JSDoc
RequireJS Support as of update 3, modules as of Update 4
Full featured JSON editor
Package.json and bower.json Intellisense
JavaScript
Ninja
JavaScript
Engineer
21. ENGINEERS TO FOLLOW:
Anders Hejlsberg @ahejls1berg
Inventor of C# and TypeScript
Mads Kristensen @mkristensen
Microsoft Tooling Innovator – lead creator of web essentials
Scott Hanselman @shanselman
Microsoft Uber Evanglist/Developer – good luck ever finding a seat at one of his presentations
Douglas Crockford @crockfordfacts
Supreme overlord and master dictator of JavaScript i.e. the most polarizing guru in the universe
My Twitter @wtvamp
I scrubbed all the bad stuff before the presentation started (hopefully)
24. WEB ESSENTIALS
Zen Coding
SASS/CSS Intellisense
JSHint
Increased code folding
Placeholder Generators
Bootstrap class validation
Customer editors like robots.txt
25. OTHER COOL TOOLS
JavaScript Parser
Gives a class-like view of JavaScript components for easier navigation
JavaScript vsdoc Generator
Creates /// shortcut to auto-generate XML comments just like C#
Grunt Launcher
Right click to launch Grunt, Gulp, and Bower commands in visual studio
Doesn’t work in subdirectories
NodeJS Tools
Run NodeJS programs in Visual Studio
IDE
Peek Definition
Powertools Scrollbar
Keyboard Shorcuts (Ctrl Q, ., ,, and ;)
New Templates (Bootstrap by default)
Git Support
Setting up Stash authentication
Cloning a new project
Pulling
Code changes
Pushing
Branching
HTML Editor
Bootstrap Support
Zen Markup (Now Emmitt)
Browser Link
URL Picker (Update 2)
SASS (Update 2)
Drag and Drop (Update 3)
Web Essentials
SASS Compiler
JavaScript
XML Comments vs JSDoc
RequireJS Support as of update 3, modules as of Update 4
Full featured JSON editor
Package.json and bower.json Intellisense
IDE
Peek Definition
Powertools Scrollbar
Keyboard Shorcuts (Ctrl Q, ., ,, and ;)
New Templates (Bootstrap by default)
Git Support
Setting up Stash authentication
Cloning a new project
Pulling
Code changes
Pushing
Branching
HTML Editor
Bootstrap Support
Zen Markup (Now Emmitt)
Browser Link
URL Picker (Update 2)
SASS (Update 2)
Drag and Drop (Update 3)
Web Essentials
SASS Compiler
JavaScript
XML Comments vs JSDoc
RequireJS Support as of update 3, modules as of Update 4
Full featured JSON editor
Package.json and bower.json Intellisense
IDE
Peek Definition
Powertools Scrollbar
Keyboard Shorcuts (Ctrl Q, ., ,, and ;)
New Templates (Bootstrap by default)
Git Support
Setting up Stash authentication
Cloning a new project
Pulling
Code changes
Pushing
Branching
HTML Editor
Bootstrap Support
Zen Markup (Now Emmitt)
Browser Link
URL Picker (Update 2)
SASS (Update 2)
Drag and Drop (Update 3)
Web Essentials
SASS Compiler
JavaScript
XML Comments vs JSDoc
RequireJS Support as of update 3, modules as of Update 4
Full featured JSON editor
Package.json and bower.json Intellisense
Peek Defintion:
Alt + F12 to peek
F8 and Shift F8 to navigate between multiple results
Esc to close windows
Shift esc to toggle between peek and code window
IDE
Peek Definition
Powertools Scrollbar
Keyboard Shorcuts (Ctrl Q, ., ,, and ;)
New Templates (Bootstrap by default)
Git Support
Setting up Stash authentication
Cloning a new project
Pulling
Code changes
Pushing
Branching
HTML Editor
Bootstrap Support
Zen Markup (Now Emmitt)
Browser Link
URL Picker (Update 2)
SASS (Update 2)
Drag and Drop (Update 3)
Web Essentials
SASS Compiler
JavaScript
XML Comments vs JSDoc
RequireJS Support as of update 3, modules as of Update 4
Full featured JSON editor
Package.json and bower.json Intellisense
Peek Defintion:
Alt + F12 to peek
F8 and Shift F8 to navigate between multiple results
Esc to close windows
Shift esc to toggle between peek and code window
To demonstrate Ctrl-. Go to AccountController and remove using SN.Framework.Web.Security
- SNAuthorize attribute no longer resolves. Move cursor over attribute and press Ctrl+. To resolve
Show to how to reset keyboard shortcuts by going Ctrl+Q -> type keyboard – reset
Show how to use Ctrl + , by navigating to rooster
Show wiki page for stash authentication
To demonstrate browserlink, in client app, go to address.html. Fix the ul>form>li to form>ul>li
TODO, HACK, and #region needs to be in html comments
Make sure this is set to true: Tools -> Options -> Web Essentials -> SASS -> Use Ruby Runtime=True
Add new stylesheet instead of trying to edit existing one.
To make sure preview works, drag and drop image from file system, not from project
IDE
Peek Definition
Powertools Scrollbar
Keyboard Shorcuts (Ctrl Q, ., ,, and ;)
New Templates (Bootstrap by default)
Git Support
Setting up Stash authentication
Cloning a new project
Pulling
Code changes
Pushing
Branching
HTML Editor
Bootstrap Support
Zen Markup (Now Emmitt)
Browser Link
URL Picker (Update 2)
SASS (Update 2)
Drag and Drop (Update 3)
Web Essentials
SASS Compiler
JavaScript
XML Comments vs JSDoc
RequireJS Support as of update 3, modules as of Update 4
Full featured JSON editor
Package.json and bower.json Intellisense
Demonstrate requirejs by adding XML comment to runas function. Then going to submissions grid and typing Utils.runas(). Intellisense will fill in the dependency.
IDE
Peek Definition
Powertools Scrollbar
Keyboard Shorcuts (Ctrl Q, ., ,, and ;)
New Templates (Bootstrap by default)
Git Support
Setting up Stash authentication
Cloning a new project
Pulling
Code changes
Pushing
Branching
HTML Editor
Bootstrap Support
Zen Markup (Now Emmitt)
Browser Link
URL Picker (Update 2)
SASS (Update 2)
Drag and Drop (Update 3)
Web Essentials
SASS Compiler
JavaScript
XML Comments vs JSDoc
RequireJS Support as of update 3, modules as of Update 4
Full featured JSON editor
Package.json and bower.json Intellisense
IDE
Peek Definition
Powertools Scrollbar
Keyboard Shorcuts (Ctrl Q, ., ,, and ;)
New Templates (Bootstrap by default)
Git Support
Setting up Stash authentication
Cloning a new project
Pulling
Code changes
Pushing
Branching
HTML Editor
Bootstrap Support
Zen Markup (Now Emmitt)
Browser Link
URL Picker (Update 2)
SASS (Update 2)
Drag and Drop (Update 3)
Web Essentials
SASS Compiler
JavaScript
XML Comments vs JSDoc
RequireJS Support as of update 3, modules as of Update 4
Full featured JSON editor
Package.json and bower.json Intellisense
IDE
Peek Definition
Powertools Scrollbar
Keyboard Shorcuts (Ctrl Q, ., ,, and ;)
New Templates (Bootstrap by default)
Git Support
Setting up Stash authentication
Cloning a new project
Pulling
Code changes
Pushing
Branching
HTML Editor
Bootstrap Support
Zen Markup (Now Emmitt)
Browser Link
URL Picker (Update 2)
SASS (Update 2)
Drag and Drop (Update 3)
Web Essentials
SASS Compiler
JavaScript
XML Comments vs JSDoc
RequireJS Support as of update 3, modules as of Update 4
Full featured JSON editor
Package.json and bower.json Intellisense
IDE
Peek Definition
Powertools Scrollbar
Keyboard Shorcuts (Ctrl Q, ., ,, and ;)
New Templates (Bootstrap by default)
Git Support
Setting up Stash authentication
Cloning a new project
Pulling
Code changes
Pushing
Branching
HTML Editor
Bootstrap Support
Zen Markup (Now Emmitt)
Browser Link
URL Picker (Update 2)
SASS (Update 2)
Drag and Drop (Update 3)
Web Essentials
SASS Compiler
JavaScript
XML Comments vs JSDoc
RequireJS Support as of update 3, modules as of Update 4
Full featured JSON editor
Package.json and bower.json Intellisense
div>div.container.#containerID$*10
IDE
Peek Definition
Powertools Scrollbar
Keyboard Shorcuts (Ctrl Q, ., ,, and ;)
New Templates (Bootstrap by default)
Git Support
Setting up Stash authentication
Cloning a new project
Pulling
Code changes
Pushing
Branching
HTML Editor
Bootstrap Support
Zen Markup (Now Emmitt)
Browser Link
URL Picker (Update 2)
SASS (Update 2)
Drag and Drop (Update 3)
Web Essentials
SASS Compiler
JavaScript
XML Comments vs JSDoc
RequireJS Support as of update 3, modules as of Update 4
Full featured JSON editor
Package.json and bower.json Intellisense