Replies: 1 comment
|
Hey @lloricode thanks for the suggestion, I've opened a issue to follow up on implementation #1297 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Idea: project-level Tinker snippets (like Tinkerwell's
.tinkerwell/snippets)Love the Tinker tab! One thing I miss from Tinkerwell is committing reusable snippets inside the project so the whole team can share them.
Proposal: let Lerd read snippet files from a project folder and show them in a picker in the Tinker tab.
Suggested location (open to whatever fits Lerd best):
.lerd/tinker/snippets/*.php— namespaced under the existing.lerdconvention, or.tinkerwell/snippets/so existing Tinkerwell users get it for free.Behavior:
.phpfile = one snippet; the filename (or a// @name ...header) becomes the label.Why it's low-risk: it's just read-only file loading into the editor — no new execution surface, same trust model as running code in the Tinker tab today.
Bonus: a global/user-level folder (e.g.
~/.config/lerd/tinker/snippets/) for personal snippets that follow me across every site.All reactions