Permalink
Browse files

Update plugin.xml to prepare for release

  • Loading branch information...
dmarcotte committed Mar 5, 2013
1 parent ba2a738 commit c8d4f09fc2ca3d6af6d86fa9dcfb3e6dd0ad4b1b
Showing with 55 additions and 4 deletions.
  1. +47 −1 META-INF/plugin.xml
  2. +8 −3 readme.md
View
@@ -13,6 +13,52 @@
<category>Custom Languages</category>
<change-notes>
<![CDATA[
+ <b>Version 0.6</b>
+ <br>
+ <ul>
+ <li>
+ Updates the plugin with the latest features/syntax in Handlebars
+ <ul>
+ <li>
+ {{@data}} syntax is no longer marked as an error (and the highlighting of these data vars is configurable)
+ </li>
+ <li>
+ Handlebars block comments are now supported:<br>
+ {{!-- block comment which can contain {{mustaches}} --}}
+ </li>
+ <li>
+ Escaped mustaches are now properly highlighted, so \{{escaped}} constructs do not render as regular mustaches
+ </li>
+ <li>
+ Single quotes in mustache strings are no longer marked as errors. i.e. {{foo bar='baz'}} behaves as expected
+ </li>
+ <li>
+ Partials names can now be paths: {{>path/to/partial}}
+ </li>
+ <li>
+ Negative number literals no longer marked as errors: {{foo bar=-2}}
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <ul>
+ <li>
+ Adds the ability to have the "Comment with Line Comment" and "Comment with Block Comment" actions insert the new Handlebars block comment
+ <ul>
+ <li>
+ To enable, select "Handlebars" for "Language for comments" in Settings->Handlebars/Mustache
+ </li>
+ <li>
+ NOTE: this is Handlebars specific (not generic Mustache syntax) and should only be used with recent versions of Handlebars
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <ul>
+ <li>
+ Enables comment folding for multi-line comments (works with both standard and block comments)
+ </li>
+ </ul>
<b>Version 0.5.1</b>
<br>
<ul>
@@ -144,7 +190,7 @@
</ul>
]]>
</change-notes>
- <version>0.5.1</version>
+ <version>0.6</version>
<depends>com.intellij.modules.lang</depends>
<vendor logo="/icons/handlebars_icon.png" url="https://github.com/dmarcotte">dmarcotte</vendor>
View
@@ -6,8 +6,13 @@ IDEA-Handlebars adds support for [Handlebars](http://handlebarsjs.com/) and [Mus
[Jetbrains plugin repository page](http://plugins.intellij.net/plugin/?idea&pluginId=6884)
-## _NEW:_ Template any language, code folding
-The latest release adds the ability to template any language and support for code folding for mustache blocks
+## _NEW:_ Updated parsing, improved comments, Darcula support
+The new release includes the following:
+* handles the [latest Handlebars features](https://github.com/dmarcotte/idea-handlebars/pull/46)
+* adds [comment folding](https://github.com/dmarcotte/idea-handlebars/pull/49)
+* enables a [consistent commenter when editing](https://github.com/dmarcotte/idea-handlebars/pull/47) Handlebars files
+* updates look and feel to integrate properly with alternate themes, including Darcula
+ * *NOTE:* requires your IDE's build number to be greater than `128.18` (for IDEA, this means version at least `12.1`. Other IDEs should catch up soon)
## Installing
* To install the latest release (and get automatic updates), install this plugin using your IDE's plugin manager:
@@ -17,7 +22,7 @@ The latest release adds the ability to template any language and support for cod
* [Syntax error inspections](https://raw.github.com/dmarcotte/idea-handlebars/master/markdown_images/editor.png)
* [Configurable syntax highlighting](https://raw.github.com/dmarcotte/idea-handlebars/master/markdown_images/highlight_config.png)
* [Template formatter](https://raw.github.com/dmarcotte/idea-handlebars/master/markdown_images/formatter.png)
-* Code folding for mustache blocks
+* Code folding for mustache blocks and comments
* Auto-insert of closing tags
* Matched mustache pair highlighting
* Full highlighting, code completion, inspections, formatting and commenting for the content in your templates (by default HTML, configurable in ["Settings->Template Data Languages"](https://raw.github.com/dmarcotte/idea-handlebars/master/markdown_images/custom_langs_by_project.png) and ["Settings->File Types"](https://raw.github.com/dmarcotte/idea-handlebars/master/markdown_images/custom_langs_by_filename_pattern.png))

0 comments on commit c8d4f09

Please sign in to comment.