Discussion:
Compilation errors window
Aleksey Midenkov
2017-01-26 10:41:11 UTC
Permalink
Where is compilation errors window (tool view)? Seems I can't find it.
Though I have Build and Problems windows and can cycle errors in Build
window, I don't have compilation errors tab in Problems window.
Aleix Pol
2017-01-26 12:37:27 UTC
Permalink
Post by Aleksey Midenkov
Where is compilation errors window (tool view)? Seems I can't find it.
Though I have Build and Problems windows and can cycle errors in Build
window, I don't have compilation errors tab in Problems window.
In the Build toolview you have the information you need.

Aleix
Aleksey Midenkov
2017-01-26 16:18:26 UTC
Permalink
Post by Aleix Pol
Post by Aleksey Midenkov
Where is compilation errors window (tool view)? Seems I can't find it.
Though I have Build and Problems windows and can cycle errors in Build
window, I don't have compilation errors tab in Problems window.
In the Build toolview you have the information you need.
Actually, not exactly. It is mixed with compiler output, so it is not
error list I need.
Post by Aleix Pol
Aleix
René J.V. Bertin
2017-01-26 17:13:12 UTC
Permalink
Post by Aleksey Midenkov
Actually, not exactly. It is mixed with compiler output, so it is not
error list I need.
You want compilation errors that do not come from the compiler? Where should they come from then?

R.
Aleksey Midenkov
2017-01-27 10:43:17 UTC
Permalink
Post by René J.V. Bertin
Post by Aleksey Midenkov
Actually, not exactly. It is mixed with compiler output, so it is not
error list I need.
You want compilation errors that do not come from the compiler? Where should they come from then?
Maybe I am too concise in my statements and not well understood? I
want compilation messages (errors, warnings and notes) be filtered out
and placed in separate error list. This list is expected to be the tab
in Problems window (Errors tab near Parser tab). Further it is
expected to filter out by severity, sort by text/location, group by
message text, etc. Can KDevelop do it?
Post by René J.V. Bertin
R.
René J.V. Bertin
2017-01-27 11:22:47 UTC
Permalink
Post by Aleksey Midenkov
Maybe I am too concise in my statements and not well understood? I
want compilation messages (errors, warnings and notes) be filtered out
and placed in separate error list. This list is expected to be the tab
in Problems window (Errors tab near Parser tab). Further it is
expected to filter out by severity, sort by text/location, group by
message text, etc. Can KDevelop do it?
The Problems tab shows output from the parser and from any supported analysers, tools you can run without (or before) doing an actual build. Given that the parser is based on Clang that already gives you most errors that compiler would give you.

I think that compilation errors should go into the build view. You have a point that the build output that this could be better organised.
Apple's Xcode gives a good example of what I'd like to see, which is very close to how results are displayed in the "Find/Replace in Files" toolview (but everything collapsed by default). You get just a list of the files that were compiled, with tiny counters showing the number of warnings and errors, and a thingy to uncollapse each line to show the actual compiler output.
But Xcode will use only handful of known compilers, so it has much more knowledge of the compiler output format that has to be parsed. KDevelop works with multiple build systems each of which work with just about any number of compilers and can add their own filtering of the output.

But: patches welcome, I presume :)

R.

Loading...