Join Reynald Adolphe for an in-depth discussion in this video Introducing the light bulb and the preview window, part of C# 6.0 First Look.
- Visual Studio introduces the lightbulb…which allows you to perform certain actions…and gives you a preview window before executing changes.…If we hover or click on the directives that aren't needed,…the light bulb shines.…Click on the drop-down arrow,…and the preview window will pop up.…This is essentially a view of what changes will occur…should you continue.…You'll notice at the bottom in a section called…Preview Changes, you can select a Document,…a Project, or a Solution.…
If we go ahead and click on Solution,…this gives you control of the scope the IDE should consider…for your changes.…If we go ahead and click on Solutions,…and click Apply, this will remove…all the unnecessary directives in the entire solution.…After applying the changes,…you'll see the yellow bar indicator on line three…of where the changes took place.…If you recall from Visual Studio 2013,…when you needed to import a namespace,…you would use a shortcut like CTRL + .…
it's still the same here except…it works with the light bulb.…That is the light bulb and the preview window will pop up.…
- Introducing the new IDE in Visual Studio 2015
- Leveraging nameof expressions
- Using index initializers
- Using await in catch and finally blocks
- Using static
- Resolving conflict instance methods
Skill Level Beginner
1. Touring the Enhanced IDE
2. Expression-Level Features
3. Statement-Level Features
Adding exception filters2m 42s
4. Member Declaration and Initialization Features
5. Improved Debugging
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.