ArticleslgStudy

computer science

Bluefish (software)

Bluefish (software) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Bluefish (software) rather than just read about it. In short: 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, Java, PHP, Python, and as well as markup languages such as HTML, YAML, and XML.

Bluefish (software) — main illustration
Bluefish (software) — illustration

Key takeaways

  • Bluefish (software) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Bluefish (software) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Bluefish (software) from memory before moving on to harder problems.

Reference excerpt

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, Java, PHP, Python, and as well as markup languages such as HTML, YAML, and XML. It is available for many platforms, including Linux, macOS, and Windows, 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, Bluefish is lightweight, fast and easy to learn, while providing many IDE features. 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 or a WYSIWYG web design component. Bluefish's features include syntax highlighting and auto-completion for 47 different markup and code languages (including Mediawiki syntax), customizable via an XML language definition format. It furthermore features code folding, auto-recovery, upload/download functionality (on systems where GVfs is available), a code-aware spell-checker, a Unicode character browser, project support, code navigation and bookmarks. It also supports regular expressions and multi-file search and replace. It has a multiple document interface that can quickly load large codebases or websites, and features full screen editing. For web development it has many toolbars with specific dialogs and wizards to automatically insert the correct HTML tags in addition to autocompletion for all tags and their attributes together with Zencoding/emmet Bluefish is extensible via plugins and external tools and scripts. Many scripts come preconfigured, including statical code analysis, and syntax and markup checks for different markup and programming languages such as lint or weblint. Also a simple macro-like feature called "custom menu" helps to speed up repeating actions. A large set of macro's for PHP and HTML come preconfigured.

History Bluefish was started by Chris Mazuc and Olivier Sessink in 1998 to facilitate web development professionals on Linux desktop platforms. Bluefish was at the time one of the only web development focused editors on the Linux. Linux, due to the LAMP stack (first introduced in 1998), was becoming the most popular web hosting platform. Bluefish was quickly part of the major Linux distributions, such as Debian Potato (released in 2000), Knoppix 2.1 and the first Fedora release. 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. Finally the name Bluefish was chosen after a logo (a child's drawing of a blue fish) was proposed on its mailing list. 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. The 2.0.x branch was a big rewrite, changing to the GTK 2 GtkTextView widget and a new syntax scanning engine based on a deterministic finite automaton. The 2.2.x branch, 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.

Source code and development Bluefish is hosted on SourceForge, and was one of the early projects to join. Initially CVS was used for code version control, later moving to SVN. Bluefish is mostly written in C and uses the cross-platform GTK library for its GUI widgets. Markup and programming language support is defined in XML files that are loaded with Libxml2. The optional plugins require libenchant, python and libgucharmap. 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 and Macports, but the official binary is built using the Gtk-OSX-Integration 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. Various scripts for JavaScript, JSON, CSS, and HTML formatting are included in the Bluefish distribution.

See also

Comparison of HTML editors Comparison of integrated development environments List of HTML editors List of PHP editors List of text editors

References

Further reading 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 978-0-13-235008-2. Steve Schafer (2005). Web Standards Programmer's Reference: HTML, CSS, JavaScript, Perl, Python, and PHP. Wrox. ISBN 978-0-7645-8820-4. Helmut Balzert (2003). HTML, XHTML & CSS für Einsteiger: Statische Websites systematisch erstellen (in German). Springer. ISBN 978-3-937137-00-1. Ruth Maran (2000). HTML: Your Visual Blueprint for Designing Effective Web Pages. John Wiley & Sons. ISBN 978-0-7645-3471-3. Books on Python that recommend and/or cover the use of Bluefish:

… excerpt ends here. Continue reading the full article.

Illustrations

Bluefish (software) illustration
Bluefish (software) illustration

Worked examples

Example 1 — a first encounter with Bluefish (software)

Start with the simplest possible case. Write down what Bluefish (software) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Bluefish (software) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Bluefish (software) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Bluefish (software)

In research
Bluefish (software) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Bluefish (software) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Bluefish (software) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Free HTML editors, Free integrated development environments, Free software programmed in C, so understanding it makes those chapters shorter.
In everyday life
Look for Bluefish (software) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Bluefish (software)” →

How to study Bluefish (software) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Bluefish (software) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Bluefish (software) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Bluefish (software) in simple terms?

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, Java, PHP, Python, and as well as markup languages such as HTML, YAML, and XML.

Why does Bluefish (software) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Bluefish (software)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Bluefish (software).

Tags

  • Free HTML editors
  • Free integrated development environments
  • Free software programmed in C
  • Free text editors
  • GNOME Applications
  • HTML editors
  • Linux integrated development environments
  • Linux text editors
  • MacOS text editors
  • Software that uses GTK
  • Software using the GNU General Public License
  • Text editors that use GTK

Keep exploring