Skip to content

Latest commit

 

History

History
125 lines (86 loc) · 6.25 KB

CHANGELOG.md

File metadata and controls

125 lines (86 loc) · 6.25 KB

© A.Voß – codebasedlearning.dev – Study Maths and Computer Science (AMI) with us @ FH Aachen

Changelog

All notable changes to Codebook are documented here. The format follows Keep a Changelog.

One line per change, newest first. This file is the only source: the <change-notes> of the plugin are generated from it at build time by the org.jetbrains.changelog Gradle plugin, which picks the section matching the build's version. ./gradlew patchChangelog promotes Unreleased to that version and stamps the date — run it at release time, before tagging.

[Unreleased]

[2.2.2] - 2026-11-14

  • Nothing folds while you type. Fold regions are reconciled instead of rebuilt on every re-parse: a comment that becomes a block, or a block whose title is being edited, no longer folds away under the caret, and two blocks with the same title keep separate fold states.
  • Fold all, unfold all and follow-caret are IDE actions now (Tools → Codebook, Find Action, keymap), so presentation mode can sit on a shortcut. Follow-caret is remembered per project.
  • Output gutter icons match section names as whole words: init no longer lands inside define_and_init.
  • With follow-caret off, editing a title no longer blanks the notes; the selection holds on to the block rather than to its title, and open lookups survive the edit.
  • A split view of the same file gets fold regions and gutter icons too.
  • "Nothing to fold" and similar messages are notifications instead of modal dialogs.
  • Build: Gradle 9.9.1, IntelliJ Platform Gradle Plugin 2.20.1, Kotlin API level pinned to 2.3 (the stdlib bundled with the 2026.1 baseline).
  • Internal: the parser no longer assembles the text of every PSI node it passes; caches are owned by the project instead of living for the IDE's lifetime.

[2.2.1] - 2026-08-21

  • AUTHORING.md guideline added

[2.2.0] - 2026-08-13

  • Copyright note edited, redirect to AMI @ FH Aachen added

[2.1.4] - 2026-08-12

  • README adapted in all three sample projects and the main plugin project
  • TECHNICAL.md added

[2.1.2] - 2026-08-05

  • Output gutter icons wait for the console to settle, not merely to be readable: a console still filling yielded only the sections printed so far, so the first function got an icon and the rest did not.
  • A path-less fragment is searched along glossary.path in every form, not only in the short ones — so !![printed](#tco) works where !![#tco] does, and an explicit link text no longer forces the path to be spelled out. Local blocks stay authoritative.

[2.1.1] - 2026-08-05

  • References and embeds section in README updated.

[2.1.0] - 2026-08-05

Behaviour for (embedded) links settled.

  • One gesture vocabulary in the notes: a plain link opens its file, a fold's arrow toggles its block, a headline is link-coloured but inert — and ⌘/Ctrl-click on a headline or an arrow opens the source.
  • The opened block lost its header: no provenance line, no ✕. The arrow that opened it closes it — and once a click inside has replaced the content, the block heads itself with what it now shows.
  • Inside borrowed text — an embedded or unfolded body — a plain link is a lookup as well: it replaces the block it stands in, or opens its own under an embed. A glossary can cross-link itself in ordinary Markdown without knowing where it is cited, and the reader keeps their place; ⌘-click still opens the file.

[2.0.0] - 2026-08-05

Major refactoring – the reference syntax nearly settled. One axis, three forms, and the panel reads as one document from the outline down to the last looked-up definition.

Refs

  • Three forms, one per intention: [#term] is an ordinary link and navigates, ![#term] shows the target's text where it stands, !![#term] offers it behind a headline and a ▸.
  • An opened fold appears in an indented block below the line. A fold inside an open block replaces that block, so a chain of lookups stays flat.
  • Every fold occurrence has its own state; two refs to the same term open and close independently.
  • Block labels: a header ending in <a id="term"></a> is addressed by that id instead of by its title slug, so rewording a heading cannot break a ref. The anchor is stripped from the title and is invisible in every renderer.
  • Refs inside embedded or folded text resolve against the file they came from — fragments, relative paths and images alike.

Blocks

  • Unlisted blocks: a title starting with a dot (---- .Setup ----) is kept out of the outline and the breadcrumb, and heads its own section in the notes.
  • A construct's opening line (namespace {, class X {, def f():) stays with the CBL comment above it, if there is one.
  • Note bodies keep their relative indentation, so nested Markdown lists survive.

Build

  • <change-notes> is generated from this file by the Gradle Changelog Plugin.

[1.0.2] - 2026-07-29

  • Screenshots added, Readme explained.

[1.0.1] - 2026-07-28

  • Minor warnings and errors from the Problem report fixed.
  • Gradle update.

[1.0.0] - 2026-07-28

  • Kotlin sample added.
  • Bugs concerning Gradle projects eliminated.
  • First public version.

[0.9.5] - 2026-07-28

  • Icons changed.

[0.9.4] - 2026-07-28

  • Unifying changes; Java and Kotlin samples postponed.

[0.9.3] - 2026-07-28

First public release. Baseline IntelliJ IDEA 2026.1 (since-build 261), no upper bound; installs in every JetBrains IDE.

  • Topic outline of a file's dash-framed block comments, four levels by frame width.
  • Layered notes that follow the caret, with a breadcrumb over the bodies of the chain.
  • Markdown rendering of note bodies, GitHub-flavoured, images resolved relative to the source file.
  • Editor folding of the note body.
  • References and embeds between blocks: [text](#topic) links, ![](#topic) embeds, folded by default.
  • Cross-file references into other snippets or a Markdown glossary, where headings are the blocks.
  • Short reference forms [#term] and ![#term], resolved along a configurable glossary.path.
  • Run and Debug from the panel, derived from the current file's context.
  • Output linking: printed section headers get a gutter icon that scrolls the console to that section.
  • Per-course configuration through cascading cbl.properties files.