Skip to content

Conversation

sam-mccall
Copy link
Member

NOT READY FOR MERGE: depends on clangd/node-clangd#12

return true;
}
async promptDelete(path: string) : Promise<boolean|undefined> {
coc.window.showMessage(`Deleting previous clangd installation in ${path}`);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unsure what the best behavior is here: for vscode we'll prompt and let the user choose delete/keep/dismiss: https://github.com/clangd/vscode-clangd/pull/288/files#diff-66f6667b405ea9ee158525b6f12729e879388bcc95af6a683118aceb012685b0

coc-clangd mostly does the preferred option silently so far.
I'd be happy with delete+log, keep+log, or coc.window.showPrompt(). Modal dialogs are annoying, though...

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

Successfully merging this pull request may close these issues.

1 participant