Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ![]() Interested in joining? Click here. If you are already a member of ZBCode, feel free to login right here: |
| [JS] Recommend beautifier, and other tools | |
|---|---|
| Topic Started: Mar 2 2010, 10:32 PM (103 Views) | |
| sylas | Mar 2 2010, 10:32 PM Post #1 |
![]()
|
What beautifiers (indent programs) do coders recommend for working with javascript? I am also interested in suggestions for editors, debuggers, etc; but Tools of the Trade by Reid seems to have that pretty well covered. I have obtained notepad++ on his recommendation. Now I need an indent tool, please! |
| I am in the process of setting up Climate Physics. Not really open for business yet, but open for anyone to give feedback, suggestions and help. | |
![]() |
|
| Reid | Mar 3 2010, 08:29 AM Post #2 |
![]()
What? The land of the free? Whoever told you that was your enemy.
![]()
|
http://javascript.about.com/library/blformat.htm Doesn't always work that well, and indeed it's quite ugly, but it does at least get the basics done Also, if you want to use a more programming oriented tool (with a much, much sharper learning curve) use Vim. There were four reasons I swapped to vim: 1. I use Linux, so Notepad++ had to go through Wine, which made it irritating and ugly 2. Vim handles indenting with spaces much better than Notepad++; primarily, Notepad++ can indent with spaces instead of tabs, but when you backspace, you have to backspace through all of the spaces on notepad++... vim's backspace treats 4 spaces as a tab 3. Vim supports smart indention; it actually indents for you. Notepad++ will keep your current level of indention, but you have to manually hit the tab key to move in a level. 4. Vim is a lot more powerful. I can autoindent an entire script in just a few keystrokes. I can go to the beginning and end of files using the gg and G commands. I can save and then quit just by typing :wq. Vim in general has such a huge learning curve, but in reality, it's so worth it. |
| |
![]() |
|
| sylas | Mar 3 2010, 03:34 PM Post #3 |
![]()
|
Thanks Reid. I'm a vi user from way back... started out computing on UNIX back in the 1970s. So vim might be my best option. These days I use windows XP and have a cygwin UNIX available for when I want to go back to the good old days of text based UNIX stuff. I have never actually got around to using Linux, but I don't want to reorganize my whole computer right now. I have a week to learn about ZB and get my new board ready to roll. Edited by sylas, Mar 3 2010, 03:34 PM.
|
| I am in the process of setting up Climate Physics. Not really open for business yet, but open for anyone to give feedback, suggestions and help. | |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Code University · Next Topic » |


















7:17 PM Sep 9