Skip to content

Conversation

nixel2007
Copy link
Member

@nixel2007 nixel2007 commented Sep 3, 2025

Описание

Связанные задачи

Closes

Чеклист

Общие

  • Ветка PR обновлена из develop
  • Отладочные, закомментированные и прочие, не имеющие смысла участки кода удалены
  • Изменения покрыты тестами
  • Обязательные действия перед коммитом выполнены (запускал команду gradlew precommit)

Для диагностик

  • Описание диагностики заполнено для обоих языков (присутствуют файлы для обоих языков, для русского заполнено все подробно, перевод на английский можно опустить)

Дополнительно

Copy link
Contributor

coderabbitai bot commented Sep 3, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/semanticTokens

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@nixel2007 nixel2007 requested a review from Copilot September 3, 2025 20:17
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements semantic tokens support for BSL (1C BSL Language Server), providing enhanced syntax highlighting capabilities. The feature enables IDEs to display different token types with appropriate visual styling based on their semantic meaning.

  • Adds comprehensive semantic tokens provider with support for keywords, strings, numbers, comments, functions, methods, variables, parameters, macros, decorators, operators, and namespaces
  • Implements semantic tokens legend configuration defining the supported token types
  • Integrates semantic tokens functionality into the BSL language server capabilities and text document service

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
SemanticTokensProviderTest.java Comprehensive test suite validating semantic token emission for various BSL language constructs
SemanticTokensLegendConfiguration.java Spring configuration defining the semantic tokens legend with supported token types
SemanticTokensProvider.java Core provider implementation that analyzes BSL code and generates semantic tokens
BSLTextDocumentService.java Integration of semantic tokens provider into the text document service
BSLLanguageServer.java Registration of semantic tokens capability in server initialization

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

sonarqubecloud bot commented Sep 9, 2025

Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant