Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show .js file under .ts file in VS Code?

I am using VS Code for an application in which I am using Reactjs and TypeScript. I have used

create-react-app-typescript

as a template to set up my project. Now when I run the build task from VS Code, I can see a build folder and the generated js files there as well as the generated source files.

I am wondering if I can see generated .js file under its .ts version in VS Code - like you can see those together in Visual Studio ?

like image 218
Farooq Hanif Avatar asked Jan 20 '26 14:01

Farooq Hanif


1 Answers

For anybody who finds this: There is (now) a built-in setting Explorer > File Nesting which does exactly this. You can also configure the pattern of nesting under Explorer > File Nesting: Patterns

like image 133
HerrMoriden Avatar answered Jan 23 '26 02:01

HerrMoriden