You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]
Reacted by Chengke, Jerry Jacobs, Nitin Malik, GeckoLinux, Redsandro, ZacLanghorne, Lana, Rahul Pai, Luke, Brooke Yu and 6 more
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.
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?
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.
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.
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.
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.
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.
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.
@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.
@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.
@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.
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. 😅
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.
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).
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.
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. 😄
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.
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.
Activity
brainchild0 commentedon Jun 19, 2020
Is it adequate to keep each folder open in a separate window?
hmcts-jmoore commentedon Jun 22, 2020
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.
brainchild0 commentedon Jun 23, 2020
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?
hmcts-jmoore commentedon Jun 23, 2020
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.
brainchild0 commentedon Jun 23, 2020
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.
hmcts-jmoore commentedon Jul 3, 2020
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.
brainchild0 commentedon Jul 3, 2020
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.
geckolinux commentedon Feb 11, 2021
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.
brainchild0 commentedon Feb 11, 2021
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.
geckolinux commentedon Feb 11, 2021
@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.
brainchild0 commentedon Feb 11, 2021
@geckolinux : QownNotes has a feature called "Notes folders". Is your suggestion to include a similar feature in Mark Text?
geckolinux commentedon Feb 11, 2021
@brainchild0 That's approximately the idea, yes.
brainchild0 commentedon Feb 11, 2021
@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.
18 remaining items
geckolinux commentedon May 10, 2021
@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.
Redsandro commentedon May 10, 2021
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. 😅
brainchild0 commentedon May 10, 2021
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.
Redsandro commentedon May 11, 2021
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).
geckolinux commentedon May 11, 2021
Interesting option, but unfortunately it doesn't meet my needs:
Redsandro commentedon May 11, 2021
Shift+tab works for me.
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. 😄
brooke-yucx commentedon Apr 8, 2022
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.
tellmewhy12 commentedon Apr 12, 2022
Might also be nice for managing notes on a cloud drive and on pc on the same time
brainchild0 commentedon Apr 12, 2022
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.
samwh1te commentedon Aug 5, 2023
Multiple folders in one window would be amazing! The biggest thing missing for me from marktext right now
feat(sidebar): marktext#2222 manage and restore multiple folder roots (…
feat(search): #2222 search across sidebar folder roots (#5836)