Hey there, I’ve been using ST2 for a while now and it’s by far the best application around! I know how amazingly customisable it is so I was wondering if this was possible and how to go about it.
So when I compile code (Using the Pawn compiler) I get errors/warnings that look like this:
E:\Games\Projects\SA-MP\ScavengeSurvive\gamemodes\../scripts/Items/timebomb.pwn(3) : error <error number>: <error name>
Or
<directory>(<line number>) : <error number> : <error description>
And I was wondering, could I somehow turn that first part (I’m sure I could isolate/identify the first part with something like SSCANF or RegEx) into a link to that file? So I can just double or single click that part of the error to jump straight to that file (“E:\Games\Projects\SA-MP\ScavengeSurvive\gamemodes…/scripts/Items/timebomb.pwn”) and that line (3)?
My files are included using “…/scripts/Folder/File” so I assume the “…/” would work fine with opening files etc. I can easily change to using backslashes too if need be.
How would I go about this? I haven’t really delved into plugin development for this application yet but I would give it a try if someone would let me know what kind of level of difficulty something like this would be (I’ve been coding C/Pawn for about 3 years)
Thanks in advance for any help!