guopenghui / obsidian-quiet-outline

Improving experience of outline in Obsidian
MIT License
316 stars 17 forks source link

[Feature request] add to show full name of the heading when hovering over it #18

Closed Archie-2021 closed 1 year ago

Archie-2021 commented 2 years ago

This is a very basic feature needed, I wonder why nobody complains about it , it is very annoying for me

thank you

guopenghui commented 2 years ago

Can you offer some image examples? Every heading displays its full name in my outline:

image

Archie-2021 commented 2 years ago

Can you offer some image examples? Every heading displays its full name in my outline:

image

i think it is because all your headings are too short so have no problem, here one example:

image

guopenghui commented 2 years ago

I guess it's because you use _ instead of white space so heading can't be breaked to words.

Maybe adding a CSS rule can solve this, I'll check it tomorrow.

Archie-2021 commented 2 years ago

I guess it's because you use _ instead of white space so heading can't be breaked to words.

Maybe adding a CSS rule can solve this, I'll check it tomorrow.

it is plausible explanation, i kinda like it to be each heading in every new line, multiline could be more confusing.

ryanwwest commented 1 year ago

I think this would be a good idea as well. For a slightly different reason why this would be helpful, with the "Ellipsis (Keep one line per heading)" setting, it is hard to identify multiline headings (multiline because the long heading word wraps to fit in the pane) without hovering over them to see which lines belong to one heading:

image

On the line starting with "3GPP", it's still part of the above heading but I always forget. Maybe the plugin could be changed to indent additional lines to mitigate this, but that also takes up more vertical space so I'd also prefer to be able to just have one-line headings with an option to display the full text on hover.

guopenghui commented 1 year ago

With Ellipsis mode, extra words should be hided and replaced as .... There should be no words wraped to next line.

Anyway, maybe this is the most preferable solution 🧐: image

ryanwwest commented 1 year ago

Ah you're right. I guess I meant that when Ellipsis mode is off, not on, the multiline effect occurs. Some sort of indent or other marker for additional lines of the same heading might still improve readability. But yes, something like that popup text on hover seems helpful for ellipsis mode.

guopenghui commented 1 year ago

0.3.13 supports this feature.

Archie-2021 commented 1 year ago

0.3.13 supports this feature.

Excellent, thank you