feat(language-service): add Angular-specific Inlay Hints (LSP 3.17)#66755
Open
kbrilla wants to merge 4 commits intoangular:mainfrom
Open
feat(language-service): add Angular-specific Inlay Hints (LSP 3.17)#66755kbrilla wants to merge 4 commits intoangular:mainfrom
kbrilla wants to merge 4 commits intoangular:mainfrom
Conversation
atscott
reviewed
Jan 26, 2026
Comment on lines
234
to
239
| const tsHints = languageService.provideInlayHints(scriptInfo.fileName, span, tsPreferences); | ||
|
|
||
| for (const tsHint of tsHints) { | ||
| const position = scriptInfo.positionToLineOffset(tsHint.position); | ||
| hints.push(convertTsInlayHint(tsHint, position)); | ||
| } |
Contributor
There was a problem hiding this comment.
From my testing, this should be omitted. Typescript provides its own inlay hints and we should not duplicate them.
Contributor
Author
There was a problem hiding this comment.
I removed TS inlay hints from Angular response
atscott
reviewed
Jan 26, 2026
| "default": true, | ||
| "markdownDescription": "When enabled, the Angular Language Service will delegate file watching to VS Code instead of creating its own internal file watchers. This can significantly improve performance (greater than 10x faster initialization) and reduce resource usage in large repositories." | ||
| }, | ||
| "angular.inlayHints.forLoopVariableTypes": { |
Contributor
There was a problem hiding this comment.
I think all of these should be defaulted to their "off" equivalents
Contributor
Author
There was a problem hiding this comment.
Done. I switched Angular inlay hint options to off by default. I also cleaned up config handling so toggles apply live without requiring extension restart.
atscott
reviewed
Jan 26, 2026
| "default": true, | ||
| "markdownDescription": "When enabled, the Angular Language Service will delegate file watching to VS Code instead of creating its own internal file watchers. This can significantly improve performance (greater than 10x faster initialization) and reduce resource usage in large repositories." | ||
| }, | ||
| "angular.inlayHints.forLoopVariableTypes": { |
Contributor
Contributor
Author
Contributor
|
@kbrilla Do you plan on continuing work on this PR? |
Contributor
Author
|
, I was not able to look into it today, but will continue tomorrow |
1197eaa to
d5f5c93
Compare
c1e6168 to
abefeba
Compare
Contributor
Author
|
Updated PR description and added screenshots |
3129013 to
a088340
Compare
…ettings grouping Add shared workspace configuration helper utilities and move extension settings to grouped configuration sections, without inlay-hint feature options yet.
Add Angular template inlay hints end-to-end across language-service and VS Code extension server/client wiring, including inlay-specific configuration mapping, request guards, and refresh behavior.
a088340 to
4ccf175
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


PR Checklist
PR Type
What is the current behavior?
Issue Number: #66730
What is the new behavior?
This PR adds Angular-specific template inlay hints end-to-end across the language service and VS Code extension.
It also includes a small server-side workspace configuration helper refactor so inlay hint settings can be pulled and refreshed cleanly.
Highlights:
textDocument/inlayHintandinlayHint/resolvesupport in the extension server.Does this PR introduce a breaking change?
Other information
Screenshots