![]() | This article has multiple issues. Please help improve it or discuss these issues on the talk page . (Learn how and when to remove these messages)
|
![]() | |
![]() | |
Developer(s) | Olivier Sessink |
---|---|
Initial release | 1999 |
Stable release | |
Repository | |
Written in | C |
Operating system | Cross-platform (POSIX) |
Type | Text editor |
License | GPL-3.0-or-later |
Website | bluefish![]() |
Bluefish is a free and open-source software advanced source code editor with a variety of tools for programming and website development. It supports editing source code such as C, JavaScript, [2] Java, PHP, [3] [4] Python, [5] [6] as well as markup languages such as HTML, [7] YAML and XML. [8] [9] It is available for many platforms, including Linux, [10] macOS, [11] and Windows, [12] [13] 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, [14] [15] Bluefish is lightweight, fast and easy to learn, while providing many IDE features. [16] [17] 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.
Bluefish is not a complete IDE, but more than an advanced text editor. [18] Compared to an IDE Bluefish lacks functionality like an integrated debugger. [19] It is better described as an advanced code editor [20] with many web specific features. [21] [15] Some call this a web IDE, [22] but it does not feature a WYSIWYG web design component. [23] [21]
Bluefish's features include syntax highlighting [24] and auto-completion for 47 different markup and code languages (including Mediawiki syntax [25] ), customizable via a XML language definition format. [26] It furthermore features code folding, auto-recovery, [16] upload/download functionality (on systems where GVfs is available), a code-aware spell-checker, [22] [16] a Unicode character browser, project support, [27] code navigation and bookmarks. [28] It has some advanced search and replace functionality [21] with regular expression support, and multi-file search and replace support. It has a multiple document interface [29] that can quickly load large (hundreds of files) codebases or websites, [20] [27] and features full screen editing. [19]
For web development it has many a toolbar with specific dialogs and wizards to automatically insert the correct HTML tags. [24] Furthermore, autocompletion for all tags and their attributes [21] together with Zencoding/emmet [30] helps for quick web development. [23]
Bluefish is extensible via plugins and external tools and scripts. [27] [16] [31] Many scripts come preconfigured, including statical code analysis, and syntax and markup checks for different markup and programming languages such as lint or weblint. [32] Also a simple marco-like feature called "custom menu" helps to speed up repeating actions. [18] [33] A large set of macro's for PHP and HTML come preconfigured. [34]
Bluefish was started by Chris Mazuc and Olivier Sessink in 1998 to facilitate web development professionals on Linux desktop platforms. [35] In 1998 the K Desktop Environment 1.0 was released, and in 1999 the Gnome desktop environment 1.0 was released, so this was in the early days of the Linux desktop. [36] Bluefish was at the time one of the only web development focused editors on the Linux. [37] [38] Linux, due to the LAMP stack (first introduced in 1998 [39] ), was becoming the most popular web hosting platform. [40] Bluefish was quickly part of the major Linux distributions, such as Debian Potato (released in 2000), [41] Knoppix 2.1 [42] [43] (at the time the most important Linux Live distribution) and the first Fedora release. [44] On the early Linux desktop Bluefish was the most important web editor. [45] Various books about web development on Linux therefore cover the use of Bluefish. For example Practical PHP and MySQL by Ubuntu community manager Jono Bacon which even included a customized Ubuntu live CD with Bluefish as primary editor. [3] [46]
The development of Bluefish was initially inspired by two other editors: the configurable syntax scanning and highlighting was inspired by the NEdit, but the user interface was inspired by Homesite which was only available on windows. The work title for the application development in the very early stages was Thtml editor, but this was considered too cryptic by the small development community; for a short time Prosite was used, but this was abandoned to avoid clashes with web-development companies already using that name. [47] Finally the name Bluefish was chosen after a logo (a child's drawing of a blue fish) was proposed on its mailing list. [35]
The 1.0.x branch was released in 2005, and included a new logo. The 1.0 release was featured on Slashdot, [48] causing the slashdot effect on the Bluefish website. In 2005 a Bluefish fork of 1.3 was made to create Winefish, a LaTeX editor. [49] The 2.0.x branch [50] was a big rewrite, changing to the GTK-2 GtkTextView widget and a new syntax scanning engine based on a deterministic finite automaton. [51] The 2.2.x branch, [52] 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. [45] [53]
The open source codebase of Bluefish is available on SourceForge. After a short period in which the Bluefish developers communicated code patches over email, [54] Bluefish joined as one of the early projects on SourceForge. The community joined in the first few months after launch, mainly promoted by Robin Miller who was a heavy Bluefish user [18] and worked for Geeknet that owned SourceForge. Initially CVS was used for code version control, later the code was moved to SVN.
Bluefish has a well-established code-base mostly written in C [55] and uses the cross-platform GTK library for its GUI widgets. [56] Markup and programming language support is defined in XML files that are loaded with Libxml2. The optional plugins require libenchant, python and libgucharmap. [57] Building a binary is done with Automake and Autoconf to configure and set up its build environment. Both llvm and GCC can be used to compile Bluefish. On Windows, MinGW is used to build the binaries. On OSX there are ports on Fink [58] and Macports, [59] but the official binary is built using the Gtk-OSX-Integration [60]
Bluefish has a plugin API in C, but it has been used mainly to separate non-maintained parts (such as the infobrowser-plugin) from maintained parts. A few Python plugins exist as well, but they need a C plugin to interact with the main program. Bluefish also supports very loosely coupled plugins: external scripts that read standard input and return their results via standard output can be configured by the user in the preferences panel. [27] Various scripts for javascript, json, CSS, and HTML formatting are included in the Bluefish distribution.
{{cite web}}
: Missing or empty |title=
(help){{cite book}}
: CS1 maint: multiple names: authors list (link)Books or extensive websites on web development that recommend and/or cover the use of Bluefish:
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:
{{cite book}}
: CS1 maint: multiple names: authors list (link)