Tool for writing javascript code [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this qu开发者_JS百科estionI tried different tool for writing javascript code such as netBeam and eclipse.
They are great tool for developing javascript library but they have the disadvantages to rely on java which is not very fast at all for my laptop (1GB of memory and 1.1Ghz CPU).
Can you please suggest me an open source tool to help developers writing JavaScript libraries?
Use something light like Notepad++ coupled with Google Chrome and/or Firebug which provide a REPL and debugger.
You have tons of options.
- Vim
- Emacs
- Sublime Text
- WebStorm (and friends)
- Aptana
- Notepad++
- SCiTE
- Notepad2
- TextMate (or e Text Editor, its Windows clone)
- Coda
- And more
A javascript library is just a regular piece of code. Try several, and pick whichever one you like best.
For the debugging part, the two major browsers (talking about actual browsers, not IE) Chrome and FireFox both have great debugging tools. Chrome has the built in Developer Tools (Ctrl-Shift-I to launch) and ff has FireBug.
I hear good things about Aptana. You can run it standalone or plug it into eclipse.
i Used Google Web Toolkit for Writing JavaScript Code it's easy and fastest.
Edit
Noticed now that you were looking for an Open Source one, while you have to buy the one I suggested. My choice for an open source solution is NetBeans.
Are you looking for an editor?
So far the best I could find is Sublime Text 2.
It's lightweight, fast and with many features. It aims at increasing your productivity by using only needed things.
So far there is a good support for JavaScript, with many snippets, auto completion and good syntax highlighting. You can write a function statement by only typing fun+TAB for example. So far it's the best editor I've tried.
精彩评论