How to show .js file under .ts file in VS Code?How do JavaScript closures work?How can I upload files asynchronously?How do I check if an element is hidden in jQuery?How do I remove a property from a JavaScript object?How do I redirect to another webpage?How do I include a JavaScript file in another JavaScript file?How to check whether a string contains a substring in JavaScript?How to decide when to use Node.js?How do I remove a particular element from an array in JavaScript?How do I return the response from an asynchronous call?

Given a specific computer system, is it possible to estimate the actual precise run time of a piece of Assembly code

Function of the separated, individual solar cells on Telstar 1 and 2? Why were they "special"?

Doesn't the concept of marginal utility speak to a cardinal utility function?

Datasets of Large Molecules

Was there an original & definitive use of alternate dimensions/realities in fiction?

How do I get my neighbour to stop disturbing with loud music?

Is it good practice to speed up and slow down where not written in a song?

How is the casino term "a high roller" commonly expressed in German?

Why is Mitch McConnell blocking nominees to the Federal Election Commission?

How secure are public hashed passwords (with a salt)?

D Scale Question

Killing task by name - start menu shortcut

How to have the "Restore Missing Files" function from Nautilus without installing Nautilus?

How does Query decide the order in which the functions are applied?

Could these polynomials be identified?

Cheap oscilloscope showing 16 MHz square wave

Using large parts of a research paper

When you have to wait for a short time

Could a simple hospital oxygen mask protect from aerosol poison?

Is there anything in the universe that cannot be compressed?

Why do modes sound so different, although they are basically the same as a mode of another scale?

What is the motivation behind designing a control stick that does not move?

Why wasn't Linda Hamilton in T3?

Fishing from underwater domes



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


How do JavaScript closures work?How can I upload files asynchronously?How do I check if an element is hidden in jQuery?How do I remove a property from a JavaScript object?How do I redirect to another webpage?How do I include a JavaScript file in another JavaScript file?How to check whether a string contains a substring in JavaScript?How to decide when to use Node.js?How do I remove a particular element from an array in JavaScript?How do I return the response from an asynchronous call?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















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 ?










share|improve this question
































    1















    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 ?










    share|improve this question




























      1












      1








      1








      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 ?










      share|improve this question
















      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 ?







      javascript reactjs typescript visual-studio-code web-frontend






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 28 at 0:23









      N8888

      5932 gold badges8 silver badges17 bronze badges




      5932 gold badges8 silver badges17 bronze badges










      asked Jul 4 '18 at 16:56









      Farooq HanifFarooq Hanif

      7645 silver badges14 bronze badges




      7645 silver badges14 bronze badges

























          2 Answers
          2






          active

          oldest

          votes


















          1















          I'm a VSCode Typescript user. I've never seen that feature is available in VSCode. One thing that I usually do is to hide its javascript files on the sidebar.




          "files.exclude":
          "**/.git": true,
          "**/.DS_Store": true,
          "**/*.js": "when": "$(basename).ts"







          share|improve this answer
































            1















            I had a tsconfig file in my application's folder, in which



            "outDir": "build/dist" 


            was causing generated files to go into build/dist folder. Removing this for tsconfig.json file will place generated files along with original .ts files in VS Code.






            share|improve this answer





























              Your Answer






              StackExchange.ifUsing("editor", function ()
              StackExchange.using("externalEditor", function ()
              StackExchange.using("snippets", function ()
              StackExchange.snippets.init();
              );
              );
              , "code-snippets");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "1"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51178204%2fhow-to-show-js-file-under-ts-file-in-vs-code%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1















              I'm a VSCode Typescript user. I've never seen that feature is available in VSCode. One thing that I usually do is to hide its javascript files on the sidebar.




              "files.exclude":
              "**/.git": true,
              "**/.DS_Store": true,
              "**/*.js": "when": "$(basename).ts"







              share|improve this answer





























                1















                I'm a VSCode Typescript user. I've never seen that feature is available in VSCode. One thing that I usually do is to hide its javascript files on the sidebar.




                "files.exclude":
                "**/.git": true,
                "**/.DS_Store": true,
                "**/*.js": "when": "$(basename).ts"







                share|improve this answer



























                  1














                  1










                  1









                  I'm a VSCode Typescript user. I've never seen that feature is available in VSCode. One thing that I usually do is to hide its javascript files on the sidebar.




                  "files.exclude":
                  "**/.git": true,
                  "**/.DS_Store": true,
                  "**/*.js": "when": "$(basename).ts"







                  share|improve this answer













                  I'm a VSCode Typescript user. I've never seen that feature is available in VSCode. One thing that I usually do is to hide its javascript files on the sidebar.




                  "files.exclude":
                  "**/.git": true,
                  "**/.DS_Store": true,
                  "**/*.js": "when": "$(basename).ts"








                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 4 '18 at 22:23









                  deerawandeerawan

                  3,4534 gold badges17 silver badges29 bronze badges




                  3,4534 gold badges17 silver badges29 bronze badges


























                      1















                      I had a tsconfig file in my application's folder, in which



                      "outDir": "build/dist" 


                      was causing generated files to go into build/dist folder. Removing this for tsconfig.json file will place generated files along with original .ts files in VS Code.






                      share|improve this answer































                        1















                        I had a tsconfig file in my application's folder, in which



                        "outDir": "build/dist" 


                        was causing generated files to go into build/dist folder. Removing this for tsconfig.json file will place generated files along with original .ts files in VS Code.






                        share|improve this answer





























                          1














                          1










                          1









                          I had a tsconfig file in my application's folder, in which



                          "outDir": "build/dist" 


                          was causing generated files to go into build/dist folder. Removing this for tsconfig.json file will place generated files along with original .ts files in VS Code.






                          share|improve this answer















                          I had a tsconfig file in my application's folder, in which



                          "outDir": "build/dist" 


                          was causing generated files to go into build/dist folder. Removing this for tsconfig.json file will place generated files along with original .ts files in VS Code.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Jul 6 '18 at 14:09

























                          answered Jul 5 '18 at 4:54









                          Farooq HanifFarooq Hanif

                          7645 silver badges14 bronze badges




                          7645 silver badges14 bronze badges






























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51178204%2fhow-to-show-js-file-under-ts-file-in-vs-code%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                              Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                              Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript