Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357018

Summary: "Languages" column in Paths&Symbols tab shows Content Type instead of language name
Product: [Tools] CDT Reporter: Andrew Gvozdev <angvoz.dev>
Component: cdt-buildAssignee: Andrew Gvozdev <angvoz.dev>
Status: RESOLVED FIXED QA Contact: Andrew Gvozdev <angvoz.dev>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: 8.1.0   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 275779    

Description Andrew Gvozdev CLA 2011-09-07 17:59:32 EDT
For a toolchain not defining explicitly language id in input type (such as XLC toolchain), Paths&Symbols back to content type name, so "C Source File" and "C++ Source File" are displayed. But a bigger issue is that language cannot be reliable determined as ICLanguageSetting.getLanguage() returns null and the content type name comes from ICLanguageSetting.getName() where content type is not the only source the name can be populated from.
Comment 1 Andrew Gvozdev CLA 2011-09-07 18:06:33 EDT
The issue can be fixed in InputType where language ID can be determined from content type after the other currently used methods failed.
Comment 2 Andrew Gvozdev CLA 2011-09-07 18:13:05 EDT
The fix committed on master.
Comment 3 CDT Genie CLA 2011-09-07 18:23:02 EDT
*** cdt git genie on behalf of Andrew Gvozdev ***

    bug 357018: Languages column in Paths&Symbols tab shows Content Type
    instead of language name

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=881fc3304be11d65c5a16319a4aa1b3b9e3e2795