Add bsl-language-server support for 1C:Enterprise language#1
Add bsl-language-server support for 1C:Enterprise language#1
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit 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. Comment |
Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com>
Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com>
|
@copilot Не качай jar, качай zip под операционную систему |
Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com>
Сделано в коммите 8e5456a. Теперь скачивается ZIP архив под конкретную ОС:
Пути к исполняемому файлу тоже учитывают разную структуру для каждой платформы (включая |
Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot запусти тесты |
Тесты BSL пройдены успешно: |
There was a problem hiding this comment.
Pull request overview
This PR adds comprehensive support for BSL (1C:Enterprise 8) language via the bsl-language-server, enabling Serena to work with 1C:Enterprise projects. The implementation includes automatic version detection and updates via GitHub API, platform-specific binary distribution with bundled runtime (no Java required), and comprehensive test coverage.
Key changes:
- Automatic language server installation with version management and update checks every 8 minutes
- Platform-specific executable handling for Windows, Linux, and macOS with correct paths for each platform
- Comprehensive test suite covering language server startup, document symbols, go-to-definition, and find references
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/solidlsp/language_servers/bsl_language_server.py |
Core implementation of BSL language server with automatic download, version management, update checking, and platform-specific executable handling |
src/solidlsp/ls_config.py |
Added BSL to Language enum, file matchers for .bsl and .os extensions, and language server class mapping |
test/solidlsp/bsl/test_bsl_basic.py |
Test suite covering language server startup, document symbols, go-to-definition, and find references functionality |
test/solidlsp/bsl/__init__.py |
Test module initialization file |
test/resources/repos/bsl/test_repo/main.bsl |
Main test file with functions and procedures for testing BSL language server capabilities |
test/resources/repos/bsl/test_repo/helper.bsl |
Helper module with utility functions for cross-file reference testing |
test/resources/repos/bsl/test_repo/simple_var.bsl |
Simple variable test module for additional test coverage |
pyproject.toml |
Added BSL pytest marker for test organization |
README.md |
Updated supported languages list to include BSL (1C:Enterprise) |
CHANGELOG.md |
Documented the new BSL language support with feature details |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com>
…n, etc.) Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com>
Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com>
Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com>
src/solidlsp/language_servers/bsl_language_server.py/releases/latestendpoint)SERVER-INFOfile (version + last update check timestamp)BSLLanguageServer.java):src/solidlsp/ls_config.pypyproject.tomlOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.