Skip to main content

Bug?/Request: linking doesn't work when linking to a non-default file type

Completed

Comments

2 comments

  • Fletcher Penney

    The "correct" way to link to a file is the full filename, including extension. If the extension is left out, then the default is used.  This is the only "foolproof" way to do it. 

    Otherwise, how could nvUltra know whether you intended to link to `file.txt`, `file.md`, or `file.myfavoriteextension` if more than one exists? Or more commonly, you could have a folder with `file.txt`, `file.png`, and `file.itmz` and nvUltra would have to guess which one was meant, or verify that only one possibility is a text file.

    If none of your links use extensions, and you use a wide range of plain text file extensions,  then the easiest solution would be change all the file extensions to be the same (e.g. `.md` or `.text` or whatever you use as your default within nvUltra.)

    0
  • David LaSpina

    Yes, I understand, like I said in my initial post. So the solution for me is to just go through all my notes and rename the extension. 

    As to how it would work... well, like nvALT I suppose, specify the extensions of text files to be recognized in the options menu, then match name only instead of extension. I wonder if you could add an option for this?

    But anyway, I am not complaining. I know how to mass rename files, so renaming everything with the same extension isn't that bad for me. But I am wondering about future users. I imagine a lot of nvALT users are like me... multiple file types in their folder (.txt, .md, .markdown, and so on), linking between them by name only, not including extension. Upgrading to nvUltra might give them the same hiccup. 

    0

Please sign in to leave a comment.

Powered by Zendesk