 bjornhi
Member
|
Hello!
I compile C files with Imagecraft from PN2. How do I create “external tool support with user-configurable output matching” for this compilor? I’ve done some testes, but can’t click on the error at all. Probably due to that PN thinks it’s a comment. Heres is a example of the out:
!E C:ElectronicsATMasterKlientCODEAT~1main.c(10): syntax error; found <' expecting ;’
Where main.c is the file and 10 is the line of error.
Please come with suggestions!
Bonus question: How do I call PN2 from prompt to open a file and go to a specific line?
Best regards
Björn
|
 bjornhi
Member
|
Okey, found the post about specific line thing. But still would like to know how to read the Imagecraft output.
|
 simon
Key Master
|
You need to set your tool to use a custom output parser and use the pattern:
!E %f(%l):
|