|
A Blessing On Your Head !
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"How do you find out if you're unwanted if everyone you try to ask tells you to stop bothering them and just go away?" - Balboos HaGadol
"It's a sad state of affairs, indeed, when you start reading my tag lines for some sort of enlightenment. Sadder still, if that's where you need to find it." - Balboos HaGadol
|
|
|
|
|
I find it so useful and love it so much, I can't believe MS didn't include the setting in Tools-Options. It's been there since VS 2003 at least!
Cheers,
Vıkram.
I've never ever worked anywhere where there has not been someone who given the choice I would not work with again. It's a job, you do your work, put up with the people you don't like, accept there are probably people there that don't like you a lot, and look forward to the weekends.
- Josh Gray.
|
|
|
|
|
The link seems problematic at the moment; could you just describe how to do that?
|
|
|
|
|
Does even the google cache[^] not work? Here's the text:
Enabling Guidelines
First, shut down Visual Studio 2005 if already started.
Under
[HKEY_CURRENT_USER]\Software\Microsoft\VisualStudio\8.0\Text Editor
Create a string value called
Guides
Set Guides to the following
RGB(x,y,z) n1,...,n13
Where x,y,z are the RGB values and n is the column number. You can have at most 13 guidelines.
For example,
Guides = RGB(128,0,0) 5, 80
will place a Red guideline at column numbers 5 and 80.
And now launch VS and open a text file.
Disabling Guidelines
An obvious no-brainer, just delete the Guides keys you created above. Restart VS, and no more guidelines.
Cheers,
Vıkram.
I've never ever worked anywhere where there has not been someone who given the choice I would not work with again. It's a job, you do your work, put up with the people you don't like, accept there are probably people there that don't like you a lot, and look forward to the weekends.
- Josh Gray.
|
|
|
|
|
Excellent tip - i've been using those for several years now, greatly reduces the chance that i'll end up with an unpleasant surprise when moving between resolutions.
---- You're right.
These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets .
|
|
|
|
|
Where do I tell it to stop the crappy formatting that it does and use my preferred style?
Don't let my name fool you. That's my job.
|
|
|
|
|
Tools|Options|Boot to the head
|
|
|
|
|
Are you using the Canadian version? I'm frantic trying to find it.
Don't let my name fool you. That's my job.
|
|
|
|
|
It seems I can fit 229 characters across my (20") screen in VS, using Andale Mono at 8 point.
But I can only fit 112 across 7.5" of paper (8.5" with .5" margins), so I use that, have for years, even when using a VT340 VT320 set at 132 columns.
modified on Tuesday, January 27, 2009 12:01 AM
|
|
|
|
|
I started limiting the width because of Python PEP0008, but then I realised it's a damn good idea. I've got a line somewhere that's something like:
atta = charset[source]["stats"]["baseattack"] + weaponset[charset[source]["equipment"]["weaponID"]]["attackboost"] + armourset[charset[source]["equipment"]["armourID"]]["attackboost"]
Or at least, it would be, without limiting it to 79 characters.
My current reason is, if I ever do work on joint projects, or anyone wants to read my code, it's rude to make them scroll sideways. Sideways scrolling is the work of the devil.
EDIT: Haha, I also now realise the irony that someone will need to scroll sideways to see the entire line. Oh well, the presence of a horizontal scrollybar at the bottom of the screen is proof enough, of my point.
|
|
|
|
|
Ha! I write my whole program on one line, because I have dual 50" monitors and I just like to drive the point home.
|
|
|
|
|
OH WOW, YOU MUST HAVE SUCH A MASSIVE PENIS.
Also, reading across two screens probably sucks.
|
|
|
|
|
Yes, I also drive a Porsche
|
|
|
|
|
Stop it, you're making me jealous.
|
|
|
|
|
You're a... ahem, hard man to... ahem, beat.
Don't let my name fool you. That's my job.
|
|
|
|
|
Can you explain why writing very long lines of code is rude, but a very long line in a message post is not?
|
|
|
|
|
My first point would obviously be that it was unintentional, as my edit would suggest.
My second point is that this particular long line in question is completely optional reading. All you need to know is that it's long, not it's contents.
Also, sorry if I offended you.
|
|
|
|
|
Offended? Au contraire. Your post generated some of the most amusing comments I've seen in awhile. LOL. Thanks.
|
|
|
|
|
It fits on my screen.
|
|
|
|
|
As long as it fits the width of my screen I am happy. I hate reading across multiple screens, or even worse scrolling.
If at first you don't succeed, failure may be your style. (Quentin Crisp)
Recession is when a neighbor loses his job. Depression is when you lose yours. (Ronald Reagan)
|
|
|
|
|
Same here. I just make it fit my screen, which is a lot of lines since I work on a 24" screen. It doesn't really matter though since the other programmer also has a 24" screen.
|
|
|
|
|
24'' screens. You make me jealous. I work for one of the biggest banks in the world and all they want to give us are measly 17'' screens.
If at first you don't succeed, failure may be your style. (Quentin Crisp)
Recession is when a neighbor loses his job. Depression is when you lose yours. (Ronald Reagan)
|
|
|
|
|
(or at least I was the first to vote).
I like to keep line width so the code can be printed without wrapping. I have a specific set of print font settings to allow about 125 character columns.
I have a few exceptions to this rule though.
-Jay
|
|
|
|
|
For some weird reason, or maybe I am Obsessive Compulsive, I "try" to limit, when I
can, to 80 characters, because that's the width that CRTs used to be when I started
doing this.... And for printability reasons, which I rarely even do anymore.
boB K7IQ
|
|
|
|
|
I never print my code, so no need to limit width.
My work code never gets too wide anyways, although my home code can stretch 2 or 3 screens - But since that's personal code, I'm not really phased
-= Reelix =-
|
|
|
|