Messy code … I hate it. It annoys me when programmers don’t use line breaks after their semicolons. It bugs me that some programmers write with irregular brackets. Most of all, it totally irks me when programmers don’t tab their code to distinguish between functions, “if” statements, nested elements, etc. White is bliss. Less is more. Spacing is good. Don’t jumble everything up for goodness sake!
Firefox to the Rescue (as Usual)
I got tired of living tab-less. If there’s anything I learned from Firefox, itβs that you can usually find an extension to add any desired feature in your browser. So, I searched for an extension to make tabbing easier and I quickly found one. tabinta is exactly what I was looking for. “tabinta” is derived from “tab in textarea.”
Installation and usage is a breeze. And you can disable and enable the function anytime.
After installation and browser restart, there is nothing more to set up. Whenever you go to a textarea and press the tab key, you will insert tab characters instead of moving focus.
If you write a lot of code online, tabinta is a must-have tool for your work!
March 6th, 2007 at 11:38 pm
Sounds like this could come in handy. However, I think that spaces are preferable to tabs when it comes to programming. Thing is, you can never count on the tab size in whatever editor someone is using, so stuff using tabs often looks wrong (unless you can convince everyone to configure their editors the same). But if you use spaces, you don’t have any problems.
What I think would be cool would be an autoindent plugin.
May 8th, 2007 at 7:00 am
Scott, I’m of the opposite side of that argument.
Tabs have an advantage of spaces to me, that I can customize them. If I like 3 spaces, 4 spaces, 8 spaces, even 20 spaces. If you work in tabs, then I can easily change your code to be comfortable to read by my standard. It may look “messed up” to you, but the person reading it will have been used to that style, so I will look right to them.
Good call with the autoindent though, that would be really handy. Hmm…if we go that far, maybe some syntax highlighting in the TA… π
January 17th, 2008 at 11:09 pm
sdfh sadfasdf
afsdf asd
sdf asdfasdf
asdfsda
January 17th, 2008 at 11:12 pm
“Test’ ‘ (white spaces )”
Because the white spaces disappears. Tabs does not work either.
how can we solve below problem
If we enter text with tab and white spaces as shown above ,both tabs and whit spaces disappears