diff --git a/.github/instructions/typescript.instructions.md b/.github/instructions/typescript.instructions.md index 6a49d07f5d1..bf7f7f394c5 100644 --- a/.github/instructions/typescript.instructions.md +++ b/.github/instructions/typescript.instructions.md @@ -9,6 +9,7 @@ You MUST check compilation output before running ANY script or declaring work co 1. **ALWAYS** check the "Core - Build" task output for compilation errors 2. **ALWAYS** check the "Ext - Build" task output for compilation errors 3. **NEVER** run tests if there are compilation errors +3. **NEVER** use `npm run compile` to compile TypeScript files, always check task output 4. **FIX** all compilation errors before moving forward ## TypeScript compilation steps diff --git a/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.ts b/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.ts index 651442098d1..3e9af588eeb 100644 --- a/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.ts +++ b/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.ts @@ -876,7 +876,7 @@ class BuiltinDynamicCompletions extends Disposable { const labelDescription = description ? localize('fileEntryDescription', '{0} ({1})', uriLabel, description) : uriLabel; - const sortText = description ? 'z' : '{'; // after `z` + const sortText = ' '; // keep files always at the top return { label: { label: basename, description: labelDescription },