Home All Groups Group Topic Archive Search About

From VB Newbie: The editor is driving me nuts.

Author
30 Oct 2006 11:38 PM
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

--
Most things are unusual.

Author
31 Oct 2006 4:15 AM
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


Show quoteHide quote
"PC" <NotThisphenomenalcatNotT***@operamailNotThis.com> wrote in message
news:uf0QKyH$GHA.4320@TK2MSFTNGP02.phx.gbl...
>
> 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
>
> --
> Most things are unusual.
Author
31 Oct 2006 5:24 AM
Tom Shelton
PC wrote:
Show quoteHide quote
> 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.

--
Tom Shelton
Author
31 Oct 2006 7:32 PM
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



PC wrote:
Show quoteHide quote
> 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
>
> --
> Most things are unusual.