Skip to content

Commit c130f7c

Browse files
authored
Try to convince Copilot to hide commands from command palette (#7680)
1 parent ac0a3c1 commit c130f7c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/copilot-instructions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
- **Commands**: Register new commands in `package.json` and implement them in `src/commands.ts` or a relevant module.
1515
- **Logging**: Use the `Logger` utility for all logging purposes. Don't use console.log or similar methods directly.
1616

17+
## Specific Feature Practices
18+
- **Commands**: When adding a new command, consider whether it should be available in the command palette, context menus, or both. Add the appropriate menu entries in `package.json` to ensure the command is properly included, or excluded (command palette), from menus.
19+
1720
## Pull Request Guidelines
1821
- Never touch the yarn.lock file.
1922
- Run `yarn run lint` and also `npm run hygiene` and fix any errors or warnings before submitting a PR.

0 commit comments

Comments
 (0)