News


Themes with EclipseColorThemes plug-in

posted Mar 3, 2012, 3:32 PM by Nikolay Krasko   [ updated Mar 3, 2012, 3:40 PM ]

Now you can easily select your own best color theme for haXe and hxml editor. The source of this magic is amazing EclipseColorThemes plug-in which is now supported in eclihx. The ability of this plug-in to change a habitual editor look so strongly and so simply is really fantastic.


An installation process contains two simple steps. First you will need to install EclipseColorThemes plugin itself. It could be done easily with the help of instructions available at official site. 

Support of themes plug-in is optional and should be installed separately. It's almost like installing eclihx itself so I won't describe it in great details:
  • Open Help -> Install New Software dialog 
  • Select or add http://download.eclihx.org/eclihx/updatesite/trunk update site in the field "Work with:"
  • Uncheck Group by categories checkbox
  • And perform an ordinal installation for EclipseColorTheme support feature
The usage section of EclipseColorThemes is really short: "After the installation, go to Window→Preferences→General→Appereance→Color Theme to change the color theme."

If there will be any problems with the install process or using of EclipseColorTheme integration please feel free to ask a question at Eclihx Google Group.

I hope you will enjoy it! :)



Templates

posted Feb 15, 2012, 2:22 PM by Nikolay Krasko   [ updated Feb 25, 2012, 2:21 PM ]

Today I would like to present a new feature of creating haXe code in eclihx editor — templates, which is also called "snippets" in some IDE's.

The basic idea of templates is to produce most common code fragments instantly so that developer could focus on his task but not on the language syntax. 

A present implementation of templates in eclihx contains only basic functions but even so it is powerful enough to get a better experience of producing code in everyday work. Please, see the demo: 

On this video you can see how templates cooperates with built-in code formatter. It doesn't matter which code style you prefer, templates will try to adjust themselves in order to get code with expected formatting.

Another important thing is that the templates feature is smoothly integrated into eclipse. It means that you are able to activate them from the editor and from the special "Templates" view, customize a short activation string, change the body or add your favorite template.

You can install eclihx or update it to a new version using the trunk update site. Please refer to Installation notes to know how to do it.

I will be very glad to hear your feedback in Eclihx Google Group. Let's discuss possible ways for making templates and other features even more convenient and powerful! :)

P.S. Note that you can leave comments to this page after registration with google account.

 

Auto brackets insert in eclihx editor

posted Dec 24, 2011, 4:32 PM by Nikolay Krasko   [ updated Dec 24, 2011, 4:39 PM ]

I have finally finished an auto brackets insertion for haXe editor in eclihx project. Now when you type an open bracket, the close one will automatically appear in the text with the cursor placed between them. Notice that if you type both open and close brackets, the editor will produce an expected pair of brackets but not something like ()).

There're a lot of implementations of bracket auto "inserters" mostly based on JDT, but I chose the code from EPIC project that fintanboyle (many thanks!) advised to me in Issue 87. In order to get more general and configurable solution I did some refactorings that I hope will be useful in future. Also, a function testing framework for automatically typing and checking result of placed brackets is created. This framework is based on JDT source, because I didn't find analog in standard PDE plugins.

I should also mention that while doing this feature I added a standard eclipse auto indentation strategy and did a number of fixes in code coloring.  

To try new features, please proceed with trunk update site as described at installation notes.  

Current state of eclihx editor could be seen from this video:
 

A new tutorial for developers

posted Nov 13, 2011, 12:01 PM by Nikolay Krasko

I have just finished new step-by-step tutorial of starting development for EclihX project. It will guide you through setting up the environment, getting sources and building them with eclipse.

Development Guide (How to build EclihX from sources)

Review of haXe 2 Beginner's Guide

posted Oct 12, 2011, 2:50 PM by Nikolay Krasko   [ updated Oct 12, 2011, 2:51 PM ]

Last weekend I’ve finished reading of “haXe 2 Beginner's Guide” which I was gifted by the publisher in exchange of making a review. So here it’s.

Writing a book about haxe seems to me extremely difficult because of the language multi platform nature, constant improvement process and a variety of projects related to the haxe. And I’m glad that Benjamin Dasnois started this great work of collection knowledge about haxe in a book format. This is the first edition and certainly there are a number of things I would suggest to improve.

My main complaint is to extreme brevity. Of course a small size is good for a book, but text often doesn't explain why things are so as they are, only enlists strict facts about the language without discussion, gets you know about alternatives or providing a list of advantages and disadvantages. OOP concepts definitions from my point of view are currently poor and I’m sure that it should be said in preface that a reader must be familiar with at least one OOP language to follow the author’s ideas easily.

The other thing I was very disappointed about is a low quality of the code snippets. Examples contain dead code, number of compile errors, absence of single code style and bad indentation. Also almost everywhere in the book single line comments spread across several lines and that produces errors after copying code into a text editor. As  a result there’s a strong feeling of incompleteness and mediocrity. Hope it will be corrected as soon as possible.

In my opinion there are still enough unexposed places in the book without further references (e.g.  how I can make types comparable, what is the range of integer, performance discussion and targets nuances). Some links to the documentation or even well-known discussions in mailing lists would be very useful if it is not possible to include that information into the book.

There are several things I would recommend to add to this book. A full description of haxe compiler options because it's not clear how to work with the given examples. More steps how to setup environment for running examples for those who is unfamiliar with described target platform. Also I think that there should be more explanation and some comparisons with other languages to know why one should prefer haxe instead of using them. A fair description of current haXe problems and their possible solutions could enclose a useful chapter. And surely I should mention that book doesn’t consider C++ target and has no information about macroses.

On the other hand I was glad to get know about templates and SPOD library in haXe and will definitely try to play with them closer. There is a good chapter how to feel comfortable in the community that is very important for haxe beginners.

On the whole “haXe 2 Beginner's Guide” in current version is an overview of some haXe possibilities. It could be useful for those who is familiar with OOP concepts and wants to see main features of haxe without a lot of details but with some examples. And It’s probably OK to have an eBook version to support author and to give a chance for making a new edition.

Eclihx 0.4.0

posted Mar 19, 2011, 3:53 AM by Nikolay Krasko   [ updated Mar 19, 2011, 3:28 PM ]

I'm glad to announce a new 0.4.0 version of eclihx. The main reason for this release is a desire to add a number of fixes concerning the Problem View on linux. Quick navigation to the error places is very important feature in eclihx and I was very upset it didn't work in 0.3.0. Also this release contains an updated parser for hxml files with support of haxe 2.07 new options. Next, starting from this version you can comment the blocks of haxe code with single shortcut.

You can read how to update to new version in updated tutorial.

Also I would like to inform eclihx users that I'm currently working on outline view support. I hope that resolving that issue will give me more information about haxe code in project and will give a chance to implement other code relative features. The other important thing that can be done for a better content assist behavior is described in More enhancements for --display option issue in haxe issue tracker. Probably you can star that issue if you're interested in prioritized resolving.


Twitter and Google Groups

posted Feb 20, 2011, 1:05 PM by Nikolay Krasko

Now you can get the latest news about eclihx with Twitter. I'm going to tweet about important updates available in trunk, significant bug fixes and the latest releases of course.

Follow eclihx on Twitter

You are also welcome to discuss project in eclihx google group.

Eclihx 0.3.1

posted Jan 29, 2011, 2:02 PM by Nikolay Krasko

I have just updated eclihx to 0.3.1 version. The only difference is a urgent fix for the Issue 58 that could be very annoying for new users. It should be possible to update with "Help->Check for updates" item in the main menu of Eclipse.

0.3.0 Release is here!

posted Jan 19, 2011, 2:17 PM by Nikolay Krasko   [ updated Jan 19, 2011, 4:03 PM ]

I'm glad to announce a new release of the eclihx project! This version contains many improvements in haxe text editor, has a basic editor for hxml-files, has a more predictable running configurations, provides the configurable autocompletion and so on. You can try it on with eclipse update site, see the full installation instructions.

I'm ready for feedback now! :)

Trunk Automated Builds

posted Jan 16, 2011, 9:52 AM by Nikolay Krasko   [ updated Jan 16, 2011, 4:35 PM ]

I have finally configured fully automatic build for the whole eclihx project. It was really tricky... It's far more easy to build site from the already started eclipse UI than to do it with the scripts. The main article I used is outdated now, but it helped me to get an overview of the process in general. Also it explained the main notions used in PDE headless build scripts, and after that the official documentation stopped being so bare and scary.

If you found yourself to be an unlucky one who need to configure Continuous Integration in your eclipse project, I recommend you to be
patient and constantly peep at working examples like this code from RDT project, that was extremely useful in my case and filled the gap of time from the article above (many thanks for that). Of course you can also try to start from eclihx sources but I'm still not sure are my scripts worth to be used as an example. And my hesitation probably shows they are not...

I have to solve some more problems like absence of a server to run Hudson
permanently or make the build  fail in the case when some tests are broken... but nevertheless it already works! :)

Here are the links:

A trunk update site (should be used from eclipse update manager): 

http://download.eclihx.org/eclihx/updatesite/trunk

A trunk version archive: 

1-10 of 11