How to connect external tool to message window
I have an external tool and I would like to feed errors into the message window so they could be resolved by point and click. Does anyone know how to do that?
- Thomas Linder Puls
- VIP Member
- Posts: 1424
- Joined: 28 Feb 2000 0:01
Re: How to connect external tool to message window
A few questions about the external tool:
- Is the external tool a "command line" program?
- Do you intend to run the it from your vip program?
- Should all its output be written in the message window?
- Should the user be able to double click a line in the message window and then your program should do something based on the line that is clicked?
Regards Thomas Linder Puls
PDC
PDC
Re: How to connect external tool to message window
Thanks, Thomas.
The tool is a command line tool. It produces prolog code that is part of a project and was designed to be part of a make file. The log information goes to sysout which displays in the message window. I would also like to feed the Error Window so that errors can be corrected with a point and click as they are in a .pro file. Right now I use the Tools menu to run it because I don't see makefile support in V10. I tried writing to syserr but the message window doesn't seem to look there. I would appreciate any guidance on the makefile as well.
-Noah
The tool is a command line tool. It produces prolog code that is part of a project and was designed to be part of a make file. The log information goes to sysout which displays in the message window. I would also like to feed the Error Window so that errors can be corrected with a point and click as they are in a .pro file. Right now I use the Tools menu to run it because I don't see makefile support in V10. I tried writing to syserr but the message window doesn't seem to look there. I would appreciate any guidance on the makefile as well.
-Noah
- Thomas Linder Puls
- VIP Member
- Posts: 1424
- Joined: 28 Feb 2000 0:01
Re: How to connect external tool to message window
If I understand you correctly you will like to run your tool from the IDE.
To do this you should register it under Tools -> Configure Tools ...:
The output from the tool will come in the message window. But unfortunately we have never implemented the error jump facility you like.
I use the the following (somewhat annoying) method: I copy the lines with errors from the message window to the clipboard and then I press Shift+F2 (Go to Position on clipboard). If the error messages are in a suitable format you will be able to jump between them.
To do this you should register it under Tools -> Configure Tools ...:
The output from the tool will come in the message window. But unfortunately we have never implemented the error jump facility you like.
I use the the following (somewhat annoying) method: I copy the lines with errors from the message window to the clipboard and then I press Shift+F2 (Go to Position on clipboard). If the error messages are in a suitable format you will be able to jump between them.
Regards Thomas Linder Puls
PDC
PDC
Re: How to connect external tool to message window
Thanks. That's what I'm doing. Any way to use the make facility in the VDE?
- Thomas Linder Puls
- VIP Member
- Posts: 1424
- Joined: 28 Feb 2000 0:01
Re: How to connect external tool to message window
I forgot you had a follow-up question. In vip10 the only way you can use the make facility, is through the tools facility discussed above. Which means that you will have to press some tool-key before you press the build key.
Not helping you now; I can reveal that next version (10 + 1 -> vip11), will have the ability to attach pre-build pre-link and post-build scripts to the build process.
Not helping you now; I can reveal that next version (10 + 1 -> vip11), will have the ability to attach pre-build pre-link and post-build scripts to the build process.
- Attachments
-
- Pre-Build.png (54.62 KiB) Viewed 63309 times
Regards Thomas Linder Puls
PDC
PDC