Skip to content

Multiple folders open in the sidebar #2222

Closed

Description

@hmcts-jmoore

Describe your feature request

Multiple folders open in the sidebar at the same time.

What problem does this feature solve? [optional]

This would help with working across multiple projects at the same time. With only one folder openable at a time, I either have to keep switching folders or open a common root folder, which results in unwanted files and folders cluttering the sidebar.

Additional context [optional]

Activity

  1. added
    🐛 bug
    and removed
    🐛 bug
    on Jun 17, 2020
  2. brainchild0 commented on Jun 19, 2020

    @brainchild0
    Contributor

    Is it adequate to keep each folder open in a separate window?

  3. hmcts-jmoore commented on Jun 22, 2020

    @hmcts-jmoore
    Author

    Is it adequate to keep each folder open in a separate window?

    That works, but not as well for me. I'm moving from using the Atom editor for markdown editing, which has both options, and I always end up using the single-window, multiple-folder version. Personal preference - I don't know how many people would agree or disagree.

  4. brainchild0 commented on Jun 23, 2020

    @brainchild0
    Contributor

    I installed Atom 1.48 on my Linux Mint system, and I find, when I open a folder after having already one open already, that the application creates a another window for the new folder, without any effect to the open window, exactly as does Mark Text.

    Would you give more details about how you are using Atom that would express an enhancement for Mark Text?

  5. hmcts-jmoore commented on Jun 23, 2020

    @hmcts-jmoore
    Author

    In Atom, you have to "Add Project Folder" - just opening a new folder does open a new window.

    I tend to work on a number of related codebases at the same time - all in the same editor instance to keep related stuff together. I sometimes have two editors open, with different sets of related work in each. The same way I used to use the Eclipse IDE - multiple projects from different repositories and locations in the filesystem, all showing in the one workspace.

  6. brainchild0 commented on Jun 23, 2020

    @brainchild0
    Contributor

    Yes, I understand your remarks, but it is difficult to reconcile them with how you suggest Mark Text might behave differently from how it does now, compared to how Atom and Eclipse behave.

    In the case of Eclipse, the workspace persists a listing of directories or files that are represented graphically whenever that workspace is restored. No metaphor for an Eclipse workspace exists in Mark Text. Are you asking for such a feature to be added?

    In the case of Atom, two separate menu items may open a directory, one in a new window, and one adding the directory tree to the sidebar of the current window. Are you asking for a new menu item to be added to Mark Text, or an existing one to invoke a different behavior?

    Note that Atom and Eclipse are principally designed for maintaining software projects, so expecting a one-to-one comparison in planned or supported features is not reasonable generally, though specific features that support the objectives of any application certainly may be considered for inclusion.

  7. hmcts-jmoore commented on Jul 3, 2020

    @hmcts-jmoore
    Author

    To be honest, I'm not being all that prescriptive about the detail. I work with markdown files which are part of software projects (mostly reading, not writing), and as notes across a variety of different activities spread across my hard disk. I am likely to be switching between 'things' frequently through the day, and each 'thing' will typically involve bringing together content from different places - a few related git repositories with md documentation, some of my own notes, etc. The tools that I work with all allow me to do that by having multiple windows open, each with a grouping of related folders. Atom and Eclipse both have ways of remembering the groups of things I've had open together in the past - different ways, with Eclipse's workspaces being a much more heavyweight thing that Atom's projects.

    In terms of implementation, I don't mind very much - Eclipse has a formal workspace that you have to explicitly create and add things to, while Atom just seems to remember and gives you the option (Reopen Project menu) to open a set of folders you've had open before. They both work for me - the way I'm trying to use MarkText is closer to how I use Atom than Eclipse.

    I entirely understand that I may be unusual in how I'm working with MarkText, so this may not be worth anyone looking into. But it might also be a feature that a lot of people would find useful.

  8. brainchild0 commented on Jul 3, 2020

    @brainchild0
    Contributor

    To be honest, I'm not being all that prescriptive about the detail.

    I understand. Thinking about how your use case might integrate with others in this application might help to resolve how to add some feature you find useful. Perhaps use of multiple windows and the recent-items list is sufficient. Perhaps a bookmarks feature would be suitable, allowing you save some set of directories for rapid access. Or perhaps you would think about some plugin that would offer a specific set of functions for a select group of users with needs similar to yours.

  9. geckolinux commented on Feb 11, 2021

    @geckolinux

    I agree that the simplest method would probably be to just allow multiple folders to opened in the sidebar. It would also be nice to allow multiple folders to be opened by default at startup.

  10. brainchild0 commented on Feb 11, 2021

    @brainchild0
    Contributor

    I think it would be helpful to reference an example of an editor, preferably one targeted at general writing rather than writing software, that has behavior similar to that you would wish to see in see Mark Text.

  11. geckolinux commented on Feb 11, 2021

    @geckolinux

    @brainchild0 Thanks for the reply, the closest thing I can think of is QOwnNotes, which has a working folder switcher. Howeever, it requires adding those folders to the database, and it's much less flexible. I prefer the ad-hoc nature of MarkText.

    The rationale here is that I have general writing projects in different realms of business and personal life, and I frequently need to switch between them.

    Another option might be to allow for selecting folders from a list of folders that the user has defined, instead of requiring the use of the system file dialogue to navigate through the a deep directory structure to find the desired folder. This would probably make it feasible for me to only have one folder open at a time, since I could quickly switch to my other folders that contain Markdown projects.

  12. brainchild0 commented on Feb 11, 2021

    @brainchild0
    Contributor

    @geckolinux : QownNotes has a feature called "Notes folders". Is your suggestion to include a similar feature in Mark Text?

  13. geckolinux commented on Feb 11, 2021

    @geckolinux

    @brainchild0 That's approximately the idea, yes.

  14. brainchild0 commented on Feb 11, 2021

    @brainchild0
    Contributor

    @geckolinux: It seems that the model for managing files employed in QOwnNotes is different from most applications, in that it lacks a feature for opening an arbitrary file from the system file tree. It seems unlikely that this model would be adopted into Mark Text without being integrated with the normal feature of simply opening a file. Perhaps it is best to consider how you think this integration might look best.

  15. 18 remaining items

  16. geckolinux commented on May 10, 2021

    @geckolinux

    @brainchild0 Yes I noticed that development was pretty steady until the last release at the end of last year, since then it seems to have died out. I hope this project keeps going, it's really an excellent piece of software.

  17. Redsandro commented on May 10, 2021

    @Redsandro

    it could happen, especially if someone submits a contribution.

    Now that you mention it, I'm slightly disentranced to learn that there are 20 PRs pending since late last year. Even if I can figure out how to fix the symlink thing and use that as a workaround, the PR might not get merged in a while. 😅

  18. brainchild0 commented on May 10, 2021

    @brainchild0
    Contributor

    I'm sure any contribution would be welcome, particularly one fixing an open issue. Having a stack of PRs to review is a much easier position for a maintainer than having a stack of issues with no proposed merges.

  19. Redsandro commented on May 11, 2021

    @Redsandro

    Since I am in the process of moving to a different note taking app and haven't settled on something yet, I decided that it's not worth waiting for a feature that I deem relatively crucial for my use case when development seems to be stalled and there are some serious alternatives.

    Mark Text is definitely the prettiest so that's hard to replace. But I'm moving to Zettlr. It has exactly what this issue describes: The ability to add multiple directories (called Workspaces).

  20. geckolinux commented on May 11, 2021

    @geckolinux

    But I'm moving to Zettlr. It has exactly what this issue describes: The ability to add multiple directories (called Workspaces).

    Interesting option, but unfortunately it doesn't meet my needs:

    • Doesn't allow for creating ordered lists directly below another line as with many other versions of Markdown.
    • Tab for indented list items works, but there's no way to back to the un-indented level without manually clicking and deleting, and strangely they are spaces and not tabs.
    • Export to PDF required LaTex, which is far far far too bloated for me and my system.
  21. Redsandro commented on May 11, 2021

    @Redsandro

    there's no way to back to the un-indented level

    Shift+tab works for me.

    ordered lists directly below another line

    image

    PDF required LaTex

    Only if you use LaTex. For simple things you can print to PDF.


    I have tried many, many editors. They all - without exception - leave at least a couple of things to be desired for. Frustratingly, there are apps that solve these shortcomings, but they have other shortcomings.

    All you can do is list in order what you find most important and see what apps tick the most boxes in top of the list. I want my multiple directories more than I want the prettiest app. 😄

  22. added
    🦄 feature request
    on Dec 29, 2021
  23. brooke-yucx commented on Apr 8, 2022

    @brooke-yucx

    I am using Marktext to manage my notes written in markdown language. My notes consists of multiple folders scattered across different paths. Basically because some of the folders are shared with others and they cannot be put in a same parent directory due to the file sharing methods I am using.
    So I think it will be better if Marktext could open multiple folders in one window. In this way I could do the global search & replace in this "workspace" as I can do in VSCode.
    The main reason I want to stick to Marktext is WYSIWYG feature.

  24. tellmewhy12 commented on Apr 12, 2022

    @tellmewhy12

    Might also be nice for managing notes on a cloud drive and on pc on the same time

  25. brainchild0 commented on Apr 12, 2022

    @brainchild0
    Contributor

    I scanned have through the various comments, and I feel that some of the ideas support the use for multiple folders open at the same time in the application, but not as strongly in the same window. If various folders have separate meanings or categories of content, then a separate open window for each folder be adequate.

  26. samwh1te commented on Aug 5, 2023

    @samwh1te

    Multiple folders in one window would be amazing! The biggest thing missing for me from marktext right now

  27. self-assigned this
    on Oct 15, 2026
  28. added a commit that references this issue on Oct 21, 2026
  29. added a commit that references this issue on Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🦄 feature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions