I have to develop with someone else's styleguide and it requires to break every line at 80 characters.
Is it possible to get any visual clue where r.g. 80 columns are?(I mean a vertical line like most texteditors have... not the column number on the bottom) Would be nice to have that feature, since the "right margin indicator" as is present in textmate is pretty useless I think. It only shows where the window is larger than the rightmost column fully visible?(What is it for anyway?)
Maybe I am just missing something...
Thomas
View - Wrap Column
On Wed, May 21, 2008 at 11:30 AM, Thomas Krajacic tkrajacic@inode.at wrote:
I have to develop with someone else's styleguide and it requires to break every line at 80 characters.
Is it possible to get any visual clue where r.g. 80 columns are?(I mean a vertical line like most texteditors have... not the column number on the bottom) Would be nice to have that feature, since the "right margin indicator" as is present in textmate is pretty useless I think. It only shows where the window is larger than the rightmost column fully visible?(What is it for anyway?)
Maybe I am just missing something...
Thomas
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Wow thanks...
This is cool :P stupid me for not figuring that out!
On 21 May 2008, at 11:15, Baluta Cristian wrote:
View - Wrap Column
On Wed, May 21, 2008 at 11:30 AM, Thomas Krajacic tkrajacic@inode.at wrote: I have to develop with someone else's styleguide and it requires to break every line at 80 characters.
Is it possible to get any visual clue where r.g. 80 columns are?(I mean a vertical line like most texteditors have... not the column number on the bottom) Would be nice to have that feature, since the "right margin indicator" as is present in textmate is pretty useless I think. It only shows where the window is larger than the rightmost column fully visible?(What is it for anyway?)
Maybe I am just missing something...
Thomas
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- Cristi www.ralcr.com ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
btw, what do you need it for? never used.
On Wed, May 21, 2008 at 1:17 PM, Thomas Krajacic tkrajacic@inode.at wrote:
Wow thanks... This is cool :P stupid me for not figuring that out!
On 21 May 2008, at 11:15, Baluta Cristian wrote:
View - Wrap Column
On Wed, May 21, 2008 at 11:30 AM, Thomas Krajacic tkrajacic@inode.at wrote:
I have to develop with someone else's styleguide and it requires to break every line at 80 characters.
Is it possible to get any visual clue where r.g. 80 columns are?(I mean a vertical line like most texteditors have... not the column number on the bottom) Would be nice to have that feature, since the "right margin indicator" as is present in textmate is pretty useless I think. It only shows where the window is larger than the rightmost column fully visible?(What is it for anyway?)
Maybe I am just missing something...
Thomas
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- Cristi www.ralcr.com ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
The styleguide says every line has to be max 80 columns wide. So it gives me an indication of when to break off the line and start a new one.
Also they have banners for every method like this (simplified here): ================================================== function() { ================================================== }
and the "lines" should go all the way to the right. With the indicator I easily know where to end such a line for the banner. (Of course copy/paste of an existing would also give me that result, but it is really good to know if the line has the correct length)
I actually think that lots of people use it like this...?
On 21 May 2008, at 14:11, Baluta Cristian wrote:
btw, what do you need it for? never used.
On Wed, May 21, 2008 at 1:17 PM, Thomas Krajacic tkrajacic@inode.at wrote: Wow thanks...
This is cool :P stupid me for not figuring that out!
On 21 May 2008, at 11:15, Baluta Cristian wrote:
View - Wrap Column
On Wed, May 21, 2008 at 11:30 AM, Thomas Krajacic tkrajacic@inode.at wrote: I have to develop with someone else's styleguide and it requires to break every line at 80 characters.
Is it possible to get any visual clue where r.g. 80 columns are?(I mean a vertical line like most texteditors have... not the column number on the bottom) Would be nice to have that feature, since the "right margin indicator" as is present in textmate is pretty useless I think. It only shows where the window is larger than the rightmost column fully visible?(What is it for anyway?)
Maybe I am just missing something...
Thomas
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- Cristi www.ralcr.com ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- Cristi www.ralcr.com ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Thu, May 22, 2008 at 9:48 AM, Thomas Krajacic tkrajacic@inode.at wrote:
Also they have banners for every method like this (simplified here):
function() {
} and the "lines" should go all the way to the right. With the indicator I easily know where to end such a line for the banner. (Of course copy/paste of an existing would also give me that result, but it is really good to know if the line has the correct length)
This is screaming for a snippet : )
Thomas Krajacic wrote:
The styleguide says every line has to be max 80 columns wide. So it gives me an indication of when to break off the line and start a new one. [...] I actually think that lots of people use it like this...?
You're not alone. Our coding standards are similar, and the wrap-column indicator is how I tell when I'm over the limit.