Claude Code Bsl Lsp banner
1c-syntax 1c-syntax

Claude Code Bsl Lsp

Development community

Description

Claude Code plugin — BSL Language Server LSP for 1C:Enterprise (BSL) and OneScript (OS) files

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

BSL Language Server — Claude Code Plugin

[Claude Code](https://docs.claude.com/en/docs/claude-code/overview) plugin that integrates [BSL Language Server](https://github.com/1c-syntax/bsl-language-server) as an LSP server for 1C:Enterprise (BSL) and [OneScript](http://oscript.io) (OS) files.

Features

Provides Claude Code with code intelligence for `.bsl` and `.os` files via Language Server Protocol:

  • Diagnostics (code quality checks)
  • Go to definition
  • Find references
  • Hover information
  • Code actions and quick fixes
  • Symbol navigation
  • Formatting
  • Auto-update — checks for new releases on session start

Installation

Via Claude Code CLI

Add this repository as a plugin marketplace, then install the plugin:

claude
/plugin marketplace add 1c-syntax/claude-code-bsl-lsp
/plugin install bsl-language-server@bsl-language-server

Manual

Clone this repository and add it as a local marketplace:

git clone https://github.com/1c-syntax/claude-code-bsl-lsp.git
claude
/plugin marketplace add /path/to/claude-code-bsl-lsp
/plugin install bsl-language-server@bsl-language-server

How It Works

On each session start the plugin:

  1. Checks if BSL Language Server is already installed
  2. Queries the GitHub API for the latest release (throttled to once per 8 minutes)
  3. Downloads and installs the native binary if a newer version is available
  4. Cleans up old versions automatically

Platform-Specific Binary Paths

Platform Archive Binary path after extraction
Linux bsl-language-server_nix.zip bsl-language-server/bin/bsl-language-server
macOS bsl-language-server_mac.zip bsl-language-server.app/Contents/MacOS/bsl-language-server
Windows bsl-language-server_win.zip bsl-language-server/bsl-language-server.exe

Install Locations

Platform Data directory Symlink / wrapper