JavaScript file icons

Hi, 

My JavaScript file icons changed somehow. I believe I accidently clicked on some functionality. Could you please tell me what made the icon changed? I posted the screenshot of it below. 

9 comments
Comment actions Permalink

Hi there,

1. Does it affect just one file (with specific name) or ALL .js files or perhaps all files named index.js.

2. Focus that file in the Project View panel and invoke "View | Quick Documentation" on it (usually Ctrl+Q on Windows).

Post a screenshot of what it shows.

The thing is: you are using some custom theme (Material UI Theme I guess) and that is not a standard icon (I personally have never such it before; but then, I do not use Material UI Theme or like or custom icons plugins).

1
Comment actions Permalink

I just notice it is only showing this icon on index.js, so probably it's material icon for index.js. When I changed the file name to something.js, it starts showing normal .js icon again. Although I remember even index.js was showing the regular icon earlier. That's why I was thinking I pressed some wrong button. Anyway thank you for your help

0
Comment actions Permalink

so probably it's material icon for index.js

TBH -- rather unlikely.

Anyway: does everything else works fine inside the file (as it does in "something.js")?

0
Comment actions Permalink

Yes it works fine. I don't even see this icon in the material icon package 

https://plugins.jetbrains.com/plugin/10044-atom-material-icons

0
Comment actions Permalink

You may disable all such plugins, restart IDE and see what it will show then (using default/bundled icons).

It's up to you (if everything works...)

0
Comment actions Permalink

With default icons it show this .js icon. 

I disabled all the plugins and only left the material theme, it still shows the icon I posted on the first comment. Not sure from where it is coming if it's not even part of material icon package. I am reinstalling material icons. 

Edit: It is still here even after reinstalling material icons. Maybe I should reset the IDE. 

0
Comment actions Permalink

The above is the default icon for JavaScript files as far as I'm concerned.

Maybe I should reset the IDE.

Sure. Try that. It's "File | Manage IDE Settings...". Make a back up of IDE settings first (just in case)

0
Comment actions Permalink

Materia Theme UI plugin uses name patterns to assign icons to files and folders; it must have a special icon for index...

0
Comment actions Permalink

I reset the IDE and installed just the material theme and icons and this icon is still visible. So, I am sure that is part of the material icons.

0

Please sign in to leave a comment.