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

Feature request: Having candidates capitalized before showing up #8

Open
jcs090218 opened this issue Feb 21, 2023 · 2 comments
Open

Comments

@jcs090218
Copy link

It would be great if this package can complete certain user keywords:

GET, POST, PUT, DELETE, PATCH...

And,

User-Agent, Content-Type, Accept-Encoding...

WDYT?

@iquiw
Copy link
Owner

iquiw commented Feb 23, 2023

I have not used company-restclient and company-mode these days, but I think they are supported.

image

image

Not what you mean?

@jcs090218
Copy link
Author

jcs090218 commented Feb 27, 2023

Ah, okay. The issue was came from company-fuzzy and the flx backend. Since flx is case sensitive, so I couldn't get the candidates.

This shows nothing,

Con▌

but this works,

con

Is there a way to get all candidates from the function company-restclient-candidates that are already capitalized? That might be nice to have, so while company shows the candidate in the popup would have them all capitalized. And don't capitalize it in post-completion,

(mapconcat 'capitalize (split-string candidate "-") "-"))))

@jcs090218 jcs090218 changed the title Feature request: Complete keywords GET, POST, DELETE, etc Feature request: Having candidates capitalized before showing up Feb 27, 2023
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

No branches or pull requests

2 participants