208 posts
  • 6 Years of Membership
  • Affiliate Level 4
  • Author Level 5
  • Beta Tester
+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!

2627 posts Put a Donk On It
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
  • Featured Author
+11 more
ThemeProvince
says

Not sure what you mean exactly :)

+1 For Coda – Its the best :)

1908 posts YOU TOUCH IT YOU BUY IT
  • Top Monthly Author
  • Community Superstar
  • Author Level 11
  • Winner
+10 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
  • 6 Years of Membership
  • Affiliate Level 4
  • Author Level 5
  • Beta Tester
+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
  • 5 Years of Membership
  • Affiliate Level 2
  • Author Level 5
  • Collector Level 2
+8 more
wizylabs
says

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

:O

208 posts
  • 6 Years of Membership
  • Affiliate Level 4
  • Author Level 5
  • Beta Tester
+3 more
AdrianMG
says


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

Why?

1012 posts
  • 5 Years of Membership
  • Affiliate Level 2
  • Author Level 5
  • Collector Level 2
+8 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
  • 6 Years of Membership
  • Affiliate Level 4
  • Author Level 5
  • Beta Tester
+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

1908 posts YOU TOUCH IT YOU BUY IT
  • Top Monthly Author
  • Community Superstar
  • Author Level 11
  • Winner
+10 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
  • Affiliate Level 4
  • Author Level 7
  • Beta Tester
  • Collector Level 2
+7 more
PixelBin
says

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

cough Espresso cough

by
by
by
by
by
by