We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15a92e9 commit c7fe851Copy full SHA for c7fe851
1 file changed
org.eclipse.lsp4e/src/org/eclipse/lsp4e/operations/symbols/internal/SymbolIconProviderRegistry.java
@@ -99,15 +99,15 @@ public static SymbolIconProvider getSymbolIconProviderFor(Object symbol) {
99
private SymbolIconProvider getIconProvider(Object symbol) {
100
URI uri = getUri(symbol);
101
if (uri == null) {
102
- return null;
+ return defaultIconProvider;
103
}
104
105
String fileName = null;
106
try {
107
fileName = Path.of(uri.getPath()).getFileName().toString();
108
} catch (Exception e) {
109
Platform.getLog(getClass()).warn("Failed to parse file name from URI " + uri, e); //$NON-NLS-1$
110
111
112
113
IContentType[] contentTypes = Platform.getContentTypeManager().findContentTypesFor(fileName);
0 commit comments