Bug 251983 - Enable jump to error for output from external scripts
Summary: Enable jump to error for output from external scripts
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Output Views (show other bugs)
Version: 4.0.80
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-21 22:23 UTC by Martin Fuhrer
Modified: 2018-03-25 22:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Output from External Script (160.92 KB, image/png)
2010-09-21 22:23 UTC, Martin Fuhrer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fuhrer 2010-09-21 22:23:33 UTC
Created attachment 51868 [details]
Output from External Script

Version:           4.0.80 (using KDE 4.4.6) 
OS:                Linux

I am using the external script plugin to compile source files using a custom build script provided by my company. I notice that output from the external script is sent to the “Run” tool view. If the script is compiling code and generates compile errors, clicking on the errors in the Run tool view won’t send me to the problematic line in the source code. It would be useful to enable jump to error functionality for this output.

Two possible approaches are:
* Send external script output to the “Build” tool view, where clicking on errors already jumps to the relevant line of code.
* Implement jump to error functionality in the “Run” tool view.


Reproducible: Always

Steps to Reproduce:
1. Create an external script for compiling code.
2. Click the script to run it on some problematic code files you are editing.
3. Click on a compile error (or warning) in the output in the "Run" tool view.

Actual Results:  
Nothing happens.

Expected Results:  
The file corresponding to the error/warning should be opened, and the cursor placed at the problematic line.  

Attached image demonstrates my request. When I click on the compile error (HorizonUnitTest.cpp:38 error...) in the "Run" tool view, I would like the file HorizonUnitTest.cpp to open and the cursor to be positioned on line 38. Currently this does not happen.
Comment 1 Milian Wolff 2010-09-21 23:03:57 UTC
true, I have to investigate how to implement this properly without duplicating code. Hope to get it into 4.2.
Comment 2 Christos Gourdoupis 2011-10-22 23:48:40 UTC
Are we speaking about the Custom Buildsystem plugin?
Because it has the same problem at 4.2+
I hope it gets done soon.
Comment 3 Christos Gourdoupis 2013-06-13 21:32:43 UTC
In case someone wonders, this bug is still valid.
Comment 4 Christos Gourdoupis 2013-06-28 23:40:49 UTC
I am retracting all my comments in this bug report. My problem was irrelevant. I am sorry.
Comment 5 Kevin Funk 2018-03-25 22:41:21 UTC
I think this should work nowadays, please reopen if not.