ludic/changes/jetbrains-ide.md
Orkuncakilkaya e010c2cecc feat(lang): float and double types with ordinary operators
`float` (32-bit) and `double` (64-bit) with + - * / %, comparisons and unary minus.
Decimal literals take their type from context and stay `fixed` elsewhere; int and long
promote implicitly (LUDIC_WARN_FLOAT_PROMOTE=1 lists every promotion). float(), double(),
int(), long() and fixed() convert; floats(n)/doubles(n) buffers; float fields, globals,
constants and parameters; Math.* computes in float for float arguments; string/print
write the shortest round-tripping decimal; float_bits/float_from_bits expose the bits.
@deterministic code may not use floats. The f_* runtime helpers stay as they are.

Editors know the new type words; the JetBrains plugin is 1.5.0.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 16:13:31 +03:00

1.5 KiB

bump: minor type: feat The JetBrains plugin covers much more of the IDE:

  • Run configurations for ludic run/build/test (plus any other ludic command), with gutter run buttons on program and on every test "name" block.
  • Test results appear in the IDE's test tree, with navigation back to each test block.
  • file.ludic:line locations are clickable in every console.
  • Smart indentation on Enter and when typing a closing bracket; quotes pair up.
  • A Color Scheme page and a Code Style page.
  • Live templates, New Ludic File templates, and a Ludic project in File | New | Project.
  • A Tools | Ludic menu, and a warning when the toolchain is missing.
  • package.ludic is treated as a package manifest:
    • a banner offers Fetch, Update, Verify, Run, Test, Build and Bundle, and warns when the lock is missing or older than the manifest;
    • gutter actions on package and require lines;
    • completion and quick documentation for directives and app keys;
    • its own icon.
  • script and hook lines complete and are validated; each script has a run button, the package banner has script shortcuts, and Tools | Ludic | Run Script… lists them all.
  • The toolchain's and the project's packages are listed under External Libraries.
  • The Structure view, parameter info and code-block navigation now come from ludic-lsp.
  • The plugin is now 1.5.0 and requires IntelliJ Platform 2024.2 or newer and LSP4IJ 0.21.
  • Fixed: Enter no longer inserts an extra }, and Comment Line no longer writes two spaces.