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

Allow merging of custom and default completion items #2555

Closed
qsc-jhndnn opened this issue Jun 29, 2021 · 1 comment
Closed

Allow merging of custom and default completion items #2555

qsc-jhndnn opened this issue Jun 29, 2021 · 1 comment
Labels
duplicate help wanted Issues identified as good community contribution opportunities suggest

Comments

@qsc-jhndnn
Copy link

My unsuccessful searching to solve this makes me think this needs to be a feature request - I would like the ability to merge the automatically generated completion items with my suggested completion items. I have a sample here - https://github.com/jhndnnqsc/monaco-test/blob/main/src/App.js. In this example, if the user hits ctrl+space provideCompletionItems returns an empty array and the automatic list is shown.

image

If the user hits the '.' character a suggestion list is returned - in this case only the suggested items are included

image

It seems like it would be useful to be able to automatically combine the two lists - if there is a method for that already please let me know.

@alexdima alexdima added help wanted Issues identified as good community contribution opportunities suggest labels Jun 30, 2021
@rcjsuen
Copy link
Contributor

rcjsuen commented Jul 1, 2021

@alexdima This looks like a duplicate of #1850 to me.

@alexdima alexdima closed this as completed Jul 1, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate help wanted Issues identified as good community contribution opportunities suggest
Projects
None yet
Development

No branches or pull requests

3 participants