question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`HTML` icon broken/missing

See original GitHub issue

After the latest update, 4.2.0, the new svg version of the html icon doesn’t appear and instead defaults to the fallback “white-paper” icon.

Screenshot

2016-12-19 10_34_54-pick-list-input html - omneo-ui - visual studio code

VS Code info

Version: 1.8.0 Commit: 38746938a4ab94f2f57d9e1309c51fd6fb37553d Date: 2016-12-13T17:45:32.595Z Shell: 1.4.6 Renderer: 53.0.2785.143 Node: 6.5.0 Windows Version: 7 Enterprise SP1

DOM

<div class="monaco-icon-label file-icon index-name-file-icon html-ext-file-icon polymer-lang-file-icon explorer-item" title="C:\Repos\omneo-ui\app\index.html">
    <a class="label-name">index.html</a>
    <span class="label-description empty"></span>
</div>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
JonathanWolfecommented, Dec 19, 2016

Figured it out @robertohuertasm. The language ID is overriding the extension icon but the fallback order for a missing icon is wrong.

Since I’m using language-polymer and associate all HTML files to that type, it’s trying to give it that icon (but there isn’t one), and instead of falling back to the extension, it falls back to the default icon.

"files.associations": {
    "*.html": "polymer",
    ".*rc": "json",
},
1reaction
JonathanWolfecommented, Dec 19, 2016

Just updated the issue with all that info, actually.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to hide image broken Icon using only CSS/HTML?
There is no way for CSS/HTML to know if the image is broken link, so you are going to have to use JavaScript...
Read more >
Icons broken/missing on Firewall config page - Discussions
The icons on the Firewall page are suddenly broken. Any suggestions? This thread was automatically locked due to age.
Read more >
Broken/Missing Vendor Icon - Forum - SolarWinds THWACK
Broken/Missing Vendor Icon ... FYI: The Packeteer vendor Icon appears to be missing or broken. ... The device Icon for my Sofaware equipment...
Read more >
773 - Broken/missing/not found images should display ALT text
This is NOT the correct behavior, according to the HTML ... Instead, Chrome displays the "missing image" icon with no text at all....
Read more >
42364 - Broken/missing image icon not displayed - Bugzilla@Mozilla
Product: Core ▾. Core. Shared components used by Firefox and other Mozilla software, including handling of Web content; Gecko, HTML, CSS, layout, DOM,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found