typora / typora-issues

Bugs, suggestions or free discussions about the minimal markdown editor — Typora
https://typora.io
1.53k stars 58 forks source link

Jump to heading #1591

Open gandalfsaxe opened 6 years ago

gandalfsaxe commented 6 years ago

I'd be wonderful to have a "Jump to heading..." feature, similar to "Quick open", just for headings within the document. Should use fuzzy search. See Caret for an excellent implementation.

Me using it in Caret:

gandalfsaxe commented 6 years ago

Also similar to "Go to Symbol in File..." in VSCode and equivalent in many other editors.

This is literally still the feature I miss the most :)

AlexPasternak commented 6 years ago

I agree that doesn't does sound very useful. However, @gandalfsaxe, your Caret link is broken in the original post, so may make it harder to see what you're requesting.

Edit: fixed meaning :-)

gandalfsaxe commented 6 years ago

@AlexPasternak Does or doesn't sound useful? 😄

I fixed the link and added a GIF showing it in use 🙂

DutchPete commented 6 years ago

Isn't this issue the same as a link to a header like so link text

gandalfsaxe commented 6 years ago

@DutchPete What do you mean? Linking to headers works fine in Typora.

DutchPete commented 6 years ago

@GandalfSaxe: yes, linking to headers works fine, I just discovered. But what is the difference with "Jump to heading..." that you have requested?

gandalfsaxe commented 6 years ago

I'm suggesting a searchbox where you can fuzzy search all the headers and jump to them instantly, basically instead of scrolling or "Find..." which will search ALL content, not just headers.

Linking to headers is entirely different because it's about linking content to navigate to a header. I'm talking about navigation only. See the GIF in the first post for an example of how it works.

DutchPete commented 6 years ago

OK GandalfSaxe, it's clear what you mean. Thank you.

Ciantic commented 5 years ago

Quick Outline

I just wanted to add a search keyword here 👍