VisualStudio 2022 React+Asp.Net in 'import' enable Itellisense for all files in the folder (scss, css, etc)

Gen Pir 20 Reputation points
2024-02-01T09:28:35.97+00:00

I need in .jsx(.js) files when writing "import './some..... ' " so that a hint about all files in the folder appears here as it works in VS Code. I've seen a solution somewhere before, but now I can't find it. It seems there you have to add a jsconfig.json file with parameters. I tried, but 'scss' and 'css' files don't show up in the tooltip.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,404 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
827 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 24,891 Reputation points Microsoft Vendor
    2024-02-02T13:35:31.2733333+00:00

    Hello @Gen Pir ,

    Thank you for taking time to post this issue in Microsoft Q&A forum.

    Looks like IntelliSense doesn’t show all the file types, but .js file should be shown correctly.

    User's image

    I don’t think a jsconfig.json file can change the IntelliSense to show all the file types. I would suggest you submit a feedback ticket on our Developer Community – Visual Studio.

    Besides, please kindly check if any VS extensions meet your requirements, from VS Marketplace.

    Thanks for your understanding, have a nice day.

    Kind Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful