typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

File Navigator and open folder as workspace

Open mahdaen opened this issue 10 years ago • 44 comments

Add file navigation to the left panel. Maybe the left panel will contains Files | Outline. Opening file or folder will show the folder with the files on the left panel. Also add editor tabs, so opening file from the file navigator will open the file in new tab instead of new window.

Add formatting popup when selecting text on the editor to allow users format the selected text, like http://sofish.github.io/pen/

Thanks!

mahdaen avatar Feb 06 '16 23:02 mahdaen

I just sent an email about a similar feature request. Here's the relevant part of the email:

Add a means of navigating files from within the application. This feature will allow Typora to function as a better note taking environment rather than just a viewer/editor for individual markdown files. Evernote and OneNote provide this, but content is not stored using markdown so it is locked in a proprietary format. Applications like Ulysses, Write and Falcon provide note navigation and allow authoring in markdown, but they do not have the “live” markdown view offered by Typora. By offering some form of file browsing Typora could easily replace these applications for users that just want a capable note-taking environment that doesn’t lock them into a proprietary format. For folks like me who begrudgingly use Evernote because they haven’t found anything better, this would be a very welcome change.

jhildenbiddle avatar Mar 12 '16 17:03 jhildenbiddle

Totally agreed, a file tree panel would be a terrific improvement! This is the main feature needed to make Typora a superb note-taking application in my view.

robeady avatar Mar 31 '16 02:03 robeady

Not only for note taking, but for larger writing projects also. Strongly in favour of this one. My suggestion at #45.

waahto avatar Apr 04 '16 08:04 waahto

Maybe I don't understand the use case, but I can't imagine Typora matching the functionality in Finder, let alone PathFinder, or any mind map. I can run Typora flawlessly with any of them, because Typora likes to run in an uncluttered, desktop window.

Markdown = text, meaning not proprietary. I prefer tools sets supported by multiple, single function apps. I avoid nasty, behemoth applications that take files for ransom, and attempt everything, especially on a desktop. OSX = Unix, and Unix offers many small tools that work well together, or at least it does at the $ prompt.

If Typora could accept a folder, or a drop stack of files, or parse OPML, it could offer something useful, and play well with everything else. If it tries to outdo PathFinder or even Finder, it will probably fail.

Drop stack apps do, or at least should, share file lists across desktops, and even devices, assuming all the files are accessible. Perhaps Typora could do something similar. Consider Yoink for instance, although I don't think it sync's across devices. It's in the app store. I paid for a copy, and have zero relationship with them. I just use it alongside Typora, and find it works extremely well.

prefersC avatar Apr 05 '16 05:04 prefersC

@prefersC Major text/code editors support file navigator (e.g: Brackets, Atom, Sublime Text, etc). It's help us quickly switch to another files (inside project folder) without switching to other apps. It's not Finder, it's just a file navigator to allow us to open folder and then files or subfolders list will available on the sidebar.

mahdaen avatar Apr 05 '16 09:04 mahdaen

I guess I don’t distinguish between another app, or another window. I can’t really tell myself. 

Finder works great for displaying a list of files, especially if you hide all the nonsense. Path Finder works even better, with cool folder slide-outs, and other stuff, and opens files with a single click. I suggest changing double click behavior inside system preferences for your titlebars to minimize, instead of maximize. Don’t let your apps get too greedy, and make it easier for yourself, so you can always use the right tool.

Most Finder replacements have multiple file search and replace functions, often with regex, track recently changed documents, and so on. I have no relationship with any of these products, but I just can’t imagine Typora coming up with something cooler, or more functional, than current offerings. There’s no point really. It’s been done, and it’s a competitive area. 

I understand what you’re saying, but I honestly never use those cheesy things in apps like Atom, Ulysses, and the like. Why would anybody? I can click on the window of another app just as easily as I can click on a window in the same app. Zero difference.

I think you probably have an awesome solution already. You just need to configure it.

On Apr 5, 2016, at 3:34 AM, Nanang Mahdaen El Agung [email protected] wrote:

@prefersC Major text/code editors support file navigator (e.g: Brackets, Atom, Sublime Text, etc). It's help us quickly switch to another files (inside project folder) without switching to other apps. It's not Finder, it's just a file navigator to allow us to open folder and then files or subfolders list will available on the sidebar.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub

prefersC avatar Apr 05 '16 09:04 prefersC

One further comment, pre-app store applications had to do everything, because nobody trusted anything, and apps were hard to find.

That changed.

Atom is old.

On Apr 5, 2016, at 3:34 AM, Nanang Mahdaen El Agung [email protected] wrote:

@prefersC Major text/code editors support file navigator (e.g: Brackets, Atom, Sublime Text, etc). It's help us quickly switch to another files (inside project folder) without switching to other apps. It's not Finder, it's just a file navigator to allow us to open folder and then files or subfolders list will available on the sidebar.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub

prefersC avatar Apr 05 '16 10:04 prefersC

Well, I use markdown to write documentations of my projects. I use WebStorm to write code, and obviously it has a markdown plugin. I try Typora because it has a cool feature (Live Preview) which I hope it allows me to work with multiple files in a single window.

I (not sure with most developers) chose to use CMD+] to switch between tabs instead using click click, thats why I prefer Typora to support File Navigator and Tabs. I don't like when my 4K display is full with Typora and Finder window (omg!) because I use 4K display to allow me to put Terminal, WebStorm, Slack, AirMail, and Chrome together.

So, who will use Typora? Writers? Not sure since Pages and Google Docs is exist. Developers? Not sure if they're comfortable with multiple Typora windows, and force them to use CMD+O and click click to open another markdown files.

File navigator and tabs feature is only a small piece, and it wont makes the Typora become a 1GB app.

mahdaen avatar Apr 05 '16 10:04 mahdaen

Maybe so then.

I am a writer that works on massive a texts, and an old developer that still codes. I have a wall of screens but I never have more that a couple Typora windows open at any one time. I use a memory map. Everything is super easy to find. Source, text, images, whatever I click pops me in an editor. I close the windows when I'm done, or kind of done. I rarely look at 'files'. Only notated topics.

I let makefiles, or near enough, feed pandoc, gcc, whatever.

Different workflow I guess.

On Apr 5, 2016, at 4:49 AM, Nanang Mahdaen El Agung [email protected] wrote:

Well, I use markdown to write documentations of my projects. I use WebStorm to write code, and obviously it has a markdown plugin. I try Typora because it has a cool feature (Live Preview) which I hope it allows me to work with multiple files in a single window.

I (not sure with most developers) chose to use CMD+] to switch between tabs instead using click click, thats why I prefer Typora to support File Navigator and Tabs. I don't like when my 4K display is full with Typora and Finder window (omg!) because I use 4K display to allow me to put Terminal, WebStorm, Slack, AirMail, and Chrome together.

So, who will use Typora? Writers? Not sure since Pages and Google Docs is exist. Developers? Not sure if they're comfortable with multiple Typora windows, and force them to use CMD+O and click click to open another markdown files.

File navigator and tabs feature is only a small piece, and it wont makes the Typora become a 1GB app.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub

prefersC avatar Apr 05 '16 12:04 prefersC

Meant, I use a mind map. Not a memory map. I don't know what that is.

On Apr 5, 2016, at 6:17 AM, Daniel Opperman [email protected] wrote:

Maybe so then.

I am a writer that works on massive a texts, and an old developer that still codes. I have a wall of screens but I never have more that a couple Typora windows open at any one time. I use a memory map. Everything is super easy to find. Source, text, images, whatever I click pops me in an editor. I close the windows when I'm done, or kind of done. I rarely look at 'files'. Only notated topics.

I let makefiles, or near enough, feed pandoc, gcc, whatever.

Different workflow I guess.

On Apr 5, 2016, at 4:49 AM, Nanang Mahdaen El Agung [email protected] wrote:

Well, I use markdown to write documentations of my projects. I use WebStorm to write code, and obviously it has a markdown plugin. I try Typora because it has a cool feature (Live Preview) which I hope it allows me to work with multiple files in a single window.

I (not sure with most developers) chose to use CMD+] to switch between tabs instead using click click, thats why I prefer Typora to support File Navigator and Tabs. I don't like when my 4K display is full with Typora and Finder window (omg!) because I use 4K display to allow me to put Terminal, WebStorm, Slack, AirMail, and Chrome together.

So, who will use Typora? Writers? Not sure since Pages and Google Docs is exist. Developers? Not sure if they're comfortable with multiple Typora windows, and force them to use CMD+O and click click to open another markdown files.

File navigator and tabs feature is only a small piece, and it wont makes the Typora become a 1GB app.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub

prefersC avatar Apr 05 '16 12:04 prefersC

:D yep, mind map.

Well, feature is something that some peoples need it, and some peoples don't need it. When feature exist, peoples who don't need it can simply hide/disable the feature. But if the feature is not exist, what the peoples who need it can do? They only can ask the developer, or find another apps. Just opinion ;)

mahdaen avatar Apr 05 '16 13:04 mahdaen

You are absolutely right. I imagine they'll add something, just because everybody else has something, at it wouldn't bother me at all.

On Apr 5, 2016, at 7:01 AM, Nanang Mahdaen El Agung [email protected] wrote:

:D yep, mind map.

Well, feature is something that some peoples need it, and some peoples don't need it. When feature exist, peoples who don't need it can simply hide/disable the feature. But if the feature is not exist, what the peoples who need it can do? They only can ask the developer, or find another apps. Just opinion ;)

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub

prefersC avatar Apr 05 '16 13:04 prefersC

If finder/windows explorer (please remember typora is cross-platform) is sufficient then should the file->open dialog be removed as well?

For me, including a simple file tree browser would mean I don't need to go hunting through my open Explorer windows whenever I want to switch to another note in my notebook folder. Plus it would save relaunching the application every time, which is quite slow because typora is a web app.

I think this would require a tabbed interface for multiple open documents to really work, though.

robeady avatar Apr 05 '16 13:04 robeady

Perhaps the concern is that simple is often misleading. A simple tree that just opens files? Renames them? Copies them? Moves? Deletes? Sorts? Then what?

From what I've see in Typora, it's unlikely the developers would want to add something, only to leave it wanting.

No doubt, they would create something that's entirely optional to use, and I wouldn't use it, so I my comments really don't help this conversation very much.

On Apr 5, 2016, at 7:09 AM, rjeady [email protected] wrote:

If finder/windows explorer (please remember typora is cross-platform) is sufficient then should the file->open dialog be removed as well?

For me, including a simple file tree browser would mean I don't need to go hunting through my open Explorer windows whenever I want to switch to another note in my notebook folder. Plus it would save relaunching the application every time, which is quite slow because typora is a web app.

I think this would require a tabbed interface for multiple open documents to really work, though.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub

prefersC avatar Apr 05 '16 16:04 prefersC

$0.02:

Agreed that a file/folder navigator within Typora does not need to recreate the functionality of Finder.

As @prefersC mentioned:

I prefer tools sets supported by multiple, single function apps. I avoid nasty, behemoth applications that take files for ransom

Agreed. My desire for a file/folder navigator within Typora is specifically to allow me to abandon Evernote: an application that does way more than I need and stores my notes in a proprietary format. I frequently reference multiple notes while writing (file navigation) and I group my notes by subject matter (folder navigation). Typora addresses the proprietary format issues be storing data as Markdown, but the lack of a file/folder navigator makes referencing other files a laborious multi-window affair. Consider an application like Sublime Text (or any other text-editor used for development) and imagine having to manage separate windows for each file you're working with or need to reference along with one or more Finder windows to manage those files. Ugh.

What I would like to see is a "good enough" implementation that simply allows me to remain within the Typora writing environment. Here is my proposal:

  • Provide access to the file/folder navigator in the same location as the Table of Contents panel
  • Allow the navigator to be pinned to the left/right side
  • Allow the Table of Content panel to be pinned to the left/right side
  • Selecting a file in the navigator will load the document into the main view (single left-click)
  • Documents with unsaved changes will display a small indicator next to the file name in the navigator.
  • Each document maintains its own undo/redo state
  • Right-clicking a file/folder in the navigator will display a context menu with basic file operators (rename, delete, duplicate)
  • Allow drag-and-drop for document organization
  • Allow creating new files and folders from within the navigator

This implementation intentionally removes the need for a tabbed interface. The idea is to allow multiple files to be open at one time (indicated visually within the navigator) while maintaining a clean single-window writing environment. I can replace Evernote by creating a single directory in Dropbox (or Google Drive, OneDrive, etc.) and storing all of my markdown files within it.

Equally important: For those who like Typora uncluttered without a navigator, you'll never notice the difference since the navigator is easily hidden (just like the TOC panel).

jhildenbiddle avatar Apr 05 '16 18:04 jhildenbiddle

I’ll take one more stab at this, because I think it's helpful.

I suggest  anyone that works on projects with lots of files, to structure their projects in a mind map. It's easy, only takes a day to setup, and uses OPML, so you can always switch tools later if you want, and not lose any work. Open standards rock!

The other advantage, on a single map, you can easily access numerous projects, including all the details.

Setting up a mind map basically consists of creating a topic/node, giving it the name of your project, then adding child topics/nodes, and dragging/dropping, or cmd+K to attach a file.

Once it's setup, you can expand, collapse, navigate, and so forth. You are no longer obligated to view your thoughts as files in a tree structure. You can create loops, add callouts, attach notes, synopsis, images, any kind of link.

Think of it as a project manager. Think of OPML as a project file. Then go get an OPML editor.

Like John said, that's my $0.02 as well. Now I'm done.

On Apr 5, 2016, at 12:30 PM, John Hildenbiddle [email protected] wrote:

$0.02:

Agreed that a file/folder navigator within Typora does not need to recreate the functionality of Finder.

As @prefersC mentioned:

I prefer tools sets supported by multiple, single function apps. I avoid nasty, behemoth applications that take files for ransom

Agreed. My desire for a file/folder navigator within Typora is specifically to allow me to abandon Evernote: an application that does way more than I need and stores my notes in a proprietary format. I frequently reference multiple notes while writing (file navigation) and I group my notes by subject matter (folder navigation). Typora addresses the proprietary format issues be storing data as Markdown, but the lack of a file/folder navigator makes referencing other files a laborious multi-window affair. Consider an application like Sublime Text (or any other text-editor used for development) and imagine having to manage separate windows for each file you're working with or need to reference along with one or more Finder windows to manage those files. Ugh.

What I would like to see is a "good enough" implementation that simply allows me to remain within the Typora writing environment. Here is my proposal:

Provide acess to the file/folder navigator in the same location as the Table of Contents panel Allow the navigator to be pinned to the left/right side Allow the Table of Content panel to be pinned to the left/right side Selecting a file in the navigator will load the document into the main view (single left-click) Documents with unsaved changes will display a small indicator next to the file name in the navigator. Each document maintains its own undo/redo state Right-clicking a file/folder in the navigator will display a context menu with basic file operators (rename, delete, duplicate)

This implementation intentionally removes the need for a tabbed interface. The idea is to allow multiple files to be open at one time (indicated visually within the navigator) while maintaining a clean single-window writing environment. For those that like Typora as-is, you'll never notice the difference.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub

prefersC avatar Apr 05 '16 18:04 prefersC

File tree panel +1

numbcoder avatar Apr 20 '16 10:04 numbcoder

@prefersC I agree w/ you about not wanting applications taking over files, but take a look at what lightpaper does. It's a tabbed ui and a "project" manager allowing adding folders to the sidebar nav. All it does is proxy the filesystem for easy access.

n3bulous avatar Jul 12 '16 21:07 n3bulous

It really comes down to how important it is for Typora to be a project editor as opposed to a single file editor.

I agree that for multi-document writing projects this would be useful, but since there is a work-around (native file browser), it is more important that Typora becomes rock solid and more feature complete as a markdown text editor first.

vassudanagunta avatar Jul 14 '16 02:07 vassudanagunta

Another possibility is for Typora to become available as a plugin for Atom, obviating the need for its own file browser. This might also address much of the need for issue #162. Since Typora, I believe, is also written in Javascript, this should be possible. @abnerlee is it possible?

vassudanagunta avatar Jul 14 '16 02:07 vassudanagunta