This tip examines how to use the Ctrl+Spacebar and the autocomplete feature to fix incorrect variable names.
- [Instructor] IntelliSense is one of the…most helpful features I can think of…within Visual Studio.…When you are writing code…it gives you instant automatic…context-aware Help.…In this tip I'll look at how to apply the…auto complete feature to fix incorrect…variable names.…I'm in a C sharp application and…that means that variables are case sensitive.…So, on line 19 I'm declaring a variable firstTour,…with a capital T,…for the word tour.…And I'm using it on line 19 and 20.…
Changing letter T to a lowercase T.…Visual Studio compiler can't find a match.…So, it puts the red squiggle under those words.…And I can fix this in several ways.…One way to fix it is to hover my mouse over this…look at the light bulb feature and then…choose one of these fixes.…The one we want is this last one,…change firstTour to firsttour.…That works,…but I want to show you one of my favorite…key strokes.…I use this all the times in Visual Studio.…It's control, space bar.…
That invokes the auto complete feature.…So what I will do is I'll put my cursor in…
Skill Level Intermediate
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.
New This Week
Use the GitHub Extension1m 39s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
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.