Skip to content

Commit d92e9ce

Browse files
authored
Chat: Sort recent files above tools (microsoft#255950) (microsoft#256026)
* Chat: Sort recent files above tools (microsoft#255950) * explain
1 parent b50d6a2 commit d92e9ce

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/instructions/typescript.instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ You MUST check compilation output before running ANY script or declaring work co
99
1. **ALWAYS** check the "Core - Build" task output for compilation errors
1010
2. **ALWAYS** check the "Ext - Build" task output for compilation errors
1111
3. **NEVER** run tests if there are compilation errors
12+
3. **NEVER** use `npm run compile` to compile TypeScript files, always check task output
1213
4. **FIX** all compilation errors before moving forward
1314

1415
## TypeScript compilation steps

src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ class BuiltinDynamicCompletions extends Disposable {
876876
const labelDescription = description
877877
? localize('fileEntryDescription', '{0} ({1})', uriLabel, description)
878878
: uriLabel;
879-
const sortText = description ? 'z' : '{'; // after `z`
879+
const sortText = ' '; // keep files always at the top
880880

881881
return {
882882
label: { label: basename, description: labelDescription },

0 commit comments

Comments
 (0)