isaaclyman / novel-word-count-obsidian

Obsidian plugin. Displays a word count or other statistic for each file, folder and vault in the File Explorer pane.
https://obsidian.md/plugins?id=novel-word-count
MIT License
82 stars 8 forks source link

Make Word counts on files right-aligned, as they already are on folders #6

Closed Gewerd-Strauss closed 2 years ago

Gewerd-Strauss commented 2 years ago

Hello,

might it be possible to right-align the wordcount on the files themselves like they are on folders as well? I believe it would make spotting it easier because they are all at a uniform position, instead of fuzzying up the file names themselves. Especially on a lot of files with different length names this can become irritating to jump around.

grafik grafik


SIncerely,
~Gw

isaaclyman commented 2 years ago

Word counts aren't supposed to be right-aligned on folders -- that's probably the result of a style conflict with a different plugin. I don't think it's a good idea to right-align all the counts, since folder/file names can extend beyond the right edge of the pane and that would result in all the counts being hidden.

isaaclyman commented 2 years ago

@Gewerd-Strauss I decided to add this as a setting. If you update to release 2.5.0, you can choose in the plugin settings whether data is inline, right-aligned, or below each file/folder name.

@eleanorkonik you may also find this useful for your super long file names.

Gewerd-Strauss commented 2 years ago

That's neat, and exactly what I was looking for. Thank you very much :)