Open relative links with right-click
-
I use Notepad++ to run input-files for an external program. In these input files I have a lot of referenced files, and it would be great to find a way to open these referenced files directly by clicking them. Is there any way to change Notepad++'s “Clickable Links” functionality so that it is able to recognize the file path in this line?:
incdf Y:\Global_input_files\Material_properties\CMPNS.inp
PS. I have tried some plugins without luck (QuickOpenPlugin and SourceCookifier)
Any help is much appreciated!
-
It is very difficult to detect paths in free text since paths can contain spaces. Such a feature would have a lot of false positives which would annoy users.
In this particular case where the format is known you could write a Python script which parses the line and opens the file. Then you could tie the script to a shortcut key.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login