-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Order folders on top #2935
Comments
as far as i know folders are on top at least on windows |
are you on a mac? |
Yea I'm on Mac. Mean't to mention that. |
We're following the platform convention--on Mac folders are mixed in with files, on Windows they're sorted to the top. We could add a sorting preference though. Marking move to backlog. |
Fwiw, on the Mac Espresso, TextMate and Coda all show files and folders intermingled too -- seems pretty standard. OTOH this seems very easy to have a pref for. As a workaround, you can hack your local copy of Brackets just by removing the |
i wanted to implement a sorting preference but i wanted to ask if sombody has a good idea how to integrate such a feature nicely into the UI |
@WebsiteDeveloper - In the current UI it would make some sense to add it to the Recent Projects dropdown, but that would be a little weird. We're currently planning to revamp the organization of this UI (that's the "Topcoat parity" work on the backlog that @GarthDB is researching), so it's probably best to wait until that happens before deciding where to put this functionality. Thanks. |
That would be a nice feature. |
@GarthDB let me know once you know have decided where to add it to the UI, even if the UI isn't implemented yet, because then i would start working on the internal things an later add the UI. |
Moved to backlog: https://trello.com/c/l3ce9hgK We just need a little UX support before we can add this feature. I'm closing the issue, but keeping the pull request open. |
This is my least favorite part of Brackets ... feels so janky with folders randomly (alphabetically) scattered throughout. :) |
@ensocloud You should be able to get folders on top of files by adding |
Thank you, @RaymondLim! 👍 Now I am just waiting 'two-row layout' [#7669] to Brackets become perfect. Haha. |
@RaymondLim 👍 Thanks! |
Awesome - this works great. Thanks @RaymondLim |
Adding 'fixed' tag since this was implemented back in PR #7138 |
@RaymondLim ohmygod, thanks! suddenly so much pain is taken away |
Thank you for the fix. |
@RaymondLim You da man! |
@RaymondLim 👍 this was painful for those who are switching from other editors like sublime. |
Thanks a lot @RaymondLim - I love Brackets even more, now. |
@RaymondLim Thank you so much! |
@RaymondLim Thank you so much, awesome!!! |
Great to have this feature, just add in your brackets.json preferences the following: |
@antonio-gomez is there any thing i should enable or do something after doing this. Why am i not able to get it though i change it correctly. |
@mintjava It sounds like you have a syntax error in your preferences json file. Try installing the JSONLint extension -- it will tell you if there are any errors in that file. |
@RaymondLim! Cheers buddy :) |
Excellent, Thank you for that recommendation @RaymondLim. I had a comma at the end of the (sortDirectoriesFirst) instruction, which it didn't like. Once I removed that comma, Brackets sorted the folders and files as expected! :) |
It's not working on my Mac. I set "sortDirectoriesFirst" on true, but I don't see any changes :( |
@MarioL See this comment above. Also, try re-starting Brackets. |
Super late, but since this was so helpful to this OCD newb, I thought I'd add something. I think one thing that may confuse someone is that in the wonderful post by RaymondLim, when he refers to adding "a comma to the end of the above line," the "above line" he is referring to is the line in your brackets.json file beneath which you will be adding the code he is providing. He is NOT referring to the line of code ("sortDirectoriesFirst": true) that is "above" in his comment. So, you DO NOT want to add a comma to "sortDirectoriesFirst": true" -- at least not until you decide to add more code after that line. FWIW, my default brackets.json file only contained some font information. I added the line of code above and it's working on my Mac. Here is the exact text in that file for me if anyone wants to copy/paste: { |
Simply use this extension for mac |
A big thank you to you, @kashifkiduniya ! |
@DHBuild002 You always welcome! |
This is what helped me understand it. Thanks man! |
Instead of alphabetical order have option or default to folders on top. This is how most text editors and ides do it.
See Chocolat text editor option.
The text was updated successfully, but these errors were encountered: