Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Add option to configure multiple root folders in tree-view #63

Closed

Description

Use case:
I have a project. In that project I have a few folders that are used often.
I'd like to access these quickly (and optionally be able to hide the others). I solved this in other editors by having the frequently used folders as root folders in the filetree.

Here is an example (of an typical Ruby on Rails project) how I'd do this:

_ app/
|_ assets/
|_ controllers/
|_ models/
|_ views/

_ javascripts/
|_ templates/
|_ models/
|_ application.js

_ stylesheets/
|_ application.css

_ my_project/
|_ app/
|_ config/
|_ db/
|_ README

This is much easier to browse and also takes up less horizontal space then:

_my_project/
|_ app/
  |_ assets/
    |_ javascripts/
      |_ templates/
      |_ models/
      |_ application.js
    |_ stylesheets/
      |_ application.css
  |_ controllers/
  |_ models/
  |_ views
|_ config/
|_ db/
|_ README

Activity

  1. benogle commented on Mar 3, 2014

    @benogle
    Contributor

    Eventually, we'd like to move to a world where you can curate a workspace with multiple root folders like this. But it probably wont be in in the short term.

  2. drewcassidy commented on Mar 4, 2014

    @drewcassidy

    yes please. For now, make some symlinks (not aliases) in a folder you set as atom's root.

  3. s6577t commented on Apr 19, 2014

    @s6577t

    I'd like this too. simply running atom ./this-dir ./that-dir would suffice.

  4. gizburdt commented on May 20, 2014

    @gizburdt

    My use case is that I'm working on a project with two repos (so, two folders). I would like to access them in one window, so I would like to see this feature too...

  5. craighooghiem commented on May 22, 2014

    @craighooghiem

    Projects / EnhancedSidebar had this in Sublime Text (not that we need to keep comparing this to ST) and it was a brilliant feature. In the PHP world it was great for working with composer projects where my actual files are 4 or 5 folders deep and the sidebar width just isn't adequate to browse the root AND 5 folders deep in the same view.

  6. izuzak commented on May 22, 2014

    @izuzak
    Contributor

    Related issues in atom/atom: atom/atom#770 + atom/atom#1722

  7. neiled commented on Jun 3, 2014

    @neiled

    👍

  8. dmsimard commented on Jul 2, 2014

    @dmsimard

    +1, this is almost the only reason why I am not using Atom exclusively.

  9. nicerobot commented on Jul 5, 2014

    @nicerobot

    👍

  10. teachop commented on Jul 13, 2014

    @teachop

    Maybe an alternative if this capability is a ways off: Could the side pane be split vertically so a tree view folder could be open in each?

  11. duanefields commented on Jul 21, 2014

    @duanefields

    In the meantime, you create symbolic links to the other project folders in your main folder, and the editor handles them nicely.

    screenshot_06

  12. haeric commented on Aug 4, 2014

    @haeric

    The symbolic link hack seems quite okay, except it seems to break project search for me?

  13. joseym commented on Sep 13, 2014

    @joseym

    👍

  14. timodwhit commented on Oct 8, 2014

    @timodwhit

    +1

  15. 6 remaining items

  16. demisx commented on Dec 8, 2014

    @demisx

    👍 Same here. One of the main blockers moving from Sublime.

  17. h-svab commented on Dec 12, 2014

    @h-svab

    👍

  18. wangchunyang commented on Dec 15, 2014

    @wangchunyang

    Without it, for me, it is hard to move from ST3 to Atom.

  19. joseym commented on Dec 15, 2014

    @joseym

    I actually recently moved back to ST3 because of this.
    The issue is 8 months old and doesn't seem to be very high on the feature list.

  20. benogle commented on Dec 15, 2014

    @benogle
    Contributor

    The issue is 8 months old and doesn't seem to be very high on the feature list.

    It is on our 1.0 roadmap

  21. izuzak commented on Mar 4, 2015

    @izuzak
    Contributor

    @maxbrunsfeld we can close this now since #368 was merged, right?

  22. izuzak commented on Mar 10, 2015

    @izuzak
    Contributor

    Closing this -- it's possible to have multiple root folders now. #368 🎉

  23. craighooghiem commented on Mar 11, 2015

    @craighooghiem

    I don't know that this feature is as good as it could be.
    For example, in ST3 I can add a child folder as an additional root folder. This is not working in the latest build of Atom.

    Example: I have a PHP project with a composer vendor directory. I have the main project open as my main root, but I also like to add a root folder of
    vendor/COMPANYNAME/package/ so that I'm not destroying the sidebar by have 4 or 5 folder levels deep.

    When I try to add this in Atom it simply does nothing.

  24. benogle commented on Mar 11, 2015

    @benogle
    Contributor

    @craighooghiem can you make a new issue for this?

  25. fpupor commented on Mar 13, 2015

    @fpupor

    I think that this function is really necessary, I use a lot in other editors

  26. izuzak commented on Mar 13, 2015

    @izuzak
    Contributor

    @fpupor If you're referring to @craighooghiem's improvement suggestion, there's another issue for that here: #404

  27. danielpsf commented on Aug 7, 2015

    @danielpsf

    I'm thinking to myself how we could create a customized tree-view for different kind of projects, like:
    image

    For Grails projects. So +1 for this request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions