Open DanTup opened 10 years ago
Cool ,I think this is something we'll add. I'm thinking we'll have a file based format for tweaking infrequently used settings, and things could be one of them.
@devoncarew This is really needed :(
My prototype is currently a tiny Dart app; it has around 10-15 things in the packages
folder, and CDE has been churning my CPU for around 30 minutes (and using over 1GB RAM) since I opened it. It's caused my CPU fan to become quite loud and is pretty annoying. It's shown "Building..." since I opened it. (It's a 2.8GHz Core i7 desktop, 8GB RAM, 64bit Windows 7 Enterprise, latest 64bit Chrome stable).
Either something has gone badly wrong, or this is seriously inefficient; and since I'm not even using its pub instance, it seems really wasteful.
I'd be happy to have a go at adding this myself if someone could provide some pointers.
(It's still going; I'm sure this is broken... let me know if there's a way I can help debug!)
The built-in Dart compilation ("Building...") is very slow (presumably because it's running a version of dart2js that was dart2js'd?) and appears to occur when I edit Dart projects even if I never press Run or access it via a browser.
On my desktop PCs I tend to use Dartium through IIS, or if I want to use another browser, manually run the native Dart version of
pub serve
. This makes the slow "Building..." just a slight annoyance.On my Chromebook, I'm in dev mode and also run Dart and pub natively so "Building..." is a waste of resource (and battery) and slows the editor down.
It would be nice if I could just use CDE as an editor for the Dart; and disable all compilation or other clever things CDE is doing (or at least; don't do any of it unless something hits the port the built-in pub serve is listening on).