Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

Improved Bower, integrated Polymer Designer, speed improvements, search options, and more

Compare
Choose a tag to compare
@ussuri ussuri released this 25 Nov 19:00

New features

  • improved Bower support
    • added support for most of the semantic version range formats under "dependencies" in bower.json:
      • operators <, <=, >, >=, ~ ("approximate"), ^ ("latest compatible")
      • special tag latest ("latest stable tag")
      • unspecified version defaults to latest)
      • examples: "Polymer/polymer#>=0.4.1 <0.4.3", "Polymer/polymer#^0.4.1", "Polymer/polymer#~0.3.0", "Polymer/polymer#latest"
    • added support for "*" package paths in bower.json: such paths will be resolved using Bower registry based on the package name; e.g. "codemirror": "*"
    • the destination directory for downloaded packages can be configured via "directory" field in hierarchically traversed .bowerrc files (other fields are currently ignored); see Bower configuration page
  • alpha version of Polymer Designer integration into CDE; some notes:
    • enabled for all HTML files, but meaningful only for HTMLs with a <polymer-element> at the top
    • very sensitive to the input: may fail to render a design if the internal parsing fails; improvements on the way
    • therefore, the primary indended use for now is to jump-start a new Polymer element from scratch, get it to a workable state, then continue more advanced development manually
    • accessible via a new context menu item in the file tree and via a new floating action button (FAB) in the editor
    • to start a new element design, simply create a new empty HTML and click the Polymer FAB in it
    • generates only the .html source for a design; you will need to manually add any dependencies the design requires to a sibling bower.json and run Bower Install on it
    • the undo stack is properly updated with the generated output: the original source can be restored via the usual Undo action
    • known limitations:
      • <link> tags importing external sources are ignored, including outline stylesheets and polymer components not natively known to the Designer (i.e. ones not found it its design palette); use inline tags wherever possible
      • lists of CSS selectors before a single rule are not supported: use duplicate rules for each individual selector
      • HTML tags containing both text content and sub-tags are parsed incorrectly: the text contents is lost; e.g. Some text in <p>Some text <a>some link</a></p> will be lost on import

Project templates

  • the New Project dialog can now also be accessed via a new floating action button (FAB) at the bottom of the file tree view
  • the much improved Dart Web App and the newly added Dart Package project templates are now based on Stagehand - a new set of best-of-breed prescriptive templates for creating Dart projects
  • Polymer-related project templates now depend on the latest stable versions of Polymer components (depended on master before)
  • fixed/upgraded some previously/recently broken templates

Other changes

  • significant improvements in the editing speed and responsiveness!
  • add options to the Search/Replace dialog (regular expressions, case-sensitive, whole words only)
  • enabled syntax highighting for .sql and .sqlite file extensions
  • UI tweaks:
    • improved the Live Deploy dialog's UI
    • restricted resizing of the commit message text area in the Git Commit dialog to vertical only (could be resized horizontally before)
    • added 11 light color themes for the editor

Bug fixes

  • the undo stack in the editor would reset when the rereading the contents of an externally modified file, making it impossible to go back to the original code
  • source navigation would become broken when an involved project got deleted