Jump to content

Multiple selective tsconfig.json


Fenopiù
 Share

Recommended Posts

I'm trying to understand how to setup my tsconfig configuration to work properly with Visual studio community 2017 and my project.

The structur of the project is:

root
    debug
         platformA
              fileX
              tsconfig.caseA.json
         platformB
              fileX
              tsconfig.caseB.json
         platformC
              fileX
              tsconfig.caseC.json
     release
         platformA
              fileX
              tsconfig.caseA.json
         platformB
              fileX
              tsconfig.caseB.json
         platformC
              fileX
              tsconfig.caseC.json
tsconfig.json

How can I do to let Visual studio understand what fileX read and give me his intellisense?

How can I tell him to compile tsconfig.json and then just the correct one of the other three tsconfig?

I've looked at the documentation https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#configuration-inheritance-with-extends but I didn't understand how to do that.

Can anyone help me, please?

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...