openhab / openhab-vscode

VS Code extension for openHAB configuration files
https://marketplace.visualstudio.com/items?itemName=openhab.openhab
Eclipse Public License 2.0
159 stars 47 forks source link

Item and Thing Type icons are missing! #186

Closed JueBag closed 4 years ago

JueBag commented 4 years ago

I am missing the icons in front of the items and things when displaying them on the lefthand sidebar. See this screenshot: missingIcons Looking at the examples in the README I would expect icons like a folder (for groups) and specific ones for different item types in front of the text.

Confectrician commented 4 years ago

Loading is tried, but files are not found.

image

Confectrician commented 4 years ago

The current master is working fine in debug mode. 🤷‍♂

image

Confectrician commented 4 years ago

I have found a possible solution.

This alpha should bring back icons for the things explorer on root level for testing purposes. oh_6.0.0_iconfix_alpha.zip

JueBag commented 4 years ago

I might be missing something but ... Deinstalled the openHAB extension and loaded the "oh_6.0.0_iconfix_alpha.vsix" without any change. I am not certain what is meant by "..on root level..", my error might be there.

[Edit:] Read your explanation in the forum post and understood. No, not even the icons on the root level for things do show.

[Edit2] Switching the ColourDesign away from Dark+(default) and restarting VSC did the trick!! Now ther root icons are displayed!

Confectrician commented 4 years ago

Did you switch it back again to the default design and did it work there too?

Generally a reload is alway useful for getting a fresh and cleared editor. You can do that easily with ctrl + shift + p for opening the command input and searching for "reload".

JueBag commented 4 years ago

Yes, I switched it back to DEFAULT and it works with this as well. Did the test on Ubuntu and windows, both the same!

Confectrician commented 4 years ago

OK, thanks for the feedback. I will prepare a fix for all occurences, where icons are generated.

JueBag commented 4 years ago

Thanks! Working!