Replies: 1 comment 3 replies
-
Another option could be a workspace or global config file which contains an index of the scripts that should show up in the menu along with the label / title (I prefer title I think) and key bindings. That would also solve the problem of what files we should not show in the menu if they only contain utility functions. Another problem that would solve is that you could specify which function should be invoked and which arguments should be put into those functions. index.edn:
This will likely also be faster to parse on startup than having to traverse a directory with files and read the front matter from those. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If we find a low-friction way to provide configuration/information about the script, in the scripts themselves, this could be used for things like:
Some ideas for how to provide such info:
ns
form.ns
formPredeclared keyboard shortcuts are used by Calva for it's custom REPL Command Snippets as a way to compensate for that it can't declare commands at run time.
Beta Was this translation helpful? Give feedback.
All reactions