Closed travkin79 closed 2 months ago
I think a separate icon for header files is a good idea. I am not sure why we haven't it yet. However, all we need is an icon and return it here: org.eclipse.cdt.lsp.internal.editor.LspEditorFileImageDescriptor.getHeaderImageDescriptor()
Hi @ghentschke, Thank you for merging my last PR. Could you please also take a look at my last complementing PR #309 for this issue? Thank you.
As a C/C++ developer, I'd like to easily see which files are header files and which ones are C/C++ files. I suggest to introduce different icons for the following file extensions.
Currently, we're using the following icons using a "C". (For some reason, the header files use a simple C, while the .cpp files use a C++ icon.)
I think, we could add similar icons for header files with an "H" or introduce some other icons for all listed file extensions.
The classical C/C++ editor uses the following icons for my example.![image](https://github.com/eclipse-cdt/cdt-lsp/assets/10887297/83d3a807-dd36-4f9e-b7ea-1bdb7dc7df00)
In best case, these icons would be used in the navigator / explorer as well as in the editors, depending on the open file's extension.
This issue is related to #159.