Skip to content

feat: Allow setting inlay name in Lua - #1648

Open
enzi221 wants to merge 1 commit into
kwaroran:mainfrom
enzi221:feat/lua-inlay-name
Open

enzi221 wants to merge 1 commit into
kwaroran:mainfrom
enzi221:feat/lua-inlay-name

Conversation

@enzi221

@enzi221 enzi221 commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

PR Checklist

  • Required Checks
    • Have you added type definitions?
    • Have you tested your changes?
    • Have you checked that it won't break any existing features?
  • If your PR is highly AI generated, check the following:
    • Have you understood what the code does?
    • Have you cleaned up any unnecessary or redundant code?
    • Is it not a huge change?
      • We currently do not accept highly AI generated PRs that are large changes.

Summary

Lua generateImage() can set the inlay's name.

Related Issues

None.

Changes

An alternative to #1644. Instead of changing the ID, this PR lets Lua set the inlay asset's name.

This brings no notable benefit on its own, but it opens the way to UX improvements such as searching images by name in the inlay asset explorer.

Script authors can also use it in place of #1259 if they choose to.

I hope either this or #1259 gets merged, or both.

Impact

None.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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