Skip to content

Commit

Permalink
Build .8.1.1.TiVo.ClassHierarchy.13.RC2 - Update release notes; rebui…
Browse files Browse the repository at this point in the history
…ld jar.
  • Loading branch information
EBatTiVo committed Feb 21, 2015
1 parent 67b1919 commit 7a7d27a
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 17 deletions.
52 changes: 36 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,31 @@ Haxe v3.0 debugger. In order to use this, you must:
- Configure your haxe program to start the debugger when the following
command line option is provided:

-start_debugger

-start_debugger

(and if you expect to do remote debugging, you'll also have to support:

-debugger_host=[host]:[port]
-debugger_host=[host]:[port]

Most likely you'll just want to add the following in your main() when
-start_debugger is set:

new debugger.Local(true);
`-start_debugger` is set:

new debugger.Local(true);


###Required plugins to develop:
- Plugin DevKit (REQUIRED!)
- UI Designer (REQUIRED!)

###Optional plugins, install if you want to modify lexer/parser:
- Grammar-Kit (for bnf compilation)
- Grammar-Kit (for bnf compilation) version 1.2.0.1 or later.
- JFlex (for lexer compilation)
- JUnit (for unit tests)
- PsiViewer (for testing grammar)

IntelliJ IDEA uses Grammar-Kit plugin to generate lexer/parser. The grammar file for Haxe is [haxe.bnf](https://github.com/JetBrains/intellij-haxe/blob/master/grammar/haxe.bnf)
IntelliJ IDEA uses the Grammar-Kit plugin to generate its lexer and parser. The grammar file
for Haxe is [haxe.bnf](https://github.com/JetBrains/intellij-haxe/blob/master/grammar/haxe.bnf)

###Steps to configure a IntelliJ Platform Plugin SDK:
- Open Module Settings
Expand All @@ -47,9 +51,22 @@ IntelliJ IDEA uses Grammar-Kit plugin to generate lexer/parser. The grammar fil
(Note: If you get unit test failures from classNotFound errors,
it's probably because the netty-all-x.x.x.x.jar is missing.)

For those of you who prefer video instruction, Boyan O has recorded a YouTube video of how to get started:

- [Setup IntellliJ IDEA for Haxe Plugin development](http://youtu.be/MwrzdBFaZkc)

He has also recorded several other videos on how to work with various portions of the intelllij-haxe
plugin code:

- [How to develop intention actions.](https://www.youtube.com/watch?v=-mY_DpzVDFs)
- [How to extend HXML completion using haxelib.](https://www.youtube.com/watch?v=B8zOSEEK7As)
- [How to build a completion contributor for HXML.](https://www.youtube.com/watch?v=UBxuj2ToizY)


###How to build a plugin zip file
Update the release notes in src/META-INF/plugin.xml to let us know what you changed.
From the Build menu:

- Rebuild Project
- Prepare plugin module 'intellij-haxe' for deployment.
- The plugin distributable file ('intellij-haxe.jar') will be found in the root of the source tree.
Expand All @@ -66,15 +83,18 @@ To regenerate, make your local changes and then press Ctrl+G. You can compile
and test with them. Do NOT check those files in until you have updated the
comments. (Otherwise, *every* file will appear updated.)

(NOTE: To work around a bug in IDEA, it is necessary to change focus to another
*(NOTE: To work around a bug in IDEA, it is necessary to change focus to another
application and then back to IDEA before updating the comments. Otherwise,
the process doesn't do anything.)

To fix the comments, open the project window within intellij, select and
the right-click on the gen/ tree. Click on the 'Update Copyright' item.
(Should be the third from the bottom. Sometimes you have to re-open the
context menu.) In the 'Update copyright scope' dialog, select the
"Directory 'intellij-haxe...'" item and press OK. In a moment, all of the
copyrights will have been updated. A code comparison (or 'git status') will
the process doesn't do anything.)*

To fix the comments,

- Open the project window within intellij, select and
the right-click on the gen/ tree.
- Click on the 'Update Copyright' item. (Should be the third from the bottom. Sometimes you have to re-open the
context menu.)
- In the 'Update copyright scope' dialog, select the "Directory 'intellij-haxe...'" item and press OK.

In a moment, all of the copyrights will have been updated. A code comparison (or 'git status') will
then show only those files that really changed.

Binary file modified intellij-haxe.jar
Binary file not shown.
12 changes: 11 additions & 1 deletion src/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@
<description>Support for Haxe programming language</description>
<change-notes>
<![CDATA[
<p>0.8.1.1.TiVo.ClassHierarchy.13: (community version, TiVo RC2)</p>
<ul>
<li>Resolve 'convenience' imports that do not export a class named similarly to the file. (TiVo Issue #55)</li>
<li>Update unbalanced preprocessor token highlighting and detection.</li>
<li>Improve indentation of comments and preprocessor macros.</li>
<li>Update for Grammar-Kit 1.2.0.1 </li>
<li>Fixed syntax rules (BNF) for constructors and external functions.</li>
<li>Fixed syntax rules (BNF) for code blocks; removed them from being valid syntax everywhere an expression can appear.</li>
<li>Fixed syntax rules (BNF) to allow meta tags on typedefs.</li>
</ul>
<p>0.8.1.1.TiVo.ClassHierarchy.12: (community version, TiVo RC1+Fixes)</p>
<ul>
<li>Auto-indent when adding curly brackets now works correctly. Fixes github tivo/intellij-haxe Issue #119. (Thanks, Jérémy!)</li>
Expand Down Expand Up @@ -314,7 +324,7 @@
</ul>
]]>
</change-notes>
<version>0.8.1.1.TiVo.ClassHierarchy.12: (community version, TiVo RC1+Fixes)</version>
<version>0.8.1.1.TiVo.ClassHierarchy.13: (community version, TiVo RC2)</version>
<vendor>JetBrains, Haxe community</vendor>
<idea-version since-build="132.400"/>
<depends>com.intellij.modules.lang</depends>
Expand Down

0 comments on commit 7a7d27a

Please sign in to comment.