How to adjust file ordering in project tree?

Hi, I noticed that Atom is sorting my project files like *_test.go before the corresponding regular *.go files. This matches how macOS Finder sorts files, but I would prefer that the order match how bash ls and how GitHub orders files.

Is there a preference or plugin for adjusting the comparator here?

There’s no tree view setting for that but https://atom.io/packages/tree-view-sort seems to have a number of sorting options? After installing and enabling it, its default settings seem to sort the specific file examples you described like you want?

1 Like