Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually change the order of the folders and files that are listed in VSCode File Explorer #95239

Closed
hdadr opened this issue Apr 14, 2020 · 7 comments
Assignees
Labels
feature-request Request for new features or functionality file-explorer Explorer widget issues *out-of-scope Posted issue is not in scope of VS Code
Milestone

Comments

@hdadr
Copy link

hdadr commented Apr 14, 2020

Yes, this issue is a duplicate of this: #91843
which was closed. I still wish this feature to be added. It would really make finding files easier, especially when there are a lot in the same folder. It could also follow the logical / user flow.

As a user i would like to sort my folder and files order in the explorer manually within it's parent folder, so i can decide how folders and files follow each other.

Currently it is sorted by alphanumeric, which does not follow the logicality of the project. It would make much easier to find files and understand project by looking on the logically sorted order.

Suggested implementation: drag + drop, keycombination + mouse scroll wheel.

image

@isidorn isidorn added feature-request Request for new features or functionality file-explorer Explorer widget issues labels Apr 15, 2020
@isidorn isidorn added this to the Backlog milestone Apr 15, 2020
@isidorn
Copy link
Contributor

isidorn commented Apr 15, 2020

This is a fair feature request, however we do not have it on our immediate plan. Thus assigning to backlog and we might add this in the future. Thanks

@hdadr
Copy link
Author

hdadr commented Apr 15, 2020

That's alright it's not on an immediate plan. I hope one day it comes thorugh. Thanks

@isidorn isidorn added the *out-of-scope Posted issue is not in scope of VS Code label Jun 29, 2020
@abhijit-hota
Copy link

abhijit-hota commented Dec 6, 2020

+1 to this but my reasoning is a bit subjectives to taste. Now, I have a folder structure that looks like this:

/features
/utils
.eslintrc
.gitignore
.prettierrc
index.js
.env (gitignored)
README.md
package.json
config.json (gitignored)
package-lock.json

I want it to look something like this:

/features
/utils
index.js
README.md
package.json
package-lock.json
.gitignore
.eslintrc
.prettierrc
.env (gitignored)
config.json (gitignored)

In my opinion, this:

  • looks better
  • has a better 'visual hierarchy' of files
  • is 10 times easier to navigate

Maybe not a feature, but someone needs to make an extension! :D

@OmranK
Copy link

OmranK commented Aug 28, 2021

Please add manual file re-ordering feature to VSCode. This is the main reason I am considering moving away from VSCode. It is extremely annoying to have files in the wrong order and not be able to reorganize them. If I'm creating a website and I want NavBar component on top since it is the first component of the website, then its not possible. Makes working in VSCode frustrating.

@ahuigo
Copy link

ahuigo commented May 12, 2022

I'm using vs code to write my markdown notes.

So I want to custom my note's sequence like this:

$ tree -a denojs 
denojs
├── .file-order
├── deno-hello-world.md
└── deno-install.md

$ cat denojs/.file-order
deno-install.md
deno-hello-world.md

I want deno-install.md to be displayed before deno-hello-world.md in vscode. (The order info is stored in .file-order)

I want to write a vs code plugin, but I could not find a api to do this:

  • [] Support custom explorer file order via .file-order
  • [] Support drag file and update sort info in .file-order.

Could vs code provide such an api to do this?

@david-fong
Copy link

See #119207, which is closed in favour of #27286

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality file-explorer Explorer widget issues *out-of-scope Posted issue is not in scope of VS Code
Projects
None yet
Development

No branches or pull requests

7 participants
@ahuigo @isidorn @abhijit-hota @hdadr @OmranK @david-fong and others