Title: ConfigFileDiagnosticEvent fires for files not selected by tsconfig · Issue #16635 · microsoft/TypeScript · GitHub
Open Graph Title: ConfigFileDiagnosticEvent fires for files not selected by tsconfig · Issue #16635 · microsoft/TypeScript
X Title: ConfigFileDiagnosticEvent fires for files not selected by tsconfig · Issue #16635 · microsoft/TypeScript
Description: TypeScript Version: 2.4.0 / nightly (2.5.0-dev.201xxxxx) Code Reproduction: https://github.com/krisselden/tsserver-config-file-diag-issue Basically if a tsconfig.json uses a include/exclude instead of files to select input, tsserver will...
Open Graph Description: TypeScript Version: 2.4.0 / nightly (2.5.0-dev.201xxxxx) Code Reproduction: https://github.com/krisselden/tsserver-config-file-diag-issue Basically if a tsconfig.json uses a include/exclude instead...
X Description: TypeScript Version: 2.4.0 / nightly (2.5.0-dev.201xxxxx) Code Reproduction: https://github.com/krisselden/tsserver-config-file-diag-issue Basically if a tsconfig.json uses a include/exclude instead...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/16635
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ConfigFileDiagnosticEvent fires for files not selected by tsconfig","articleBody":"**TypeScript Version:** 2.4.0 / nightly (2.5.0-dev.201xxxxx)\r\n\r\n**Code**\r\n\r\nReproduction:\r\nhttps://github.com/krisselden/tsserver-config-file-diag-issue\r\n\r\nBasically if a tsconfig.json uses a include/exclude instead of files to select input, tsserver will notify any change to a ts file in or below the directory containing the tsconfig even if not matched as input.\r\n\r\n**Expected behavior:**\r\nDon't fire the event for ts files that don't belong to the tsconfig.json file.\r\n\r\n**Actual behavior:**\r\nAny file ts file change emits this event.\r\n\r\nThis issue came to light due to a recent change in VS Code 1.13.0 which always opens the triggerFile for this event, causing the tsserver to create an implicit project for it since it doesn't belong to the actual project. Due to our build system staging files in tmp/ this causes tsserver to open a lot of files with the implicit project.\r\n\r\nhttps://github.com/Microsoft/vscode/commit/0d5c9f418b2c68dd87bffb8c481ebbb0022e9a41\r\n\r\n\r\n","author":{"url":"https://github.com/krisselden","@type":"Person","name":"krisselden"},"datePublished":"2017-06-20T05:09:03Z","url":"https://github.com/microsoft/TypeScript/issues/16635"}
| 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:5ef20df4-0d59-8f16-d994-2f9a834cec84 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 800C:237673:ABD593:E6E637:6B00F1C3 |
| html-safe-nonce | 30b0d1e0c19659e4e754f583f566be4f6d4a77b6e7166a01f264ad9bd0aa131e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDBDOjIzNzY3MzpBQkQ1OTM6RTZFNjM3OjZCMDBGMUMzIiwidmlzaXRvcl9pZCI6IjEyODMwMjY1ODg0Njc3ODYxNzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 02ba0753418ddc41686f27e02841dc759a1857ecfdaea08adcce830f4a54f8ee |
| hovercard-subject-tag | issue:237094120 |
| 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/16635/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c41350fe4b9a14beaa6722e83876fe4d5671ad7265bbd3cb5288dd533ff03754/microsoft/TypeScript/issues/16635 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c41350fe4b9a14beaa6722e83876fe4d5671ad7265bbd3cb5288dd533ff03754/microsoft/TypeScript/issues/16635 |
| og:image:alt | TypeScript Version: 2.4.0 / nightly (2.5.0-dev.201xxxxx) Code Reproduction: https://github.com/krisselden/tsserver-config-file-diag-issue Basically if a tsconfig.json uses a include/exclude instead... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | krisselden |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| 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 | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width