From VB Newbie: The editor is driving me nuts.

P

PC

Gentlesoft,


I'm a long-time programmer, new to VB.NET/Visual Studio 2005. Sorry to
complain, but the editor is driving me nuts. I don't see how one can
get any programming done when the persnicketty thing is constantly
interrupting, shuffling and inserting.

My style is to get the code framed in as I conceive it, without regard
to correctness. When I get a section roughed in, *then* I start to
think about syntax and all that.


Is there a way to temporarily turn off the editor Nazis? I find myself
creating sections of code as comments and uncommenting afterward. That
technique would actually be OK if VB had the concept of multiline
comments, which of course it doesn't.


I must be missing something.


Also, does the C# editor behave in a similar fashion?



TIA and Love, PC
 
M

Miro

I usually code a chunk and then I want to do a /* */ on the comments...but
i havnt been able to find that in vb.2005 express.

What I did find though is that I can block the code and click the button
that comments and it will comment the whole block i have selected.
( basically put a ' infront of each line ) .

Personally I do like the code editor. I think its one of the best onse ive
used out there. But ive been programming in mostly 4gl so almost anything
is a dream ;)

Miro
 
T

Tom Shelton

PC said:
Gentlesoft,


I'm a long-time programmer, new to VB.NET/Visual Studio 2005. Sorry to
complain, but the editor is driving me nuts. I don't see how one can
get any programming done when the persnicketty thing is constantly
interrupting, shuffling and inserting.

My style is to get the code framed in as I conceive it, without regard
to correctness. When I get a section roughed in, *then* I start to
think about syntax and all that.


Is there a way to temporarily turn off the editor Nazis? I find myself
creating sections of code as comments and uncommenting afterward. That
technique would actually be OK if VB had the concept of multiline
comments, which of course it doesn't.


I must be missing something.


Also, does the C# editor behave in a similar fashion?

It will do some formating (which you can define) and a bit of syntax
checking, but that just involves some squigly lines :) It doesn't do a
full background compile like VB.NET. You can control some of these
settings in the options dialog.

And while VB.NET does not support multi-line comments, you can always
use the highlight code block ctrl-k, c to comment the block and ctrl-k,
u to uncomment the block.
 
I

ImageAnalyst

Using the pulldown menu, go to Tools | Options | Text Editor. Then
turn off whatever smart, pretty, or automatic things you don't like.
Be sure to check the "Show all settings" checkbox at the bottom if you
really want to fine tune the details.
ImageAnalyst
 
Top