News for hackers. Stuff that matters.
Re:Ask HN: Which editor do you use for JavaScript Development? by cellis on Friday May 24, 2019 @06:19PM (#20005797)
VSCode with the vimstyle extension. Sometimes I turn off vimstyle because it conflicts with my existing keyboard shortcuts. Still a learning process, + I've started using the ultimate hacking keyboard and its arrow keys are mapped to I for up ( which is INSERT MODE in vim ), and j/l for over ( vim uses h/l ), and K for down ( vim uses K for UP ), so there is a HUGE learning curve to use both vim + vscode shortcuts + uhk. But it's getting a lot easier with practice.
Re:Ask HN: Which editor do you use for JavaScript Development? by cellis on Friday May 24, 2019 @06:59PM (#20006027)
One thing I've kind of decided on is minimal use of hjkl keys in vim in favor of UHK's MOD +

                    I
                  J K L
The biggest thing I use vimstyle for is 'U' for undo and line jumping with <line> SHIFT+G.
Re:Ask HN: Which editor do you use for JavaScript Development? by jakelazaroff on Friday May 24, 2019 @06:07PM (#20005713)
VSCode, although when Panic's successor to Coda drops I'll probably switch to that. https://panic.com/next/
Re:Ask HN: Which editor do you use for JavaScript Development? by hnjim on Friday May 24, 2019 @07:11PM (#20006082)
Very interested in this as well; have you worked with a pre-release or what gives you confidence in switching?
Re:Ask HN: Which editor do you use for JavaScript Development? by jakelazaroff on Friday May 24, 2019 @09:32PM (#20006596)
No early access or anything! I've just been happily using their software for 10+ years.
Re:Ask HN: Which editor do you use for JavaScript Development? by baron816 on Friday May 24, 2019 @06:16PM (#20005774)
Google Docs, because, according to the Google interview process, that makes some sort of sense.
Re:Ask HN: Which editor do you use for JavaScript Development? by PretzelFisch on Friday May 24, 2019 @08:19PM (#20006345)
There is nothing like writing code in a word processor.
Re:Ask HN: Which editor do you use for JavaScript Development? by ioddly on Saturday May 25, 2019 @05:05PM (#20011423)
I did this recently and it kept autocapitalizing/correcting things, and I kept wasting time reflexively changing them. There's probably a code syntax option buried somewhere in there but heck if I know where it is.
Re:Ask HN: Which editor do you use for JavaScript Development? by devinmcafee on Friday May 24, 2019 @06:49PM (#20005971)
I use Vim with vim-plug, vim-javascript, ctrlsf, ctrlp, and some custom bindings in my .vimrc to help me use the "gf" command to jump to source. I've spent the time to invest in learning how to use vim and it has served me well across many languages, from writing Javascript, HTML, CSS, to Python, Ruby and Golang.
Re:Ask HN: Which editor do you use for JavaScript Development? by schneidmaster on Friday May 24, 2019 @06:53PM (#20005995)
Sublime Text 3. It's simple but blazing fast and rock solid. I have tried Atom and VSCode over the years, but they are both just a bit slower at almost everything, and I didn't find it worth the investment to remap my muscle memory accordingly.
Re:Ask HN: Which editor do you use for JavaScript Development? by deepsun on Friday May 24, 2019 @06:00PM (#20005667)
IntelliJ Ultimate (for everything)
Re:Ask HN: Which editor do you use for JavaScript Development? by rococode on Friday May 24, 2019 @06:11PM (#20005740)
Same here. I love having a single IDE that can handle all the languages I use. VSCode is great and I used to use it (with VSCodeVim) a lot, but it just doesn't handle Java or Python nearly as well. I ended up deciding I preferred to stick with one set of IDE/configs/keybinds, so I went with the more powerful option.

I think my impression of VSCode is that it feels more like an editor à la Sublime Text, or at an extreme, a well-configured vim, than an actual IDE. But I want the IDE experience - primarily global refactoring and fast auto-complete. IntelliJ provides that (along with IdeaVim for the improved text editing experience too).

Re:Ask HN: Which editor do you use for JavaScript Development? by fernandotakai on Friday May 24, 2019 @06:32PM (#20005881)
vim/neovim with plugins. i've been using vim for so long now (from my accounts, about ten years?) that using anything else feels just wrong (including VSCode with vim mode, it's quite good but there's like 10% of my usage that it doesn't cover properly and it's super annoying).
Re:Ask HN: Which editor do you use for JavaScript Development? by felixc on Friday May 24, 2019 @06:27PM (#20005859)
Emacs, same as for everything else.
Re:Ask HN: Which editor do you use for JavaScript Development? by panopticon on Friday May 24, 2019 @05:59PM (#20005657)
Webstorm for my day job, VSCode for my passion projects when I'm at home, Neovim for my passion projects when I'm remote.
Re:Ask HN: Which editor do you use for JavaScript Development? by joshualim on Friday May 24, 2019 @06:00PM (#20005666)
Almost all the developers (~50 total) where I work use VS Code. I think it's pretty much industry standard for js/ts at this point.

Personally I use vim with ale, youcompleteme and tern plugins.

Re:Ask HN: Which editor do you use for JavaScript Development? by mhd on Friday May 24, 2019 @06:35PM (#20005898)
Emacs, when it's just part of a larger application using a different language, or when the whole environment is even more effed up than usual for JS (eg. ExtJS) and you could parse the code as well as Perl anyway.

VSCode as a stop-gap solution for more substantial JS code. The gap being until I either can configure Emacs properly (language server or something similar), or preferably when I can get rid of JS (and no, not with MS JS++).

Re:Ask HN: Which editor do you use for JavaScript Development? by weaksauce on Friday May 24, 2019 @06:47PM (#20005963)
spacemacs has a pretty ok js configuration. you can use LSP with tern and it seems to do a good job most of the time.
Re:Ask HN: Which editor do you use for JavaScript Development? by stunt on Friday May 24, 2019 @07:02PM (#20006046)
For JS and TypeScript, I use VSCode cos of all the extensions and the ecosystem.

I used to use Sublime with a lot of configuration and some custom plugins but I gave up its performance to VSCode convenience.

I use VIM for other stuff and VIM key bindings on both VSCode and Sublime.

I sometimes miss the experience with Sublime but just too lazy to set it up properly for JS and TypeScript.

Re:Ask HN: Which editor do you use for JavaScript Development? by ComputerGuru on Friday May 24, 2019 @06:24PM (#20005832)
Neovim with the autozimu language client plugin and this lsp: https://github.com/theia-ide/typescript-language-server
Re:Ask HN: Which editor do you use for JavaScript Development? by randomsearch on Friday May 24, 2019 @07:15PM (#20006101)
Used VS Code for a year. Realised it was just an editor and not an IDE. Paid for webstorm. Never going back.

If you prefer IntelliJ IDEA to emacs etc for Java, you should probably switch to webstorm. Batteries included, nicer UI.

Re:Ask HN: Which editor do you use for JavaScript Development? by jordanthoms on Friday May 24, 2019 @06:24PM (#20005837)
Sublime text
Re:Ask HN: Which editor do you use for JavaScript Development? by thex10 on Friday May 24, 2019 @06:03PM (#20005687)
VSCode for everything, though my boss offered to get me Webstorm...
Re:Ask HN: Which editor do you use for JavaScript Development? by pmontra on Friday May 24, 2019 @07:42PM (#20006210)
Emacs with some extension that highlights undefined variables and missing semicolons. My laptop is off now, I can't check which one. Probably one of the common modes.
Re:Ask HN: Which editor do you use for JavaScript Development? by johnchase on Friday May 24, 2019 @06:59PM (#20006025)
Vim with plugins. At this point I am the only one at my company who does not use VSCode, it would be nice to be able to share new tricks with someone...
Re:Ask HN: Which editor do you use for JavaScript Development? by the_absurdist on Friday May 24, 2019 @06:13PM (#20005749)
vim - vim-javascript - tern_for_vim - vdebug - ale
Re:Ask HN: Which editor do you use for JavaScript Development? by hnjim on Friday May 24, 2019 @07:14PM (#20006099)
Really interesting to see everyone's responses. Do you know if there is a survey capability in HN for these types of things? I may revisit the thread later and aggregate the results too if others would find that helpful, but this might be nice as a native Ask HN feature. I suppose I could have just linked to a poll but there is value is in the comments vs the results too.
Re:Ask HN: Which editor do you use for JavaScript Development? by threatofrain on Saturday May 25, 2019 @12:50AM (#20007140)
https://2018.stateofjs.com/other-tools/#text_editors

VSC is monster good and it makes me wonder of the competition in this space for the next few years.

Re:Ask HN: Which editor do you use for JavaScript Development? by quickthrower2 on Saturday May 25, 2019 @06:08PM (#20011766)
I use Vscode because of the decent ecosystem and debugging support. It’s certainly slower than a native editor, notepad++ for example but I can forgive the little pause here and there for the benefits it brings.
Re:Ask HN: Which editor do you use for JavaScript Development? by LoSboccacc on Friday May 24, 2019 @06:16PM (#20005775)
mapped my workspace so I can work directly within the chrome debugger. not the most petty way but it's darn effective since all objects and data are laid before my eyes and can be inspected and manipulated without braking context
Re:Ask HN: Which editor do you use for JavaScript Development? by snazz on Friday May 24, 2019 @06:44PM (#20005948)
That’s cool. I wonder why Google or Mozilla don’t create an IDE that uses their respective devtools to approximate the runtime introspection of a Lisp Machine. This feels like it should be the default solution given that the tools already exist.
Re:Ask HN: Which editor do you use for JavaScript Development? by termage on Friday May 24, 2019 @10:44PM (#20006798)
I’d love to read a blog post about this. I often pause the chrome debugger and keep it open in a window next to my editor (VS Code, for those counting).
Re:Ask HN: Which editor do you use for JavaScript Development? by LoSboccacc on Saturday May 25, 2019 @02:25AM (#20007434)
this is the gist of chrome configuration https://developers.google.com/web/tools/setup/setup-workflow

but the rest depends on your backend because you need the server to hot reload changes from the filesystem

Re:Ask HN: Which editor do you use for JavaScript Development? by termage on Monday May 27, 2019 @12:29AM (#20019453)
Sweet. Thanks.
Re:Ask HN: Which editor do you use for JavaScript Development? by tetron on Friday May 24, 2019 @09:34PM (#20006600)
For TypeScript, Emacs TIDE is very good. Not sure how well it works with vanilla JS.
Re:Ask HN: Which editor do you use for JavaScript Development? by auslegung on Friday May 24, 2019 @05:56PM (#20005636)
VSCode or Neovim
Re:Ask HN: Which editor do you use for JavaScript Development? by arenaninja on Saturday May 25, 2019 @08:56PM (#20012468)
IntelliJ ultimate for TypeScript. Have tried vscode but it was slow on Windows for monorepos; haven't tried vscode on mac for this same project yet
Re:Ask HN: Which editor do you use for JavaScript Development? by villgax on Saturday May 25, 2019 @06:07AM (#20008105)
VSCode with Synthwave 84 theme, plugins for everything
Re:Ask HN: Which editor do you use for JavaScript Development? by swapsCAPS on Friday May 24, 2019 @06:42PM (#20005932)
Neovim. VSCode with Vim keybindings if I had more RAM.
Re:Ask HN: Which editor do you use for JavaScript Development? by tckr on Friday May 24, 2019 @06:04PM (#20005695)
Webstorm because VSCode ways of handling global search and replace does not work for me.
Re:Ask HN: Which editor do you use for JavaScript Development? by savethefuture on Friday May 24, 2019 @06:06PM (#20005711)
Sublime text
Re:Ask HN: Which editor do you use for JavaScript Development? by chimen on Friday May 24, 2019 @06:14PM (#20005761)
Webstorm.
Re:Ask HN: Which editor do you use for JavaScript Development? by themoat on Friday May 24, 2019 @05:51PM (#20005606)
Neovim with coc.nvim.
Re:Ask HN: Which editor do you use for JavaScript Development? by mythrwy on Friday May 24, 2019 @06:49PM (#20005967)
Vim with snipmate (and a bunch of other plugins).
Re:Ask HN: Which editor do you use for JavaScript Development? by vertline3 on Saturday May 25, 2019 @06:32AM (#20008197)
Notepad++

It is minimal and I think Im not supposed to use it.

Re:Ask HN: Which editor do you use for JavaScript Development? by jhoh on Sunday May 26, 2019 @02:30PM (#20016543)
IntelliJ Idea Ultimate with IdeaVIM
Re:Ask HN: Which editor do you use for JavaScript Development? by dsego on Friday May 24, 2019 @06:38PM (#20005909)
Sublime Text 3.
Re:Ask HN: Which editor do you use for JavaScript Development? by mgranados on Friday May 24, 2019 @06:05PM (#20005700)
vim with vim-javascript ¯\_(ツ)_/¯
Re:Ask HN: Which editor do you use for JavaScript Development? by jamesfmilne on Friday May 24, 2019 @06:41PM (#20005930)
vim (MacVim, gvim or just plain vim)
Re:Ask HN: Which editor do you use for JavaScript Development? by samsungha on Friday May 24, 2019 @06:07PM (#20005718)
IntelliJ or else plain Vi[m].
Re:Ask HN: Which editor do you use for JavaScript Development? by ajavascriptdude on Friday May 24, 2019 @06:07PM (#20005716)
atom
Re:Ask HN: Which editor do you use for JavaScript Development? by rplst8 on Friday May 24, 2019 @05:53PM (#20005624)
TypeScript
Re:Ask HN: Which editor do you use for JavaScript Development? by panpanna on Friday May 24, 2019 @06:00PM (#20005662)
> TypeScript

I assume this means vscode?

Re:Ask HN: Which editor do you use for JavaScript Development? by mcfunk on Friday May 24, 2019 @06:05PM (#20005703)
This would seem a weird answer indeed if you don't have context -- which is that VSCode (Microsoft) is developed with native handling of Typescript (Microsoft) -- so is somewhat of the standard in that regard.
Re:Ask HN: Which editor do you use for JavaScript Development? by rplst8 on Friday May 24, 2019 @08:31PM (#20006398)
The answer is tongue-in-cheek. Basically, don't write JavaScript, write TypeScript and transpile.
Re:Ask HN: Which editor do you use for JavaScript Development? by nagyf on Friday May 24, 2019 @06:02PM (#20005682)
The assumption is more weird than the answer. Anyway, I use IntelliJ Ultimate. VsCode only for small scripts
Re:Ask HN: Which editor do you use for JavaScript Development? by ajavascriptdude on Friday May 24, 2019 @06:10PM (#20005734)
sublime text too
Re:Ask HN: Which editor do you use for JavaScript Development? by barbecue_sauce on Friday May 24, 2019 @06:13PM (#20005748)
vim or vscode, depending on my mood.
Re:Ask HN: Which editor do you use for JavaScript Development? by PixelPaul on Sunday May 26, 2019 @07:33PM (#20018297)
Atom
Re:Ask HN: Which editor do you use for JavaScript Development? by ajb413 on Friday May 24, 2019 @06:18PM (#20005785)
sublime text
Re:Ask HN: Which editor do you use for JavaScript Development? by taf2 on Saturday May 25, 2019 @04:25PM (#20011154)
vim
Re:Ask HN: Which editor do you use for JavaScript Development? by badinsie on Friday May 24, 2019 @09:40PM (#20006616)
ST3
Re:Ask HN: Which editor do you use for JavaScript Development? by gnusty_gnurc on Friday May 24, 2019 @09:18PM (#20006558)
Webstorm!
Re:Ask HN: Which editor do you use for JavaScript Development? by drivingmenuts on Friday May 24, 2019 @08:30PM (#20006394)
Phpstorm
Re:Ask HN: Which editor do you use for JavaScript Development? by simplesleeper on Friday May 24, 2019 @06:43PM (#20005938)
VSCode
Re:Ask HN: Which editor do you use for JavaScript Development? by malyk on Friday May 24, 2019 @06:52PM (#20005987)
sublime