Title: VS language service ignoring flags with exclude/files directives in tsconfig.json · Issue #7044 · microsoft/TypeScript · GitHub
Open Graph Title: VS language service ignoring flags with exclude/files directives in tsconfig.json · Issue #7044 · microsoft/TypeScript
X Title: VS language service ignoring flags with exclude/files directives in tsconfig.json · Issue #7044 · microsoft/TypeScript
Description: I am using 1.8 beta. I am also using aurelia framework inside an aspnet5 project. I have configured the module loader, SystemJS, to transpile my TS files. I do *not * want VS to build the TS files. I control this by using a tsconfig.json...
Open Graph Description: I am using 1.8 beta. I am also using aurelia framework inside an aspnet5 project. I have configured the module loader, SystemJS, to transpile my TS files. I do *not * want VS to build the TS files....
X Description: I am using 1.8 beta. I am also using aurelia framework inside an aspnet5 project. I have configured the module loader, SystemJS, to transpile my TS files. I do *not * want VS to build the TS files....
Opengraph URL: https://github.com/microsoft/TypeScript/issues/7044
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"VS language service ignoring flags with exclude/files directives in tsconfig.json","articleBody":"I am using 1.8 beta. I am also using aurelia framework inside an aspnet5 project. I have configured the module loader, SystemJS, to transpile my TS files. I do *_not *_ want VS to build the TS files. I control this by using a tsconfig.json in the root of the aspnet5 project, which excludes \"wwwroot\" (along with node_modules, jspm_packages) from compilation. Unfortunately, it appears this also prevents essential flags specified - such as \"experimentalDecorators\" in this file from being picked up by the language service for excluded folders/files. This gives me annoying red squigglies everywhere complaining that I should specify the flag. If I comment out the wwwroot exlcusion, the squigglies go away.\n\nTherefore, I suggest that the **exclude/files directives should only apply to the compiler pass** (they are under \"compilerOptions\" after all,) and not the ambient language service, **or you should add a distinct block for controlling the language service flags in tsconfig.json**, **or even use a separate tsserver.json file**. I need support for decorators in intellisense, but I have no intention of using the build process to compile. Make sense?\n","author":{"url":"https://github.com/oising","@type":"Person","name":"oising"},"datePublished":"2016-02-12T06:20:08Z","url":"https://github.com/microsoft/TypeScript/issues/7044"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1610ca11-d49c-c1b7-df40-0883324479e4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D902:321110:18CEA6:230954:6B046656 |
| html-safe-nonce | d7a2e91b89315df2f4c3d594fc12938bda3d02ef3e26ff3dad6f6fc6e1035b75 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTAyOjMyMTExMDoxOENFQTY6MjMwOTU0OjZCMDQ2NjU2IiwidmlzaXRvcl9pZCI6IjM1ODE0Mjk0NjQ0ODk1NTE0NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0606a7fdfa73fe0ed9ce6d7c40d8e947389c44dcd3c5a239660158f9932311b6 |
| hovercard-subject-tag | issue:133166492 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/7044/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c4c15ab8d2c8347f7f886ac49d0261a85494ddb89d11c78d77486af70f47e40b/microsoft/TypeScript/issues/7044 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c4c15ab8d2c8347f7f886ac49d0261a85494ddb89d11c78d77486af70f47e40b/microsoft/TypeScript/issues/7044 |
| og:image:alt | I am using 1.8 beta. I am also using aurelia framework inside an aspnet5 project. I have configured the module loader, SystemJS, to transpile my TS files. I do *not * want VS to build the TS files.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | oising |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width