-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Extension activates when running build tasks #14231
Comments
Our activation events are: {
"activationEvents": [
"onLanguage:rust",
"onCommand:rust-analyzer.analyzerStatus",
"onCommand:rust-analyzer.memoryUsage",
"onCommand:rust-analyzer.reloadWorkspace",
"onCommand:rust-analyzer.startServer",
"workspaceContains:*/Cargo.toml",
"workspaceContains:*/rust-project.json"
]
} I'm not sure it would start in your situation. |
Well whenever I press Cmd+Shift+B. The rust build tasks are available. I also get an error message saying |
That command also activates the CMake extension. It might be that Code activates every extension that exposes a build task. |
The runtime status has
Ok this might be a vscode issue |
Just found this microsoft/vscode#175821 |
Yeah, looks like the same issue. I think we can close this one since there's nothing we can do. |
@lnicola still exists in 1.76.1 (which claims fixed microsoft/vscode#175821). May need further investigation. |
Looks like this might have been properly fixed in microsoft/vscode#178679. |
I believe this is still hapenning with 1.78 and |
This still happens to me (in a platform-io project using c++/arduino code) |
Still happens. In my case, I have a simple shell task for code formatting (labelled
The keymap is defined as:
which I believe also runs other tasks and not only the one specified in |
Will just leave it here:
|
microsoft/vscode#175821 was fixed, closed and then reverted without comment, so the issue remains. I've created microsoft/vscode#192043, since the original is locked. |
microsoft/vscode#192043 is also fixed, does this still happen? |
Open any workspace and regardless of what is in the workspace the rust-analyser extension activates.
rust-analyzer version:
0.3.1418-standalone (4e29820f6 2023-02-26)
The text was updated successfully, but these errors were encountered: