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: multiline ghost text #1862

Closed
xzbdmw opened this issue Mar 24, 2024 · 3 comments · Fixed by #1886
Closed

feature request: multiline ghost text #1862

xzbdmw opened this issue Mar 24, 2024 · 3 comments · Fixed by #1886

Comments

@xzbdmw
Copy link

xzbdmw commented Mar 24, 2024

In vscode:
image
in cmp:
截屏2024-03-24 17 34 20
Any help to guide me to compelete the feature is appreciated.

@xzbdmw
Copy link
Author

xzbdmw commented Mar 24, 2024

Hmm, it needs to expand snippets early, but I don't see proper api in luasnippet to return raw text, some hack in luasnippet to make it happen.
image
There are additional benefits that ghost text no longer contain placeholders
截屏2024-03-24 23 10 34

@xzbdmw
Copy link
Author

xzbdmw commented Apr 6, 2024

And copilot-cmp can benefit of this too, if it is more general not only snippet.
截屏2024-04-07 04 25 46

@cxwx
Copy link

cxwx commented Apr 16, 2024

how about codeium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants