-
-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support sub folders and multiple tsconfig files in one window #385
Comments
After thinking through it, it's impossible to do this. |
I stumbled over this issue as well as I was wondering why I kept getting experimentalDecorators warning over and over even so I added that to my tsconfig.json. Creating a "*.ts" file beside the vue file with the same code handled it correctly. I also found microsoft/vscode#3772 which explains the "same" issue on the "official TS" side and a comment from egamma from Microsoft stated that it is explicitly supported by vscode and should work. If that is vscode behaviour then I think vetur should also support it in the same way. However I can understand if there are technical reasons why this can't be implemented. |
@octref I'm using Your solution works perfect for me! |
@octref Are your views from 2017 still the same? "won't fix" ? You mentioned here microsoft/vscode#68343 (comment) that you need to revive this issue. @Minigugus provided a PR: #1734 that seems to address this issue. Mono repos are gaining popularity with lerna/yarn workspaces. VSCode's TS support seems to support non-root tsconfig files no problem in my other |
Info
Problem
tsconfig.json
is ignored if it isn't in the root of the vs code window.For example:
Reproducible Case
Based on this code it seems to me there is no support to do this currently
vetur/server/src/modes/script/serviceHost.ts
Line 69 in 4469760
https://github.com/Microsoft/TypeScript/blob/37b20ee670e9a89307b0e69960a2cbce104f93e5/src/compiler/program.ts#L8
The text was updated successfully, but these errors were encountered: