From bf9b541a0f6f6a6e7a2695117f854c5fc4913f7c Mon Sep 17 00:00:00 2001 From: Dmitriy Vasyura Date: Mon, 15 Dec 2025 01:22:34 -0800 Subject: [PATCH] Add instructions for file watchers and tooltips --- .github/copilot-instructions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 00f615a4078..4dad865443c 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -134,3 +134,5 @@ function f(x: number, y: string): void { } - If you create any temporary new files, scripts, or helper files for iteration, clean up these files by removing them at the end of the task - Never duplicate imports. Always reuse existing imports if they are present. - Do not use `any` or `unknown` as the type for variables, parameters, or return values unless absolutely necessary. If they need type annotations, they should have proper types or interfaces defined. +- When adding file watching, prefer correlated file watchers (via fileService.createWatcher) to shared ones. +- When adding tooltips to UI elements, prefer the use of IHoverService service.