mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
bug 311429: Inconsistent showing of "Languages" in Paths&Symbols tab
This commit is contained in:
parent
ea00500725
commit
cc39535a4b
2 changed files with 8 additions and 3 deletions
|
@ -572,9 +572,10 @@
|
|||
name="%Option.Gnu.Assembler.version"
|
||||
id="gnu.both.asm.option.version"/>
|
||||
<inputType
|
||||
sourceContentType="org.eclipse.cdt.core.asmSource"
|
||||
sources="s,S"
|
||||
id="cdt.managedbuild.tool.gnu.assembler.input">
|
||||
id="cdt.managedbuild.tool.gnu.assembler.input"
|
||||
languageId="org.eclipse.cdt.core.assembly"
|
||||
sourceContentType="org.eclipse.cdt.core.asmSource"
|
||||
sources="s,S">
|
||||
</inputType>
|
||||
<outputType
|
||||
outputs="o"
|
||||
|
|
|
@ -396,6 +396,10 @@ public abstract class AbstractLangsListTab extends AbstractCPropertyTab {
|
|||
if ((langSetting.getSupportedEntryKinds() & getKind()) != 0) {
|
||||
TreeItem t = new TreeItem(langTree, SWT.NONE);
|
||||
String langId = langSetting.getLanguageId();
|
||||
if (langId==null && (langSetting instanceof MultiLanguageSetting)) {
|
||||
ICLanguageSetting item1 = (ICLanguageSetting) ((MultiLanguageSetting)langSetting).getItems()[0];
|
||||
langId = item1.getLanguageId();
|
||||
}
|
||||
if (langId != null && !langId.equals(EMPTY_STR)) {
|
||||
// Bug #178033: get language name via LangManager.
|
||||
ILanguageDescriptor langDes = LanguageManager.getInstance().getLanguageDescriptor(langId);
|
||||
|
|
Loading…
Add table
Reference in a new issue