How to use & install the Bluefish Text Editor on Windows Vista or Windows 7 (Review)

Bluefish and Windows logoInstead of scouring the internet for hours, as I did, just follow a few simple instructions and you'll be up and running in just a few minutes with the Bluefish Editor on Windows (assuming you have a fast download speed).

I decided to spend a few more minutes evaluating Bluefish from the perspective of a web developer, since I'd already spent two hours figuring out how to install it.

Conclusion: it's okay for a free text editor, but I'm sticking with my affordable and more powerful text editor, OxygenXML.

How this all started

As I surveyed the recently rearranged Drupal Theming Guide,  I stumbled upon a great list of tools for developing in Drupal. Contained in this list was Bluefish Editor, and it was described as "fast...lean..., an awesome text editor on steroids." 

This was enough to tempt me to install it and compare it to my very powerful, but in no way lean text editor, OxygenXML.

Bluefish Installation on Windows Vista and Windows 7

Skip the story, here's how to do it

  1. Un-install any flavors you have of GTK on your computer (this assumes that, like me, you've been trying to fix this yourself for a while).
  2. Download and install version 2.14 of GTK for Windows (which is NOT the most current, stable version).
  3. Download and install the latest version of Bluefish for Windows.

The story of my pain

Right after I downloaded and installed the latest version of Bluefish for Windows, I got a weird error message kindly informing me that:

"This application has failed to start because libcairo-2.dll was not found. Re-installing the application may fix this problem."
  

Of course, re-installing Bluefish did NOT work. I spent hours of tracking down seemingly-relevant links on the internet and learning that I needed the Runtime version of GTK BEFORE Bluefish would work.  So, I downloaded the latest version of GTK for Windows and that fixed the FIRST error message.

But Bluefish STILL would NOT start!

Finally, I stumbled across this incredibly helpful post by Kanashin, which explained that I could only use version 2.14 of GTK for Windows (not the most current, stable version).

Why Bluefish is awesome

  1. It's free and open source.
  2. It starts up WICKED fast, unlike an Eclipse-based IDE I use (OxygenXML), even on a netbook.
  3. It has a Quick Start button for HTML, which could be a great way to start an HTML page. It also has templates, including one for HTML5.
  4. Good GUI (graphical user interface), that uses lots of pictorial buttons, instead of just text.
  5. Has a very powerful search and replace. You can even use regular expressions! This is great for times when one needs to upgrade documents from HTML4 to HTML5 strict, or when removing white space from documents.
  6. Table wizard in HTML allows you to indent your table code (not sure why this isn't just assumed as a best practice, though).
  7. More Features that Bluefish touts, which I didn't have time to evaluate.

Why Bluefish sucks

  1. Installation is difficult on recent versions of Windows.
    Bluefish should just bundle the correct version of GTK with their software, as GTK recommends, saying: "It is expected that people who build installers for GTK+ applications for Windows bundle GTK+ with them."
  2. No syntax coloring. Although another reviewer suggests this is possible.
  3. Does not automatically indent my code for readability.
  4. Does not suggest or auto complete tags, despite claiming to in its Features list. Mind you, this could be because some additional thingamabob needs installed: but which one?! (See complaint #1).
  5. The default font is ugly (and I am NOT a font queen, the 2 default fonts on my personal website are serif and sans-serif)! Happily, you can change it from "monospace 10" to a more readable "Verdana 10" underneath Edit > Preferences.
  6. Limited DOCTYPES in evidence: I found an HTML5 doctype under templates, but, of course, no doctypes that included RDFa and would allow me to add helpful Dublin Core attributes.
  7. No buttons for new HTML5 elements, not even the ones that are no-brainers, like the new form input types or the basic structuring elements (<header>, <footer>, <nav>, <section>, <article>, <aside>).
  8. For web developers, the HTML is very outdated and it encourages bad coding practices. For example:
    • It has a tab devoted to frames - ick!
    • Seems to encourage inline CSS styles, which are nearly impossible to override.
    • Tables fail miserably to embrace accessibility. The wizard does not automatically create captions or header rows - even though both are button options. There is no way to add in: the summary attribute; <colgroup>, <col>, <rowgroup>, <row>, <thead>, <tfoot> or <tbody> (although 1 <tbody> should probably be inserted, with a manual button to separate large tables into more than one section). Finally, I'm not sure how Bluefish could best implement those attributes (abbr, idscope, and axis) which show relationships between parts of a table, but there should at least be a button or dialog box encouraging them.

Comments

Bubba

upload/download

I cannot find the correct syntax for using the upload/download feature in Bluefish 2.2.3 on my windows vista pc.

Kuldeep

Work for me.

Late in comment, But yes I am using bluefish since last 3 years mostly on linux. But also on windows XP. But here I found most of problems not-existing atleast for me. 
1. Installation done on windows is smoother all the instances for me.
2. Syntax coloring always available even automatically detetced for php files. It may possible for php files with other extension like .module in drupal.
3. Automatically Indentation is not default enabled. But available in settings.
4. Well this is available atleast for me. As I am not a fan for auto suggets/completion and always disable this settings after install.
For Html related part, I am agree because bluefish marketed as web/html editor with programming support. So Html related expectatation may be ok. But again As a programming editor it is more featured

Desmond

Hi,I am using windows 7 and

Hi,
I am using windows 7 and i had the same issue.  Just a small settings needs to be changed.
Reason : Initially it is Language Mode is set to Text
Goto menu Document - Language Mode - Select XHTML
Happy Coding... Share it to world

Adelle Frank

Great tip, Desmond!

Thanks for these great tips, Desmond!!

Olivier

Don't install gtk, bluefish installer will do that for you!

Many problems on windows desktop arise from the problem that users try to install a gtk release themselves. The bluefish installer will download the right gtk version for you that will not give these errors.

it is weird that syntax coloring and autocompletion doesn't work for you. I've never seen that problem on windows before.

Desmond

Change the setting to enable html autocomplete

Hi,
Goto the Document menu - Language Mode - XHTML
By default the mode is selected as text.
This will resolve the autocomplete and formatting option.

Visitor

Bluefish won't start

No, the installer didn't take care of this error for me either.I installed Bluefish 2.2.1.0 from Bluefish-2.2.1-classic-setup.exe downloaded from the main site 1-14-2012
Yes, it automaitcally installed a 2nd program besides bluefish  (GTK I presume) but it still won't start.
The application has failed to start because libcairo-2.dll was not found. 
 
I'm not going to bother with more downloads and workarounds to get this to work... the new version only works with a certain old version, etc
...moving on...

Adelle Frank

Thanks for the insight!

Hi, Olivier:

Thanks for letting me know that gtk will be handled by the installer - that's great news!

Bonifacio Granada

Bluefish

Adelle,

Gracias por tu blog, respondió la misma pregunta que me hacía con el error "Librería Faltante" en la primera instalación de Bluefish. Hice lo mismo que tú, bajé la última versión de GTK la 2.221 y la descomprimí, sin embargo, al desinstalar e instalar nuevamente el Bluefish, en el proceso de la segunda instalación, el mismo baja el GTK que necesita.

Saludos
Bonifacio Granada
http://bonifacio-pisouris.blogspot.com/

Adelle Frank

No hay de que!

Gracias, Bonifacio. Me gusta ser útil. :)