Skip to content

Fixed inline anonymous function routing - #140

Merged
oleg68 merged 2 commits into
nbplugins:mainfrom
oleg68:feature/f5-inline-anonymous-function
Sep 28, 2026
Merged

oleg68 merged 2 commits into
nbplugins:mainfrom
oleg68:feature/f5-inline-anonymous-function

Conversation

@oleg68

@oleg68 oleg68 commented Sep 28, 2026

Copy link
Copy Markdown

Summary

  • Added inline support for immediately invoked lambdas and anonymous fun expressions using IDEA K2 inline infrastructure.
  • Fixed anonymous fun expressions being routed through the regular Inline Function UI.
  • Added regression coverage for argument substitution and action routing, with diagnostic logging for apply and undo failures.
  • Bumped the development version to 0.11.256-SNAPSHOT.

Verification

  • mvn clean test — 852 tests passed.
  • mvn clean package -DskipTests — built Nbm/target/nbm/netbeans-plugin-kotlin-nbm-0.11.256-SNAPSHOT.nbm.
  • Manual verification passed: immediate anonymous function inlining produces 41 + 1, execution outputs 42, and Undo Last Refactoring restores the original source.

🤖 Generated with Claude Code

Oleg Samarin and others added 2 commits September 28, 2026 08:33
Co-Authored-By: Claude Code <noreply@anthropic.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
@oleg68
oleg68 merged commit e1ca881 into nbplugins:main Sep 28, 2026
4 checks passed
@oleg68
oleg68 deleted the feature/f5-inline-anonymous-function branch September 28, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant