Chat: Sort recent files above tools (#255950) (#256026)

* Chat: Sort recent files above tools (#255950)

* explain
This commit is contained in:
Benjamin Pasero 2025-07-15 15:16:27 +02:00 committed by GitHub
parent b50d6a279e
commit d92e9ced85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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 },