Verified Solution[microsoft/vscode] "Report Issue" not able to find via search bar in the help Manu of vsc on Mac
Sponsored Content
### ROOT CAUSE
The issue arises because the "Report Issue" command is not being indexed by the search bar in the help menu on macOS. This could be due to the command not being properly exposed to the search index or a platform-specific configuration issue. The user was able to access the command via the menu (Help > Report Issue), confirming the command exists but is not searchable.
### CODE FIX
To resolve this, the command `workbench.action.reportIssue` must be explicitly added to the search index. This requires modifying the `package.json` of the relevant extension (e.g., `@vscode/search`) to include the command in the `contribution` section under the `search` array. For example:
```json
{
"contributes": {
"search": {
"commands": ["workbench.action.reportIssue"]
}
}
}
```
Additionally, ensure the command is properly registered in the `vscode.commands` array. If this is a platform-specific issue, check the `product.json` for macOS to confirm the command is included in the `menu` section. This ensures it appears in the search bar. After making these changes, rebuild and test the extension to verify the command is searchable.
Deploy on DigitalOcean ($200 Credit)
Related Fixes
[StackOverflow/rust] Outputting data from results of compartmental ODE model
[pytorch/pytorch] [dynamo] Raising non-BaseException values causes graph break instead of TypeError
[StackOverflow/go] Error: rpc error: code = Canceled desc = context canceled