CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 00:36:34 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/microsoft/TypeScript.git
etag: W/"16977a04f1f66a1cd48c6300af32e6e9"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=iMhMj6oQMOFHsTLp9qiD%2FJzPUVSZDqYACxOOFBSfT5t3E8sLZDsXX1oI8elV3TzD6W6jVjY0h3taJTY7wmOjQyqsBCZ3aXvSiKxICMV2V%2BK8tRE5kGMS49IryQz%2BLsKmOvVHy%2Ftsk190bjg8BT6y5Ja8m%2BCyiPvaYOwPnnsM%2B0NC6XturE%2F%2F0SlKUv04QobkyShkJ%2FXOSggyyCMKf562siVPlU1owOQJF6KCYbRFWd9kmAJX8v8uB5MWGbG277ErnEqtMsZSwJcEhV7rSvD11g%3D%3D--OKZG5YEL01WC%2BNOs--yrNNbGmzC2pL4Ln8o4G7Wg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1276250215.1752885393; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 00:36:33 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 00:36:33 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: AAC4:79D16:246090:325734:687AE891
Handle when default project for file is solution with file actually r… · microsoft/TypeScript@ba39113 · GitHub
Copy file name to clipboardExpand all lines: src/server/editorServices.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/publicApi.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tsserver/helpers.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit ba39113
authored
Handle when default project for file is solution with file actually referenced by one of the project references (#37239)
* Add test where file from referenced project of solution belongs to inferred project instead of referenced project
* Try to find project from project references if the default config project is solution
Fixes #36708
* Add test to verify the correct collection of projects
* Handle when default config project is indirectly referenced in the solution
* Include public API tests in unittests
* Make sure default project for script info is calculated correctly
* Handle reload projects
* Ensure to load solution project tree when project is referenced by solution
* Find all refs when the file is referenced via d.ts
* Some comments per feedback
* Fix typo1 parent b41eb1b commit ba39113Copy full SHA for ba39113
File tree
Expand file treeCollapse file tree
7 files changed
+592
-44
lines changedFilter options
- src
- server
- testRunner/unittests
- tsserver
- tests/baselines/reference/api
Expand file treeCollapse file tree
7 files changed
+592
-44
lines changedsrc/server/editorServices.ts
Copy file name to clipboardExpand all lines: src/server/editorServices.ts+149-29Lines changed: 149 additions & 29 deletions
Large diffs are not rendered by default.
+24-1Lines changed: 24 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2005 | 2005 |
| |
2006 | 2006 |
| |
2007 | 2007 |
| |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
| 2020 | + | |
| 2021 | + | |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
2008 | 2027 |
| |
2009 | 2028 |
| |
2010 | 2029 |
| |
| |||
2025 | 2044 |
| |
2026 | 2045 |
| |
2027 | 2046 |
| |
| 2047 | + | |
| 2048 | + | |
2028 | 2049 |
| |
2029 | 2050 |
| |
2030 | 2051 |
| |
2031 | 2052 |
| |
2032 | 2053 |
| |
2033 |
| - | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
2034 | 2057 |
| |
2035 | 2058 |
| |
2036 | 2059 |
| |
|
+18-8Lines changed: 18 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
431 | 431 |
| |
432 | 432 |
| |
433 | 433 |
| |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
434 | 440 |
| |
435 | 441 |
| |
436 | 442 |
| |
437 |
| - | |
| 443 | + | |
438 | 444 |
| |
439 | 445 |
| |
440 | 446 |
| |
| |||
447 | 453 |
| |
448 | 454 |
| |
449 | 455 |
| |
450 |
| - | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
451 | 462 |
| |
452 |
| - | |
453 |
| - | |
| 463 | + | |
454 | 464 |
| |
455 | 465 |
| |
456 | 466 |
| |
457 |
| - | |
458 |
| - | |
459 |
| - | |
460 |
| - | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
461 | 471 |
| |
462 | 472 |
| |
463 | 473 |
| |
|
src/testRunner/unittests/publicApi.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/publicApi.ts+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 |
| - | |
| 50 | + | |
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
|
src/testRunner/unittests/tsserver/helpers.ts
Copy file name to clipboardExpand all lines: src/testRunner/unittests/tsserver/helpers.ts+63Lines changed: 63 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
716 | 716 |
| |
717 | 717 |
| |
718 | 718 |
| |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
719 | 782 |
| |
720 | 783 |
| |
721 | 784 |
| |
|
You can’t perform that action at this time.
0 commit comments