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.

JS Icon is the React Icon?

See original GitHub issue
  • I’m sure this issue is not a duplicate

JS Icon is the React Icon?

Firstly, ❤️ the extension! Really like your work! 😄

Context

I got a prompt today that VSCode icons had updated, so I reloaded VSCode. However, it looks like the icon for .js files is now the React icon by default? (See screenshot below)

image

These files are pure JS files.

Wondering if this is expected behaviour or if the icons are wonky for .js files? 🤔

FYI - I’ve also tried the Toggle official JS Preset command.

🙂

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

17reactions
paul-vdcommented, Oct 1, 2019

@elefantelimpio, you may have changed your default settings?

if the problem is only relevant to your one project then check en the .vscode folder of the project and change the settings.json to read eg;

settings.json
{
  "files.associations": {
    "*.js": "javascript",
    "*.jsx": "javascriptreact",
    "*.ts": "typescript",
    "*.tsx": "typescriptreact"
  }
}

otherwise you can open up settings and search for associations then change that directly in your global settings

image

5reactions
JimiCcommented, Sep 20, 2017

@abinavseelan Check your settings (Workspace) there should be an entry there that associates the js extension to react. Probably, this is done by another extension you have installed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Icons
Include popular icons in your React projects easily with react-icons, which utilizes ES6 imports that allows you to include only the icons that...
Read more >
react-icons
Include popular icons in your React projects easily with react-icons , which utilizes ES6 imports that allows you to include only the icons...
Read more >
How to use react-icons to install Font Awesome in a ...
In App. · Go back to the React icons page and choose any icon from the Font Awesome icons · Click on the...
Read more >
React js Icons – Download for Free in PNG and SVG
Free React js icons in various UI design styles for web, mobile. Download static and animated React js vector icons for free in...
Read more >
React Icon
React icon in the Solid style. Make a bold statement in small sizes.. Available now in Font Awesome 6.
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