File tree Expand file tree Collapse file tree
packages/vscode/src/context/providers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import { FileItem } from './workspace-provider'
55import { SharedFileState } from '../shared-file-state'
66import { ignored_extensions } from '../constants/ignored-extensions'
77import { should_ignore_file } from '../utils/extension-utils'
8- import { natural_sort } from '../../utils/natural-sort'
98
109export class OpenEditorsProvider
1110 implements vscode . TreeDataProvider < FileItem > , vscode . Disposable
@@ -339,13 +338,6 @@ export class OpenEditorsProvider
339338 const items : FileItem [ ] = [ ]
340339 const open_files = this . _get_open_editors ( )
341340
342- // Sort open files using natural sort
343- open_files . sort ( ( a , b ) => {
344- const a_name = path . basename ( a . fsPath )
345- const b_name = path . basename ( b . fsPath )
346- return natural_sort ( a_name , b_name )
347- } )
348-
349341 for ( const file_uri of open_files ) {
350342 const file_path = file_uri . fsPath
351343
You can’t perform that action at this time.
0 commit comments