208 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 100+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+3 more
AdrianMG says

Hey guys!

I am starting a new project with my team and we are defining some basic guidelines to write clean and maintainable code: charset, line endings, spaces instead of tabs, etc…

I am the designer / layout man so I will be continue using my favorite editor: Coda.

So the question is… How can I set a width limit based on number of characters to the lines of Coda?

Thanks in advice!

2566 posts Put a Donk On It
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+10 more
ThemeProvince says

Not sure what you mean exactly :)

+1 For Coda – Its the best :)

1869 posts YOU TOUCH IT YOU BUY IT
  • Has referred 200+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+6 more
FRESHFACE says

Why would you want to limit the width of a line? Every one of you can turn “Wrap lines” ON so you don’t have to scroll horizontally…

You can set the Tab Width in “Text -> Tab Width” – that is more handy too you imho.

208 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 100+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+3 more
AdrianMG says

Why would you want to limit the width of a line? Every one of you can turn “Wrap lines” ON so you don’t have to scroll horizontally… You can set the Tab Width in “Text -> Tab Width” – that is more handy too you imho.

Yeah I know that functionality, but we want to use character number limitation, it forces you to write better and clean code and blahblabhal.

In addition some coders are using netbeans and other editors, not just coda.

1012 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+6 more
wizylabs says

[...] spaces instead of tabs [...]

:O

208 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 100+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+3 more
AdrianMG says


[...] spaces instead of tabs [...]
:O

Why?

1012 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+6 more
wizylabs says



[...] spaces instead of tabs [...]
:O
Why?

maybe you the first one I see who prefers spaced over tabs :D any reason?

208 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 100+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+3 more
AdrianMG says




[...] spaces instead of tabs [...]
:O
Why?
maybe you the first one I see who prefers spaced over tabs :D any reason?

You can use tab key and keep safe for future problems when more people works in the same file with different editors / SO

1869 posts YOU TOUCH IT YOU BUY IT
  • Has referred 200+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+6 more
FRESHFACE says




[...] spaces instead of tabs [...]
:O
Why?
maybe you the first one I see who prefers spaced over tabs :D any reason?

Each editor has a different default number of spaces for one tab so you need to set one standard for your team.

Yeah I know that functionality, but we want to use character number limitation, it forces you to write better and clean code and blahblabhal.

You serious? :D Wasn’t it just some friendly prank? :sarcasm:

If I would tell this to our lead developer he would beat me with a stick.

1479 posts The right tools with none of the gimmicks
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+6 more
PixelBin says

Not sure what you mean exactly :) +1 For Coda – Its the best :)

cough Espresso cough

by
by
by
by
by
by