Skip to content

v1.1.2

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Apr 04:20

What's Changed

Features

  • &field candidate completion inside function arguments (sort_by, max_by, min_by, map): when a function template inserts a &field placeholder, field candidates from the base array are automatically shown for Tab-cycling or partial typing
  • Placeholder text is removed immediately on entering candidate mode; cursor is placed between & and ) for clean inline editing
  • Ctrl+W now treats &field) as one deletion unit and stops at &, preserving it (e.g. max_by(@, &base_stat)max_by(@, &)
  • Tab/Shift+Tab cycling keeps cursor between & and ) in &partial mode

Bug Fixes

  • Suppressed misleading green completion hint in &partial mode (was appearing after ))
  • Fixed confirmCandidate to use ampFieldPartial() guard so already-completed expressions like max_by(@, &age).field are not corrupted when selecting the next navigation field
  • Fixed &field suggestion fallback to skip when confirm=true, preventing output corruption on exit with an invalid field reference
  • Fixed removeLastJMESPathSegment to ignore & inside string literals (e.g. contains(@, 'a&b'))

Full Changelog: v1.1.1...v1.1.2