microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.67k stars 28.68k forks source link

Terminal suggest: File extension boosts should include exe for Windows #225265

Closed Tyriar closed 1 month ago

Tyriar commented 1 month ago

Repro:

  1. Create a folder with an .exe file and a .aaa file
  2. Type into terminal .\<folder_name>\, 🐛 the exe file should be at the top

image


https://github.com/microsoft/vscode/blob/25006fe8b1ed416f2e9f5a799310b39694b2e9c3/src/vs/workbench/services/suggest/browser/simpleCompletionModel.ts#L229-L260

Tyriar commented 1 month ago

Verify above repro, also verify in a folder that contains a .ps1, .exe, .cmd and .bat that they appear in that exact order

image