Bug 579246 - link to source
Summary: link to source
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: Next   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-13 18:07 EDT by Charles Shoopak CLA
Modified: 2022-03-13 20:16 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Shoopak CLA 2022-03-13 18:07:22 EDT
Having to guess console output is part of core and not editor. Have been looking for ability of console output, such as log lines, to link to source. If already a feature, very well hidden. If not, is there a particular reason or great degree of difficulty it's not already implemented? If left out thus far, I'd be interested in working on it, if I could get some guidance. Background is java programmer, and some rather light experience with Eclipse framework doing a bit of coding on the application Knime, which is built on Eclipse. The python and Java Eclipse IDEs have no problem with this, and other C/C++ IDEs offer the feature as well. Is there some trick that I'm missing? 
cout<< __FILE__<<":"<<__LINE__<<" abracadabra? ";
Comment 1 Jonah Graham CLA 2022-03-13 20:16:58 EDT
Hi Charles,

Thank you for the feature request. I don't know if CDT support this built-in, but the Eclipse IDE is very extensible and there is a specific extension point to add this type of functionality: https://help.eclipse.org/latest/topic/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_debug_ui_consoleLineTrackers.html

If you are interested in perusing this I would be happy to guide you through the process.

Thank you!
Jonah