Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an annotation function for activities' completing-read #20

Open
jdtsmith opened this issue Feb 4, 2024 · 3 comments
Open

Provide an annotation function for activities' completing-read #20

jdtsmith opened this issue Feb 4, 2024 · 3 comments
Assignees
Labels
compatibility enhancement New feature or request
Milestone

Comments

@jdtsmith
Copy link
Contributor

jdtsmith commented Feb 4, 2024

This is what marginalia uses to add rich info annotations. I could imagine annotations describing #windows, #files, #buffer, last modified file date, etc. And of course a sort-function which puts activities with most-recently-modified files first.

See the docs for completing-read for info on metadata category.

@alphapapa
Copy link
Owner

Yeah, and we'll probably need to ask @minad and @oantolin to chime in as well.

@alphapapa alphapapa self-assigned this Feb 4, 2024
@alphapapa alphapapa added this to the 0.5 milestone Feb 4, 2024
@alphapapa alphapapa modified the milestones: 0.5, 0.6 Feb 11, 2024
@alphapapa
Copy link
Owner

Since this may need coordination with Embark (or maybe not, I'm not sure), I'm deferring til 0.6.

@jdtsmith
Copy link
Contributor Author

jdtsmith commented Apr 21, 2024

Marginalia actually recommends against depending on it:

If you add your own completion commands to your package we recommend to specify an annotation-function or an affixation-function, avoiding the Marginalia dependency this way.

See #83 for a draft attempt.

@jdtsmith jdtsmith changed the title Provide a category for the activities completing-read Provide an annotation function for activities' completing-read Apr 21, 2024
@alphapapa alphapapa modified the milestones: v0.6, v0.8 Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants