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…
Author
Updated
4/23/2018Released
2/27/2017Skill Level Intermediate
Duration
Views
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.
Related Courses
-
New This Week
-
Introduction
-
Use the GitHub Extension1m 39s
-
Tips
-
Brace matching in C#4m 57s
-
Paste JSON/XML as class3m 42s
-
Insert Line with Ctrl Enter2m 21s
-
Use the File Tab channel3m 31s
-
Keyboard access for CodeLens4m 32s
-
Use the Clipboard Ring2m 56s
-
Use DialogResult6m 48s
-
Label a breakpoint2m 31s
-
Use the nameof operator6m 21s
-
Array Visualizer extension2m 35s
-
Toolbox tip shortcuts6m 1s
-
Randomize data with LINQ4m 13s
-
Get the file path1m 25s
-
Convert lists4m 34s
-
Enum flags5m 19s
-
Reference highlighting2m 4s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Use Ctrl+Spacebar to fix case of variable names