IntelliSense

  • Thread starter Thread starter Bert
  • Start date Start date
B

Bert

Hi Im just picking up C#.net and its my first time in the .Net environment.
I've got the stage of creating test applications and I've found a problem
with the IntelliSense facility when coding.

Basically when I first go into the code for an event and suppose I want to
set the height and width
on the first line IntelliSense will kick in when I type txtCustomer.
I then select height and set it with a value then semicolon, but on the next
line when I thype txtCustomer. IntelliSense doesnt kick in.

Now Ive been to Tools/options/Text editor/C# but cant find any settings
which might affect this.

Can anyone shed any light on if there is something wrong with my setup or am
I missing something out, any pointers would be gratefully received

Cheers
 
Does your code compile? Most of the time issues like this are due to
incorrect lines. If your code compiles, it may be due to a bug, if your code
doesn't post it here.
 
Yeah, Im going through a teach yourself in 24 hours book so the correct code
is there and Im making double sure thats its going in character by
character, but any time I put more than one line in IntelliSense doesnt
work. If I put one line in, run the program then come back to code then
IntelliSense will work on the next line, wierd its as if there is a setting
IntelliSense one line only??
 
Hrmm, well, this shouldn't be happening. I would suggest restarting vs, the
computer, and reinstalling, in that order, trying each after the other
fails. I've had intellisesne fail a few times, but it was always because of
bad code or a bad session. Fixing the code or restarting VS always fixed
it(sometimes just closing and reoping the file did...).
Maybe someone else can tell you more
 
Cheers I'll try those, I've just taken over someones PC so they might have
had some strange settings, I try reinstalling.
 
Are you extra sure you've got the trailing semicolon at the end of each
statement? I know when I switch between VB and C# I often forget them.
 
Back
Top