Skip to main content

Posts

New site for Dart news and articles

For the latest Dart news, visit our new blog at  https://medium.com/dartlang .

New 'Run as JavaScript' option in Dart Editor

Posted by Dan Rubel New Dart Editor build available.  Highlights from build 9661 include: Reduced the memory requirements of the Editor Parsing and indexing speed has been improved by 10% - 20% Added caching so that some UI actions (like opening context menus) are faster. Improve code completion for top-level names. new 'Run as JavaScript' context menu item to make it easier to execute JavaScript (non-Dartium) launches. Fully implemented the feature to allow debugging an app launched from a url (i.e. running from a 3rd party web server). Debugger fixes and UX improvements Top-level semantic highlighting presentation tweaks Debugger tooltips for the command-line debugger 3 analysis fixes You can read the full change log  or start with the Dart Editor Tutorial .

Improvements to debugger and a new refactor added to Dart Editor

Posted by Devon Carew A new Dart Editor build is now available. Highlights from this build include: The 32 bit Dartium build has beed added back into the 32 bit Editor build for Linux (and the 64 bit Editor build still contains the 64 bit Dartium build). 5 analysis issues fixed. Dartdoc improvements; we now syntax highlight dartdoc comments, and properly indent the next line when the user hits enter. Added a top level "Refresh" menu item (and an associated keybinding). Added an "Inline local variable" refactoring. Windows launching fixes! We've received lots of reports of issues launching Dartium on Windows. We found and fixed an issue in the editor; in addition, we now disable Chrome extensions when launching Dartium. Some extensions were causing issues when trying to connect the debugger. We also include additional diagnostic information for Windows; please send feedback if you continue to see issues when trying to launch Dartium on Windows. We now...

Draft spec changes for Metadata in Dart language

Posted by Gilad Bracha Metadata This document fleshes out the specification for the metadata proposal given by Peter. Spec Changes Metadata gets its own section that describes what a valid annotation is either an identifier referring to a constant variable or a valid call to a constant constructor. Some discussion of reflective access. The rest of the changes are modifications to the grammar in the various places metadata can appear, and a change to the syntax of raw strings (which until now relied on the @ sign). We might also want to add metadata to libraries, parts or imports, but we’ll hold off until the planned syntax revisions for those things are finalized. Should we allow metadata to appear everywhere, like a comment? I think so. It would apply to the AST of the following expression, statement or declaration (this needs to be well-defined). For example, it has been suggested that attaching annotations to string literals is useful for internationalization. Or should that ...