- Has been a member for 4-5 years
- United States
- Bought between 10 and 49 items
- Exclusive Author
My code is very ugly and I’m not entirely sure what ‘organized’ code really looks like. Could somebody post an example? Also, are there any features in programs like Dreamweaver or Notepad++ that will automatically organize it neatly? It just seems like something that would be in the programs.
- Has been a member for 4-5 years
- United States
- Bought between 10 and 49 items
- Exclusive Author
(can’t edit first post)
Nevermind, found the TextFX Tidy HTML thing in Notepad++!
Basically, white space, indenting, new lines, and commenting start and closing of major div’s =)
For css, pick a format of coding, and stick to it throughout your code. Different people have different styles.
I use netbeans php version.. and with alt+shift+t it organized php,css, javascript, html… php in html… it’s just wonderful…. Does not load as fast as notepad++ but does it’s job very well … I really don’t know any other better IDE …
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Item was Featured
- Author had a Free File of the Month
- Author was Featured
- Bought between 10 and 49 items
- Europe
- Exclusive Author
- Has been a member for 4-5 years
- Referred between 100 and 199 users
Dreamweaver has an function for this but i cant remember which one it was…...
Dreamweaver has an function for this but i cant remember which one it was…...
Netbeans is FREE and I think much better for a coder 
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Item was Featured
- Author had a Free File of the Month
- Author was Featured
- Bought between 10 and 49 items
- Europe
- Exclusive Author
- Has been a member for 4-5 years
- Referred between 100 and 199 users
Dreamweaver has an function for this but i cant remember which one it was…...Netbeans is FREE and I think much better for a coder![]()
I have taken a look at this think but i see the word java
i really hate to use java, makes my pc goes…..........blipblip 
Dreamweaver has an function for this but i cant remember which one it was…...
commands -> apply source formatting
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Item was Featured
- Author had a Free File of the Month
- Author was Featured
- Bought between 10 and 49 items
- Europe
- Exclusive Author
- Has been a member for 4-5 years
- Referred between 100 and 199 users
Dreamweaver has an function for this but i cant remember which one it was…...commands -> apply source formatting
Ow now i remember it, thanks!! 
If you have trouble reading it, other people will too. Once you can quickly scan the code and smile with delight…you’ve got clean code (other than the actual code which could still be terrible bad).
I use Aptana Studio 2.0 for my PHP development and Visual Studio 2008/2010 for C# development. I never need the tidy feature because I format/comment as I go for my own sanity.
