CARVIEW |
Select Language
HTTP/2 200
date: Fri, 18 Jul 2025 21:56:40 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/"0bdaa103366f0700db9b6c3010c8c478"
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=78YRwVSzEwglMjHkuWXEfqimn2x6rMAQv2nG2ZL4xtcGz8WwVs87HZgaWUaQeK1aTsjqtZUK7dvUU3Zp11%2FXeseRxqRatg0MiLZm%2Fl9KZqkCAQvtd0gguHGdGCY7wNvAS%2BpbQV%2Fseahjp2Fu9wNHDw%2FD%2B2ix49xb62ssM1d20VAiOIOqyUBkkUCCGeIezojZAjBjsMfCAU4qQuEo5iDu59VeFJnn11JskxYvhHV%2BIKa24V0DJYWOcUoS3JD3ss0o8q%2Fz5SLSOfGb8sbiDTjvqg%3D%3D--kqyOIXPL9U99ZurB--cXgXxVQ3LycsPyI%2B%2BIE6Aw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.172507572.1752875798; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 21:56:38 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 18 Jul 2026 21:56:38 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9030:148787:1B0150:23E7B4:687AC316
Add inlay hints support (#42089) · microsoft/TypeScript@66b4ba4 · GitHub
Dismiss banner
Copy file name to clipboardExpand all lines: src/compiler/utilitiesPublic.ts
Copy file name to clipboardExpand all lines: src/harness/fourslashImpl.ts
Copy file name to clipboardExpand all lines: src/harness/fourslashInterfaceImpl.ts
Copy file name to clipboardExpand all lines: src/harness/harnessLanguageService.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 66b4ba4
Add inlay hints support (#42089)
* Add signature arguments label support
* Support rest parameters and destruction
* make lint
* Fix tuple rest parameters
* Adjust name styles
* Rename to inline hints
* Partition inline hints
* Adjust range pred
* Add function expression like hints
* Support configure inline hints
* Display hints in single line
* Add test suits and tests
* Add range tests
* Support more hints
* Add more options
* Fix logical
* Add more cases
* Support call chains
* Rename options
* Match lastest protocol
* Update protocol changes
* Support context value and hover message
* Revert "Support context value and hover message"
This reverts commit 37a7089.
* Revert "Update protocol changes"
This reverts commit e5ca31b.
* Add hover message
* Accept baseline
* Update src/services/inlineHints.ts
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
* Update src/services/inlineHints.ts
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
* Cache across the program
* Fix possible undefined
* Update protocol changes
* Fix missing property
* Make lint happy
* Avoid call chain hints
* I'm bad
* Add whitespace before type
* Add more tests
* Should care about jsdoc
* Support complex rest parameter
* Avoid module symbol hints
* Care about leading comments
* Fix CR issues
* Avoid changes
* Simplify comments contains
* Fix CR issues
* Accept baseline
* Check parameter name before create regex
* Rename option
* Avoid makers
* Skip parens for argument
* Fix CR issues
* Fix enums
* Accept baseline
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>1 parent 2767ab3 commit 66b4ba4Copy full SHA for 66b4ba4
File tree
Expand file treeCollapse file tree
71 files changed
+1829
-2
lines changedFilter options
- src
- compiler
- harness
- server
- services
- testRunner/unittests/tsserver
- tests
- baselines/reference/api
- cases/fourslash
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
71 files changed
+1829
-2
lines changed+34Lines changed: 34 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
428 | 428 |
| |
429 | 429 |
| |
430 | 430 |
| |
| 431 | + | |
431 | 432 |
| |
432 | 433 |
| |
433 | 434 |
| |
| |||
30352 | 30353 |
| |
30353 | 30354 |
| |
30354 | 30355 |
| |
| 30356 | + | |
| 30357 | + | |
| 30358 | + | |
| 30359 | + | |
| 30360 | + | |
| 30361 | + | |
| 30362 | + | |
| 30363 | + | |
| 30364 | + | |
| 30365 | + | |
| 30366 | + | |
| 30367 | + | |
| 30368 | + | |
| 30369 | + | |
| 30370 | + | |
| 30371 | + | |
| 30372 | + | |
| 30373 | + | |
| 30374 | + | |
| 30375 | + | |
| 30376 | + | |
| 30377 | + | |
| 30378 | + | |
| 30379 | + | |
| 30380 | + | |
| 30381 | + | |
| 30382 | + | |
| 30383 | + | |
| 30384 | + | |
| 30385 | + | |
| 30386 | + | |
| 30387 | + | |
| 30388 | + | |
30355 | 30389 |
| |
30356 | 30390 |
| |
30357 | 30391 |
| |
|
+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4104 | 4104 |
| |
4105 | 4105 |
| |
4106 | 4106 |
| |
| 4107 | + | |
4107 | 4108 |
| |
4108 | 4109 |
| |
4109 | 4110 |
| |
|
src/compiler/utilitiesPublic.ts
Copy file name to clipboardExpand all lines: src/compiler/utilitiesPublic.ts+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1232 | 1232 |
| |
1233 | 1233 |
| |
1234 | 1234 |
| |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
1235 | 1240 |
| |
1236 | 1241 |
| |
1237 | 1242 |
| |
|
+14Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
644 | 644 |
| |
645 | 645 |
| |
646 | 646 |
| |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
647 | 661 |
| |
648 | 662 |
| |
649 | 663 |
| |
|
src/harness/fourslashImpl.ts
Copy file name to clipboardExpand all lines: src/harness/fourslashImpl.ts+17Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 | 4 |
| |
| |||
836 | 837 |
| |
837 | 838 |
| |
838 | 839 |
| |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
839 | 856 |
| |
840 | 857 |
| |
841 | 858 |
| |
|
src/harness/fourslashInterfaceImpl.ts
Copy file name to clipboardExpand all lines: src/harness/fourslashInterfaceImpl.ts+12Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
251 | 251 |
| |
252 | 252 |
| |
253 | 253 |
| |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
254 | 258 |
| |
255 | 259 |
| |
256 | 260 |
| |
| |||
1667 | 1671 |
| |
1668 | 1672 |
| |
1669 | 1673 |
| |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
1670 | 1682 |
| |
1671 | 1683 |
| |
1672 | 1684 |
| |
|
src/harness/harnessLanguageService.ts
Copy file name to clipboardExpand all lines: src/harness/harnessLanguageService.ts+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
599 | 599 |
| |
600 | 600 |
| |
601 | 601 |
| |
| 602 | + | |
| 603 | + | |
| 604 | + | |
602 | 605 |
| |
603 | 606 |
| |
604 | 607 |
| |
|
+35Lines changed: 35 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
154 | 154 |
| |
155 | 155 |
| |
156 | 156 |
| |
| 157 | + | |
157 | 158 |
| |
158 | 159 |
| |
159 | 160 |
| |
| |||
2549 | 2550 |
| |
2550 | 2551 |
| |
2551 | 2552 |
| |
| 2553 | + | |
| 2554 | + | |
| 2555 | + | |
| 2556 | + | |
| 2557 | + | |
| 2558 | + | |
| 2559 | + | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
| 2564 | + | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
| 2582 | + | |
| 2583 | + | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
2552 | 2587 |
| |
2553 | 2588 |
| |
2554 | 2589 |
| |
|
+14Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1450 | 1450 |
| |
1451 | 1451 |
| |
1452 | 1452 |
| |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
1453 | 1464 |
| |
1454 | 1465 |
| |
1455 | 1466 |
| |
| |||
2963 | 2974 |
| |
2964 | 2975 |
| |
2965 | 2976 |
| |
| 2977 | + | |
| 2978 | + | |
| 2979 | + | |
2966 | 2980 |
| |
2967 | 2981 |
| |
2968 | 2982 |
| |
|
You can’t perform that action at this time.
0 commit comments