Skip to main content

Posts

Showing posts from October, 2014

WebStorm 9 released with improved Dart support

Today, JetBrains announced WebStorm 9 , an update to their powerful web development editor. Highlights for the Dart developer include: pub serve support, improved isolates debugging, Observatory support, new syntax support, and more. WebStorm 9 now launches pub serve, Dart's development server, when the developer runs a Dart web app. Pub serve takes care of generating assets, compiling to JavaScript, and more. Developing and debugging apps that run multiple computations in parallel is now easier, thanks to the new ability to set breakpoints inside of isolates. For deep insight into your app running on the Dart VM, you can now open the Observatory directly from WebStorm 9. Use the Observatory to learn how memory is used, where CPU time is spent, and more. It's now easier to debug apps that use collections (which is every app), thanks to the debugger's logical view of maps and lists. Developers now see the logical data structure instead of internal implementation details. W
Read more

Dart 1.7: easily share and use command-line applications built with Dart

The Dart language, libraries, and runtime make it easy to create command-line applications. In fact, all of the core tools in the Dart SDK – dart2js, pub, and dartanalyzer – are written in Dart. We wanted to allow developers to easily get their own Dart scripts and command-line apps into users' hands. With Dart 1.7, users now have an easy way to install and run scripts built with Dart, making first-class command-line Dart apps a reality. Developers can specify executables (Dart scripts) in their pub package, which are made available to a user when the package is installed. Before: $> git clone https://git.example.com/my_cool_app $> cd my_cool_app $> pub install $> dart bin/my_cool_app.dart Now: $> pub global activate my_cool_app $> my_cool_app Dart 1.7 also includes improvements to our code isolation models. You can now launch isolates with a different package root than the host application, allowing for composition of Dart applications w
Read more

Dart plugin for Sublime updated with many new features

Many of our developers enjoy using lightweight text editors, but still want to use features traditionally found in powerful IDEs. Today, in partnership with Guillermo López-Anglada , lead developer of the Dart plugin for Sublime , we are announcing many new features to help Dart developers stay productive in Sublime Text 3. With the Dart plugin, Sublime understands your Dart code and projects. Dart code is syntax highlighted, with support for the latest language keywords like async/await and deferred . To provide you with feedback on code quality, the plugin displays errors and warnings from static analysis. You can run web applications, command-line scripts, and servers without leaving Sublime. The Dart plugin starts and manages pub serve , Dart's development server, making it easy to launch your web app into Dartium or any browser. Integration with various Dart SDK tools is now more complete. Keep your Dart code in sync with the Dart Style Guide with the new
Read more

Google Elections Launches New App Built with Dart, Polymer

This past weekend, the Google Elections team introduced their Elections Explorer for Brazil : a live, real-time election results experience for the presidential, gubernatorial, senate, and chamber races in Brazil. This is the Google Elections team's second app built with Dart , and their first to use Polymer . The Google Elections team is happy with their experience. They write: "We love writing Dart because it's fast, compact, and sane. Great tools and a readable language give us the confidence we need to move quickly. But adding Polymer to the mix is pure gold. After years of writing code for the web, this was the first time I've felt like I'm working with a real platform. We threw away tons of the boilerplate we've built up over time and just focused on the app itself. This was awesome." Sean Diamond, new to our team this year, said, "Being new to web development, but having done years of UI development on native platforms, writing Polyme
Read more

Dart launches support for Homebrew

Developers can now easily install and update Dart SDK and Dartium on Macs with Homebrew, a popular package manager for Mac OS X. Both the stable SDK and (for the more adventurous) the dev channel SDK are available via Homebrew. It's easy to get started. After you install Homebrew , run these commands to install the stable channel Dart SDK and Dartium:   brew tap dart-lang/dart   brew install dart   brew install dartium # if you build Dart client apps When there is a new build of the SDK or Dartium, run these commands to stay up to date:   brew update   brew upgrade dart   brew upgrade dartium Use Homebrew if you build server-side Dart apps, or you are not using Dart Editor (for example, if you use WebStorm or Sublime ). To download Dart Editor, you can continue to use the download page. We hope our support for Homebrew makes it easy for our Mac developers to stay on the latest versions of the Dart SDK. Thanks to the Homebrew developers for answering our questions alo
Read more