Bluefish (software)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Short description Template:Use dmy dates

{{#invoke:Infobox|infobox}}Template:Template other {{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:Infobox software with unknown parameter "_VALUE_"|ignoreblank=y| AsOf | author | background | bodystyle | caption | collapsetext | collapsible | developer | discontinued | engine | engines | genre | included with | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | licence | license | logo | logo alt | logo caption | logo class | logo size | logo title | logo upright | logo_alt | logo_caption | logo_class | logo_size | logo_title | logo_upright | middleware | module | name | operating system | operating_system | other_names | platform | programming language | programming_language | qid | released | replaced_by | replaces | repo | screenshot | screenshot alt | screenshot class | screenshot size | screenshot title | screenshot upright | screenshot_alt | screenshot_class | screenshot_size | screenshot_upright | service_name | size | standard | title | ver layout | website }}Template:Main other

Bluefish is a free and open-source software and an advanced source code editor with a variety of tools for programming and website development. It supports editing source code such as C, JavaScript,<ref>Template:Cite book</ref> Java, PHP,<ref name="PracticalPHP">Template:Cite book</ref><ref name="easyoracle">Template:Cite book</ref> Python,<ref name="pythonforbeginners">Template:Cite book</ref><ref>Template:Cite book</ref> and as well as markup languages such as HTML,<ref>Template:Cite book</ref> YAML, and XML.<ref>Template:Cite book</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> It is available for many platforms, including Linux,<ref>Template:Cite book</ref> macOS,<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> and Windows,<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> and can be used via integration with GNOME or run as a stand-alone application. Designed as a compromise between plain text editors and full programming IDEs,<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref name="thegeeksclub">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Bluefish is lightweight, fast and easy to learn, while providing many IDE features.<ref name="zdnet5tools">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Bluefish was one of the first source code editors on the Linux desktop. It has been translated into 17 languages. The source code is available under the GNU General Public License.

Features

Compared to an IDE Bluefish lacks functionality like an integrated debugger<ref name="bestcodeeditors">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> or a WYSIWYG web design component.<ref name="troubleshooters"/><ref name="blre1">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Bluefish's features include syntax highlighting<ref name="jumpstart">Template:Cite book</ref> and auto-completion for 47 different markup and code languages (including Mediawiki syntax<ref>Wikipedia:Text editor support § Bluefish</ref>), customizable via an XML language definition format.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> It furthermore features code folding, auto-recovery,<ref name="zdnet5tools" /> upload/download functionality (on systems where GVfs is available), a code-aware spell-checker,<ref name="openforyou">Template:Cite news</ref><ref name="zdnet5tools" /> a Unicode character browser, project support,<ref name="lifeofageekadmin"/> code navigation and bookmarks.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> It also supports regular expressions and multi-file search and replace.<ref name="blre1"/> It has a multiple document interface<ref>Template:Cite magazine</ref> that can quickly load large codebases or websites,<ref name="htmlcenter">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref name="lifeofageekadmin">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> and features full screen editing.<ref name="bestcodeeditors"/>

For web development it has many toolbars with specific dialogs and wizards to automatically insert the correct HTML tags<ref name="jumpstart"/> in addition to autocompletion for all tags and their attributes<ref name="blre1"/> together with Zencoding/emmet<ref>Template:Cite mailing list</ref><ref name="troubleshooters">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Bluefish is extensible via plugins and external tools and scripts.<ref name="lifeofageekadmin"/><ref name="zdnet5tools" /><ref name="bestpgpeditors">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Many scripts come preconfigured, including statical code analysis, and syntax and markup checks for different markup and programming languages such as lint or weblint.<ref name="linuxandubuntu">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Also a simple marco-like feature called "custom menu" helps to speed up repeating actions.<ref name="gradelinuxeditorsa">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> A large set of macro's for PHP and HTML come preconfigured.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

History

Bluefish was started by Chris Mazuc and Olivier Sessink in 1998 to facilitate web development professionals on Linux desktop platforms.<ref name="usalug">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Bluefish was at the time one of the only web development focused editors on the Linux.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref name="enki-editor">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Linux, due to the LAMP stack (first introduced in 1998<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>), was becoming the most popular web hosting platform.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Bluefish was quickly part of the major Linux distributions, such as Debian Potato (released in 2000),<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Knoppix 2.1<ref>Template:Cite mailing list</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> and the first Fedora release.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

The development of Bluefish was initially inspired by two other editors: the configurable syntax scanning and highlighting was inspired by the NEdit and the user interface was inspired by Homesite which was only available on Windows. Bluefish was originally called THTML editor, which was considered too cryptic; then ProSite, which was abandoned to avoid clashes with web-development companies already using that name.<ref name="bluefishhomepage">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Finally the name Bluefish was chosen after a logo (a child's drawing of a blue fish) was proposed on its mailing list.<ref name="usalug"/>

The 1.0.x branch was released in 2005, and included a new logo. In 2005 a Bluefish fork of 1.3 was made to create Winefish, a LaTeX editor.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> The 2.0.x branch<ref>Template:Cite mailing list</ref> was a big rewrite, changing to the GTK 2 GtkTextView widget and a new syntax scanning engine based on a deterministic finite automaton.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> The 2.2.x branch,<ref>Template:Cite mailing list</ref> which is the current stable branch, supports both GTK 2 and GTK 3.

Although Bluefish is not an official part of the GNOME desktop environment, it is often considered so because it uses the GTK toolkit and integrates well in GNOME.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Source code and development

Bluefish is hosted on SourceForge, and was one of the early projects to join.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Initially CVS was used for code version control, later moving to SVN.

Bluefish is mostly written in C<ref name="openhub">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> and uses the cross-platform GTK library for its GUI widgets.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Markup and programming language support is defined in XML files that are loaded with Libxml2. The optional plugins require libenchant, python and libgucharmap.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Bluefish is built with standard configuration and compilation tools such as Automake, Autoconf, LLVM and GCC. Windows binaries are built with MinGW. On OS X there are ports on Fink<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> and Macports,<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> but the official binary is built using the Gtk-OSX-Integration<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Bluefish has a plugin API in C that has been used mainly to separate non-maintained parts (such as the infobrowser-plugin) from maintained parts. Bluefish also supports loosely coupled plugins: external scripts that read standard input and return their results via standard output can be configured in the preferences panel.<ref name="lifeofageekadmin"/> Various scripts for JavaScript, JSON, CSS, and HTML formatting are included in the Bluefish distribution.

See also

Template:Portal

References

Template:Reflist

Further reading

Books or extensive websites on web development that recommend and/or cover the use of Bluefish:

  • {{#invoke:citation/CS1|citation

|CitationClass=web }}

Books on Python that recommend and/or cover the use of Bluefish:

Books on PHP that recommend and/or cover the use of Bluefish:

Generic books on development on the Linux desktop that recommend and/or cover the use of Bluefish:

Template:Sister project

Template:HTML editors Template:GTK Template:FLOSS