Skip to content

HTML Lab 0.3.0

Latest

Choose a tag to compare

@MikaelDenut MikaelDenut released this 09 Nov 07:15

HTML Lab 0.3.0 for Mac, Windows and Linux. Free to use, MIT licence.

What is new: more than HTML and CSS.

  • Any text file opens, edits and saves, and it is saved the way it was: its line endings, tabs or spaces, final newline, BOM and encoding stay. A file opened and saved without an edit is the same file, byte for byte.
  • Colours and folding for 23 languages, among them JavaScript, TypeScript, JSON, Markdown, Python, PHP, SQL, C and C++, Java, Go, Rust and Swift. Each one loads only when a file needs it. C# and Kotlin open as plain text for now.
  • Tidy for the languages where it is safe. Where spaces change what the code means (Python, YAML, Markdown), the Tidy button is greyed and says why.
  • Hide and show the My page side, with the new button at the right end of the left toolbar, View > My Page Side, or Cmd+Shift+Y (Ctrl+Shift+Y on Windows and Linux). It hides by itself for files that are not web pages.
  • Make a new file from the + after the last tab: pick Web page, Style, Script, Text or Other, and the file gets the right ending.
  • Change a file's name by clicking the name of its tab. HTML Lab lists every place in the project that uses the old name and changes those too. Undo puts it all back.
  • Mistake hints for JSON, JavaScript and TypeScript: a missing comma, a bracket or a quote that never closes.
  • HTML Lab is in the Open With list for .js, .json, .md and .txt files. It never becomes their default app.
  • The toolbar's New is now New project.

Fixed: a file with Windows line endings (CRLF) or a BOM lost them when it was saved, and a UTF-16 file from Windows was refused as "not text".

Downloads:

  • Mac (macOS 12 or later, Intel and Apple Silicon): HTML-Lab-0.3.0-mac.zip. Signed with an Apple Developer ID and notarized by Apple. Unzip and move HTML Lab to Applications.
  • Windows (10 or 11, 64-bit): HTML-Lab-0.3.0-windows-x64-setup.exe, an installer that needs no administrator rights and adds HTML Lab to Open With, or HTML-Lab-0.3.0-windows-x64.zip to unzip and run HTML Lab.exe without installing. Signed by Cyborvent Oy. A new app can still get a SmartScreen notice for a while after release.
  • Linux (x86-64): HTML-Lab-0.3.0-x86_64.AppImage runs on most distributions; make it executable and start it. html-lab_0.3.0_amd64.deb is for Ubuntu 22.04 or newer. HTML-Lab-0.3.0-linux.tar.gz holds both, with SHA256SUMS, its GPG signature and the Cyborvent Oy release signing key. Check it, then install:
gpg --import cyborvent-release-signing-public-key.asc
gpg --verify SHA256SUMS.asc SHA256SUMS
sha256sum -c SHA256SUMS
sudo apt install ./html-lab_0.3.0_amd64.deb

The templates are written for Mac fonts; on Windows and Linux the preview uses free look-alike fonts.