Bindows Plugin now available

I'm happy to announce the beta release of our forthcoming plugin for using the Bindows AJAX framework with IntelliJ IDEA. You can install it from the plugin manager. In milestone 1 there are also many powerful Bindows specific features in IntelliJ IDEA implemented by JetBrains.
Check the readme.txt that is included in the root of the BindowsPlugin.jar file for detailed information. Here is the feature list taken from that file:

- Features

  • Launch in Internet Explorer

A new light blue button is located on IntelliJ IDEA's main toolbar. This
launches the currently active Bindows ADF/XML in IE. You can also use the
CtrlAlt+ keyboard shortcut (the plus sign).
You can launch xml files located anywhere on your harddrive and your Bindows
distributions can be anywhere you want without having to worry about paths or
creating html or modifying code.

  • Launch in Mozilla Firefox

Same thing as with IE but the button is slightly orange and the keyboard
shortcut is CtrlAlt- (the minus sign)

  • Code Completion

IntelliJ IDEA has excellent support for Bindows JavaScript code
completion built in. This feature will however give you code completion in
Bindows ADF/XML files. Classes and attributes are available as well as quick
access to the api documentation. Just place your cursor on a tag or attribute
and press Ctrl+Q. To activate this feature; include this xmlns attribute
in your Application tag:


  • Open Last Good File

When you launch the active xml file (active means its in the active editor
or a file selected in the project view) the plugin remembers this file as the
last used xml file. Later on you might be working inside a JavaScript file and
press the shortcut to relaunch your application. The javascript file is now
the active file and it can't be launched but the plugin then automatically
launches the last used xml file instead. This saves you the trouble of having to
activate the xml file everytime you want to relaunch.

  • Console View

The console displays text such as logging and diagnostic information that you
can print from your Bindows application during runtime. See the debugging
section on how to print text to it.

  • Javascript Evaluation Window

You can type or drag JavaScript code into this window and send it to your
Bindows application where it will be executed during runtime. The result of
your actions will be echoed to the console view. To send the code press the
send button or press Ctrl+Enter. To clear the window from code press the
Clear button or press Ctrl+Delete. This opens up a lot of possibilities such
as rewriting methods during runtime, checking.

  • Multiple Bindows Distributions

The plugin needs to know the location of at least one Bindows directory
(the directory that contains the html folder).
You can add multiple locations in the plugin settings window. The one that
is highlighted is the one that will be used for launching the application.
So for example; if you want to make sure that your application works
flawlessly in both Bindows 3.0 and Bindows 1.50 you could quickly switch
between the two distributions without having to change any code or paths

  • Browser Exit Detection

Detects when the browser instance is closed and prints a message about it in
the console window.

- Debugging

  • Setting up

The plugin has a built in webserver that communicates with the browser via
XmlHttpRequests. It's easy to setup. There are two things you need to do.
1. Activate "Debug mode" in the settings window for the plugin.
2. Add BiLog.js to your Bindows application. (See included sample)

  • Logging to Console Window

This feature allows you to print information from your running application
straight to the Bindows console window inside IntelliJ IDEA. Anywhere from
your code you call this method:

BiLog.out("Hello World");

  • Dynamic Code Evaluation

This feature allow you to send any JavaScript code to your running Bindows
applicaiton and have it evaluated during runtime. To enable this feature you
must tell your Bindows application to listen for commands from IntelliJ. Just
call this method early in your program:


By default the Bindows application checks to see if there are any new
commands to be executed every two seconds. You can change this interval. Have
a look inside BiLog.js for more options. IntelliJ IDEA will buffer up
commands and in a queue. They will be removed from the queue only when
someone has recieved them. If you send a whole JavaScript function over to
the browser, this will be detected and you get "function evaluated" back as a

Note: You will ofcourse need Bindows. Visit our website for more information:

Feedback, bug reports etc. are very welcome.

Please sign in to leave a comment.