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

Add activation events #246

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add activation events #246

wants to merge 1 commit into from

Conversation

liorsagy
Copy link

@liorsagy liorsagy commented Nov 9, 2021

When trying to run the restart language server and other commands before clangd extension activates, an unhelpful error message stating the command does not exist pops up.

"onCommand:clangd.update"
"onCommand:clangd.update",
"onCommand:clangd.restart",
"onCommand:clangd.switchheadersource",
Copy link
Member

Choose a reason for hiding this comment

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

clangd.switchheadersource and clangd.restart won't be really useful if clangd isn't available already. but i suppose it makes sense for clangd.{project,user}config.

looping in @hokein as he uses vscode and might have opinions about the matter.

@sam-mccall
Copy link
Member

What commands do you want to use before clangd is active, and what do you expect them to do?

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.

3 participants