I don't miss Eclipse at all.
My normal developer tool stack consists of:
* TextMate
* VIM
* bash
Code completion? Don't need it.
Function lists? Available from both TextMate and VIM
Class browsers? JavaScript doesn't have classes
Debugging? Write code that isn't so complex you need a step through debugger
Regards,
-Josh
____________________________________
Joshua Kehn | Josh...@gmail.com
http://joshuakehn.com
> --
> You received this message because you are subscribed to the Google Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com.
> To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
>
Debugging? Write code that isn't so complex you need a step through debugger
--
Easier said than done.
Node has a built-in stepwise debugger. Start your program wiht `node
debug foo.js`, and put a "debugger" statement somewhere in your code.
(The "debugger" statement is ignored if not running in debug mode.)
Currently doing, and I don't find it hard.
That said, the node debug option is something I didn't know about. I have to try that sometime.
I don't use it very often, either. But, when you need to work out
some puzzling bit of code, especially something you're using that
someone else wrote, it's pretty awesome.
--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
Sublime is supposed to run on
- Windows - also available as a portable version
- Windows 64 bit (Vista or Windows 7 required) - also available as a portable version
- OS X (OS X 10.6 is required)
- Linux 32 bit
- Linux 64 bit
Gonna have a look.
Not only does it run on all those platforms. A single license applies to all platforms should you have a need to run it in multiple.
For me it's Notepad++ for Windows and gedit or nano (with syntax
highlighting of course) for Linux.
--
You received this message because you are subscribed to the Google Groups "nodejs" group.
For me it's Notepad++ for Windows and gedit or nano (with syntax
highlighting of course) for Linux.
--
You received this message because you are subscribed to the Google Groups "nodejs" group.
For me it's Notepad++ for Windows and gedit or nano (with syntax
highlighting of course) for Linux.
--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com.
To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
--
Guy Halford-Thompson - http://www.cach.me/blog
I put together a handy "build" tool that allows me to launch my project in node and show the output in the build console.
--
--
> Debugging? Write code that isn't so complex you need a step through debuggerSo don't do anything professionally? :/
Just a question about it.. is there a way of doing splitview on the same file?
Found it. Not intuitive but it works perfectly.
1. Split view in 2 rows for example (Alt+Shift+8)
2. File -> Clone File
3. Move clone to row 2
4. :D
At 10:17 AM 6/8/2011, you wrote:
>As for debugging, I've personally never found a need for one and get
>as excited about debuggers as I do about IDEs. console.log gives me
>everything I've needed to do, even on complex Node.js work.
Paul Tanner - Virtual Technologies - http://www.virtual-techno.com
Tel: +44 1494 581979 Mob: +44 7973 223239 mailto:pa...@virtual-techno.com
console.dir is your friend:
http://nodejs.org/docs/v0.4.8/api/stdio.html#console.dir
Also, console.log can take many arguments, and you can also use
printf-like arguments (with %j for JSON, if I remember correctly):
http://nodejs.org/docs/v0.4.8/api/stdio.html#console.log
> --
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com.
> To unsubscribe from this group, send email to
> nodejs+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en.
>
>
--
Linus G Thiel
Hansson & Larsson
http://hanssonlarsson.se/
+46 709 89 03 85
<snip>
var util = require("util");
console.log(util.inspect(someNestedObject)));
</snip>
This has worked well for me so far.
Cheers,
Steve
--
Regards,
-Josh
____________________________________
Joshua Kehn | Josh...@gmail.com
http://joshuakehn.com