tl;dr: (everybody already know this) webstorm is better at debugging
Actually for me, this is much more important: "Symbol and definition lookup is another great feature of WebStorm. While Emacs can find symbols and definitions in a single file via Tern, WebStorm can actually inspect your whole project and find a definition, or at least give you a very pruned list of candidates to choose from." not being able to Ctrl-click a variable or function really reduces my efficency (especially…
Emacs vs. WebStorm for Node.js Development
21–30 of 105 posts
Re: Emacs vs. WebStorm for Node.js Development
#22Earlier quoted context omitted.
Actually for me, this is much more important: "Symbol and definition lookup is another great feature of WebStorm. While Emacs can find symbols and definitions in a single file via Tern, WebStorm can actually inspect your whole project and find a definition, or at least give you a very pruned list of candidates to choose from." not being able to Ctrl-click a variable or function really reduces my efficency (especially…
I'm not sure how other emacs users do this, but I use `projectile-grep` to grep for symbols in a project all the time. In the spacemacs this is bound to `SPC g s p`.
Re: Emacs vs. WebStorm for Node.js Development
#23Partially offtopic. The author is doing > "complex edits [in Emacs] using Vim macros" This is a big surprise. I left vi for emacs in the early '90s when vi's macros were crippled, to say the least. I'm using vim for quick edits, mainly on servers or configuration files (sudo vi /etc/something). Did vim macros really become better than Emacs' ones?
not sure about "better", but i'm curious what was crippling back then? using them nowadays is a breeze and you get practically full functionality at your disposal.
:maappend chars to end of line( * )Jf:D
Then ^N to execute it, I think.
( * ) I don't remember how we quoted ESC
When I saw that emacs could record macros while I was typing that immediately sold me the editor. Multibuffer and multifile were nice features too.
Re: Emacs vs. WebStorm for Node.js Development
#24Partially offtopic. The author is doing > "complex edits [in Emacs] using Vim macros" This is a big surprise. I left vi for emacs in the early '90s when vi's macros were crippled, to say the least. I'm using vim for quick edits, mainly on servers or configuration files (sudo vi /etc/something). Did vim macros really become better than Emacs' ones?
For editing multiple files (mostly code) or a project folder, I use emacs with X11.
Re: Emacs vs. WebStorm for Node.js Development
#25I personally moved to visual studio code (from WebStorm ) which has a good debugger for Nodejs and a few features that are really handy ( support for .d.ts definitions for node modules ... ). I usually don't use MS products but they did an impressive job with that IDE, no question.
To make me switch to this 'working files' area really puts me off their product.
Re: Emacs vs. WebStorm for Node.js Development
#26I personally moved to visual studio code (from WebStorm ) which has a good debugger for Nodejs and a few features that are really handy ( support for .d.ts definitions for node modules ... ). I usually don't use MS products but they did an impressive job with that IDE, no question.
See JavaScript > Libraries > Download... and make sure to choose TypeScript community stubs. You can also add your own manually.
Re: Emacs vs. WebStorm for Node.js Development
#27When I develop Scheme with Geiser, it knows which module I'm working in currently and it knows how to jump to the definition of any symbol by inspecting the source information attached to any Scheme object. I can quickly jump to the REPL or evaluate arbitrary expressions. No ctags/etags or other static analysis tools, just a REPL. It's a really productive way to write and debug code.
Re: Emacs vs. WebStorm for Node.js Development
#28Earlier quoted context omitted.
Actually for me, this is much more important: "Symbol and definition lookup is another great feature of WebStorm. While Emacs can find symbols and definitions in a single file via Tern, WebStorm can actually inspect your whole project and find a definition, or at least give you a very pruned list of candidates to choose from." not being able to Ctrl-click a variable or function really reduces my efficency (especially…
I'm not sure how other emacs users do this, but I use `projectile-grep` to grep for symbols in a project all the time. In the spacemacs this is bound to `SPC g s p`.
Re: Emacs vs. WebStorm for Node.js Development
#29Re: Emacs vs. WebStorm for Node.js Development
#30Here are some helper commands I use to resolve JavaScript modules within emacs. The basic idea is to extract the string inside the require or import call, then ask a node subprocess to locate that file (using require.resolve), and use emacs to open that file. I'm sure someone more experienced with elisp can take it to the next level. See the interactive commands section towards the end of the file. https://github.com…