Jump to content

Bluefish (software)

From Wikipedia, the free encyclopedia
Bluefish
Developer(s)Olivier Sessink
Initial release1999; 25 years ago (1999)
Stable release
2.2.16[1] Edit this on Wikidata / 22 September 2024 (22 September 2024)
Repository
Written inC
Operating systemCross-platform (POSIX)
TypeText editor
LicenseGPL-3.0-or-later
Websitebluefish.openoffice.nl Edit this on Wikidata

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.

Features

[edit]

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]

History of Bluefish in the early years of the Linux desktop

[edit]

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]

Source code and development

[edit]

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 offficial 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.

See also

[edit]

References

[edit]
  1. ^ https://bluefish.openoffice.nl/download.html. {{cite web}}: Missing or empty |title= (help)
  2. ^ Michael Morrison (2007). Ajax Construction Kit: Building Plug-and-Play Ajax Applications. Prentice Hall. ISBN 9780132350082.
  3. ^ a b Bacon, Jono (2007). Practical PHP and MySQL : building eight dynamic web applications. Prentice Hall. ISBN 9780132239974.
  4. ^ Easy Oracle PHP. Rampant Tech Press. 2006. ISBN 9780976157304.
  5. ^ H. Bhasin (2019). Python for Beginners. New Age International (P) Ltd. ISBN 978-93-86649-49-2.
  6. ^ Tim Hall and J-P Stacey (2009). Python 3 for Absolute Beginners. Apress Berkeley, CA. ISBN 978-1-4302-1632-2.
  7. ^ Tiffany B. Brown (2013). Jump Start HTML5 Basics. SitePoint Pty. Ltd. ISBN 978-0-9922794-9-3.
  8. ^ Leslie F. Sikos (2011). Web Standards - Mastering HTML5, CSS3, and XML. Apress Berkeley, CA. ISBN 978-1-4302-4041-9.
  9. ^ "FOSS v proprietary software: Website creation". ZDNet. 2 July 2012.
  10. ^ Benjamin Mako Hill, Matthew Helmke, Corey Burger (2009). The Official Ubuntu Book. Prentice Hall. ISBN 978-0137021208.{{cite book}}: CS1 maint: multiple names: authors list (link)
  11. ^ "Download Bluefish for Mac - Macupdate". Macupdate. 23 January 2017.
  12. ^ Joe 'Zonker' Brockmeier (10 March 2010). "Bluefish 2.0: Slim but powerful". Linux Weekly News.
  13. ^ "Using Linux on Windows with Cygwin". Linux Magazine. July 2014.
  14. ^ "One Fish, Two Fish, Red Fish, Bluefish". Computerworld. 20 December 2001.
  15. ^ a b Nitin Agarwal (November 29, 2011). "Bluefish: A cross-platform HTML Editor – Review".
  16. ^ a b c d "New to programming? My 5 favorite Linux tools will get you up to speed faster". ZDNet. May 20, 2024.
  17. ^ Scott Nesbitt (14 October 2020). "Editing HTML (and More) with Bluefish".
  18. ^ a b c Robin (Roblimo) Miller (10 September 2002). "Bluefish: My favorite Linux HTML editor". Linux.com. Retrieved 3 May 2024.
  19. ^ a b "6 Best Free Linux GUI Code Editors for Programming". Linuxiac. 1 November 2023.
  20. ^ a b Curtiss (22 April 2012). "Bluefish Editor, HtmlCenter blog". HTMLCenter.
  21. ^ a b c d Mihai Marinof (18 April 2007). "Bluefish Review". Softpedia. Retrieved 7 December 2016.
  22. ^ a b "Popular Open Source IDEs for Web Development". Open Source for You. 9 May 2015.
  23. ^ a b Steve Litt (2013). "Bluefish: Quality and Speed". Linux Productivity Magazine.
  24. ^ a b William Rothwell (2017). Linux for Developers: Jumpstart Your Linux Programming Skills. Addison-Wesley. ISBN 9780134657288.
  25. ^ Wikipedia:Text editor support § Bluefish
  26. ^ "Writing language definition files". 5 January 2023.
  27. ^ a b c d Mark Harris (2 November 2016). "Using Bluefish as Your Web Editor". Retrieved 2 May 2024.
  28. ^ "Bluefish features". Retrieved 2024-05-03.
  29. ^ Andreas Grytz (May 2005). "The Bluefish HTML editor and integrated IDE". Linux Magazine.
  30. ^ Olivier Sessink (2012). "Bluefish 2.2.1 released". bluefish-dev (Mailing list).
  31. ^ "The best PHP editors and PHP IDEs". Ionos. 2023.
  32. ^ Sohail (16 March 2016). "Best Linux IDEs Or Code Editors".
  33. ^ "Linux text editors: Do any make the grade?". Computerworld. 17 August 2007.
  34. ^ "Bluefish-The Feature Rich Editor". OpenSourceForU. 11 December 2013.
  35. ^ a b Dave Crouse. "An interview with Oliver Sessink - Bluefish Developer". USA Linux user group. Archived from the original on 2010-06-20. Retrieved 2024-05-03.
  36. ^ "How the Linux desktop has grown". opensource.com. Retrieved 2024-05-23.
  37. ^ Martin Skjøldenrand (July 2000). "Bluefish HTML Editor". Linux Gazette. Retrieved 14 August 2024.
  38. ^ Omara Howard (8 July 2021). "Bluefish / for perfect coding". Retrieved 2024-08-15.
  39. ^ Kunze, Michael (December 1998). "LAMP: Freeware Web Publishing System with Database Support". c't. Archived from the original on 1999-02-03. Retrieved 2024-06-15.
  40. ^ Ernie Smith (2021-09-01). "The LAMP stack history".
  41. ^ "bluefish-0.3.5-1 - snapshots.debian.org".
  42. ^ "KNOPPIX Release V2.1-BETA-12-09-2001". debian-knoppix (Mailing list). 12 September 2001.
  43. ^ "Hands-on with Knoppix Linux". ZDNet.
  44. ^ "Releases - rpms/bluefish".
  45. ^ a b Graham Williams (2007). Debian GNU/Linux Desktop Survival Guide. Togaware. ISBN 978-0-9757109-1-3.
  46. ^ Sharon Machlis (25 January 2007). "Review: Practical PHP and MySQL". computerworld.
  47. ^ "Bluefish history". Retrieved 2024-05-02.
  48. ^ "News for nerds, stuff that matters - Bluefish 1.0 Released". Slashdot.org. 13 January 2005. Retrieved 2024-05-02.
  49. ^ "Winefish". GitHub. Retrieved 2024-05-02.
  50. ^ "Bluefish 2.0.0 released!". bluefish-dev (Mailing list). February 2010.
  51. ^ Olivier Sessink (14 August 2010). "Bluefish editor widget design". Retrieved 2024-05-02.
  52. ^ "Bluefish 2.2.0 source code released - please help with binaries". bluefish-dev (Mailing list). November 2011.
  53. ^ "Desktop deliverance: an overview of GNOME 2.20". Ars Technica. 25 September 2007.
  54. ^ van Wendel de Joode, Ruben (September 26, 2005). "The Organization of Open Source Communities". doi:10.2139/ssrn.695902. SSRN 695902.
  55. ^ "The Bluefish Open Source Project on Openhub". Openhub.
  56. ^ "Bluefish Code".
  57. ^ "Free software directory - Bluefish". Free Software Foundation. 12 February 2002.
  58. ^ "Fink Package Bluefish". 3 July 2022.
  59. ^ "Bluefish - Macports".
  60. ^ "GTK-OSX Successes".

Further reading

[edit]

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

  • David Spring. "Learn HTML and CSS". College in the Clouds.
  • Gaurav Gupta (2013). Mastering HTML5 Forms. Packt Publishing Ltd. ISBN 978-1-78216-466-1.
  • Tiffany B. Brown (2013). Jump Start HTML5 Basics. SitePoint Pty. Ltd. ISBN 978-0-9922794-9-3.
  • Christoph Rauber, Frank Braun (2017). Webseiten gestalten Grundlagen HTML5 und CSS (in German). Herdt. ISBN 978-3-86249-738-6.
  • Leslie F. Sikos (2011). Web Standards - Mastering HTML5, CSS3, and XML. Apress Berkeley, CA. ISBN 978-1-4302-4041-9.
  • Christopher Murphy and Nicklas Persson (2008). HTML and CSS Web Standards Solutions A Web Standardistas' Approach. Apress. ISBN 978-1-4302-1606-3.
  • Michael Morrison (2007). Ajax Construction Kit: Building Plug-and-Play Ajax Applications. Prentice Hall. ISBN 9780132350082.
  • Steve Schafer (2005). Web Standards Programmer's Reference: HTML, CSS, JavaScript, Perl, Python, and PHP. Wrox. ISBN 978-0764588204.
  • Helmut Balzert (2003). HTML, XHTML & CSS für Einsteiger: Statische Websites systematisch erstellen (in German). Springer. ISBN 978-3937137001.
  • Ruth Maran (2000). HTML: Your Visual Blueprint for Designing Effective Web Pages. John Wiley & Sons. ISBN 978-0764534713.

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:

  • William Rothwell (2017). Linux for Developers: Jumpstart Your Linux Programming Skills. Addison-Wesley. ISBN 9780134657288.
  • Benjamin Mako Hill, Matthew Helmke, Corey Burger (2009). The Official Ubuntu Book. Prentice Hall. ISBN 978-0137021208.{{cite book}}: CS1 maint: multiple names: authors list (link)
  • Graham Williams (2007). Debian GNU/Linux Desktop Survival Guide. Togaware. ISBN 978-0-9757109-1-3.
[edit]