3 ms·
> Does it have good editor integration for autocompletion and linting? Yes, we have full IDE support in IntelliJ with auto-complete, go to definition, find ref
by munificent 10y ago
> Does it have good editor integration for autocompletion and linting?
Yes, we have full IDE support in IntelliJ with auto-complete, go to definition, find references, and all the other navigation stuff you expect from a modern typed language.
Similar features are integrated into most other editors too, though I'm not as personally familiar with them. I know we have a lot of people using Dart with Sublime, Atom, Emacs, and Vim.
> Is debugging painful? One of my favorite things about JS is Chrome Dev Tools.
There's debugger integration into IntelliJ and Atom. If you're using the dev_compiler[1], it generates human-friendly JS that you can step through, and also generates full source maps[2]. That all works really nicely with Chrome Dev Tools.
The VM also includes a really powerful profiler/debugger[3] that you can connect to with a browser to poke around and see what's going on in your running program.
[1]: https://github.com/dart-lang/sdk/tree/master/pkg/dev_compiler https://github.com/dart-lang/sdk/tree/master/pkg/dev_compile...
[2]: https://www.html5rocks.com/en/tutorials/developertools/sourcemaps/ https://www.html5rocks.com/en/tutorials/developertools/sourc...
[3]: https://dart-lang.github.io/observatory/ https://dart-lang.github.io/observatory/