dnbard / brackets-documents-toolbar

Extension that adds new toolbar with a list of all open documents.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesnt show icons for JS, CSS files

ShashankaNataraj opened this issue · comments

Is there a fix planned for this? I see an empty area where the icon should be?

Provide more information about this issue:

  • check developer tools console for errors
  • provide name of files
  • show screenshots

My screen looks like this:
issue

panel.html and main.js dont have icons. Its the same thing with *.html and *.js files.

My developer tools looks like this:
console
The socket.io errors are due to another unrelated terminal extension.

Let me know if you need more info.

Still I cannot understand and reproduce this error. Please let me know if you manage to find what is wrong.
Check is CSS with icons was loaded correctly.

Maybe it's one of the other extensions I haven't taken a look yet, but I will try to disable all other extensions and debug a little and let you know what I find!

OK, I think I found the root of the problem, the background image for that icon reads:

url("file:///C:/Program%20Files%20(x86)/Brackets/dev/src/img/glyphicons-halflings.png")

I navigated to "file:///C:/Program%20Files%20(x86)/Brackets/" and dont see a "dev" folder there!

debugged

For .json files though, the entire icons shows up perfectly in the tabs, the dom markup is as follows for the correctly working icon:
icons

debugged2

I believe this works correctly because this is using font-awesome to specify the icon for the tab. The non-working part uses an image as an icon and fails...

Can we use font-awesome to render ALL icons instead of using it only for a few?

Nope we cannot use font awesome for all icons. And your investigation isn't correct.
This icon are using Pictonic font. And I think that it's not loaded in your system.

Ok, Im closing this issue now, as the issue was being caused by another malfunctioning extension: Terminal. As soon as I removed it, everything was back to normal again. Im able to see the icons in the tabs now! Thanks for the help!