How do I link to another file?
Completed
Hi,
I have a txt file in my project which I use as a place to organise my thoughts. It would be massively helpful if I could put clickable links to other files from my project (most importantly unit tests) in it. Is such thing possible?
If it is not then what is the best way to navigate from a piece of code (or specification) to a relevant test?
I'm using NUnit but I can switch to something different.
Please sign in to leave a comment.
Absolutely.
You can use
///<seealso cref = "GetSomethingToo" />
or
///<seealso cref = "AnotherClass.GetSomethingToo" />
to link to another function in the same project, but I don't see a simple way of referring to files in other projects such as unit tests.
Even recognition of filenames with relative paths in comments would be great!
Hi, S18615!
Is this way work for you?
Hi, Jason!
Could you please give me a bit more info, in what cases do you want this? In XML documentation?
Thank you in advance!
Alexandra Guk I have some C# code that is generated from JSON files. I'd like to include a link in a comment that when clicked opens up the source JSON file. Is that possible?
Evans,
I cannot imagine how it can be done in Rider, sorry. I'd suggest you add a feature request to Rider issue tracker: https://youtrack.jetbrains.com/issues/RIDER