Skip to content

Code Block Studio 1.4.0 — practical and retro formatters preview

Pre-release
Pre-release

Choose a tag to compare

@HumuHumuUK HumuHumuUK released this 05 Nov 20:32

Code Block Studio 1.4.0 adds offline formatting for practical scripting/configuration languages and a collection of retro BASIC text listings.

Added

  • PowerShell 7, Lua, Dart, Rust 2021, Dockerfile and Terraform/OpenTofu/HCL.
  • Oracle PL/SQL, Snowflake, DuckDB, Redshift, DB2 and Hive SQL dialects.
  • Conservative layout formatting for generic BASIC, BBC BASIC, Sinclair BASIC, Commodore BASIC V2, Locomotive BASIC, Applesoft, GW-BASIC, QBasic, Atari BASIC and AMOS.
  • Local HCL highlighting and examples for every new formatter label.

All formatters are bundled. Snippets are never executed, and formatting retains the existing Original/Formatted preview, Copy, Apply and editor Undo paths.

Install

Download local.lpowers.code-studio.jpl. In Joplin Desktop, open Tools → Options → Plugins, use the gear menu → Install from file, select it and restart Joplin. The plugin ID and saved preference keys are unchanged.

Validation and limits

Fresh dependency installation, TypeScript checks, build and all 85 tests pass from the clean public source commit. The dependency check reports zero known vulnerabilities. Checks cover offline loading, concurrent initialisation, error recovery, literal/source preservation, documentation examples, packaging and browser/host integration. Checksums cover the installer, metadata and source ZIP.

This remains a preview pending live Joplin acceptance. The declared minimum Joplin 3.3, Windows/macOS execution and original retro machines/emulators have not been verified. Earlier live checks used Joplin 3.7.22 on Linux; browser Rich Text checks use a TinyMCE stub.

PowerShell output targets version 7, with a preservation guard that can refuse output it cannot retain safely. Rust uses the 2021 edition. BASIC formatting aligns program numbers and indents recognised blocks; it preserves statement text, case, strings, comments, DATA and physical boundaries. It does not renumber, expand abbreviated keywords, interpret programs or load tokenised tape/disk images. BASIC syntax colouring is generic.

The original plugin remains MIT licensed. Third-party engines retain their packaged notices and source locations. Optional support: Ko-fi.

No npm or Joplin catalogue submission has been made.