Skip to content

feat(language-service): add methods for decoding classifications to p… - #62251

Closed
JannikLassahn wants to merge 1 commit into
angular:mainfrom
JannikLassahn:feature/token-classification-api
Closed

JannikLassahn wants to merge 1 commit into
angular:mainfrom
JannikLassahn:feature/token-classification-api

Conversation

@JannikLassahn

Copy link
Copy Markdown
Contributor

…ublic api

Adds getTokenTypeFromClassification and getTokenModifierFromClassification to the public API of @angular/language-service so LSP clients can easily decode tokens retrieved from getEncodedSemanticClassifications.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@pullapprove
pullapprove Bot requested a review from devversion June 24, 2025 19:23
@angular-robot angular-robot Bot added detected: feature PR contains a feature commit area: language-service Issues related to Angular's VS Code language service labels Jun 24, 2025
@ngbot ngbot Bot added this to the Backlog milestone Jun 24, 2025
@atscott atscott added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release labels Jun 24, 2025
…to public api

Add methods for decoding classifications to public api for use in the
language server
@atscott
atscott force-pushed the feature/token-classification-api branch from 70fa32f to 7e2c633 Compare June 24, 2025 22:14
@thePunderWoman
thePunderWoman removed the request for review from devversion June 25, 2025 09:46
@thePunderWoman

Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit b489f9f.

The changes were merged into the following branches: main

@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Jul 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: language-service Issues related to Angular's VS Code language service detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants