### Docker Language Server Command Help Source: https://github.com/docker/docker-language-server/blob/main/README.md Get detailed help for a specific command within the Docker Language Server CLI, such as 'start'. This provides command-specific usage information. ```bash docker-language-server start --help ``` -------------------------------- ### Install Docker Language Server with Go Source: https://github.com/docker/docker-language-server/blob/main/README.md Install the latest version of the Docker Language Server using the Go package manager. Ensure Go 1.24 or greater is installed. ```bash go install github.com/docker/docker-language-server/cmd/docker-language-server@latest ``` -------------------------------- ### Start Docker Language Server with Network Address Source: https://github.com/docker/docker-language-server/blob/main/README.md Start the Docker Language Server and listen on a specified network address and port for communication. Logging is always directed to stderr. ```bash docker-language-server start --address :12345 ``` -------------------------------- ### Start Docker Language Server in StdIO Mode Source: https://github.com/docker/docker-language-server/blob/main/README.md Start the Docker Language Server using standard input and output for communication. Logging is always directed to stderr. ```bash docker-language-server start --stdio ``` -------------------------------- ### Docker Language Server CLI Help Source: https://github.com/docker/docker-language-server/blob/main/README.md Display help information for the Docker Language Server CLI, including available commands and flags. Use this to understand command-line options. ```bash docker-language-server --help ``` -------------------------------- ### Run Docker Language Server Unit Tests Source: https://github.com/docker/docker-language-server/blob/main/README.md Execute the unit tests for the Docker Language Server. Ensure BuildKit tests function correctly by verifying `docker buildx build` command. ```bash make test ``` -------------------------------- ### Generate and Align Vendored Files Source: https://github.com/docker/docker-language-server/blob/main/CONTRIBUTING.md Execute this command to manage vendored files using go modules. ```bash $ make vendor ``` -------------------------------- ### Configure Initialization Options for Docker Language Server Source: https://github.com/docker/docker-language-server/blob/main/README.md Include these options in the initial `initialize` request to configure server behavior. Use `dockerfileExperimental.removeOverlappingIssues` to suppress duplicate diagnostics if using multiple Docker-related language servers. Configure telemetry with the `telemetry` field and disable Compose support by setting `dockercomposeExperimental.composeSupport` to `false`. ```json { "initializationOptions": { "dockercomposeExperimental": { "composeSupport:": true | false }, "dockerfileExperimental": { "removeOverlappingIssues:": true | false }, "telemetry": "all" | "error" | "off" } } ``` -------------------------------- ### Lint Docker Language Server Project Source: https://github.com/docker/docker-language-server/blob/main/README.md Run the golangci-lint tool to check the project for code quality issues. This command helps maintain code standards. ```bash make lint ``` -------------------------------- ### Build Docker Language Server Binary Source: https://github.com/docker/docker-language-server/blob/main/README.md Generate a binary of the Docker Language Server from the source code using the make build command. This is useful for development or custom builds. ```bash make build ``` -------------------------------- ### Run Docker Language Server Tests in Docker Source: https://github.com/docker/docker-language-server/blob/main/README.md Execute tests within a Docker container. This requires building a Docker image with the test code and mounting the Docker daemon's UNIX socket. ```bash make test-docker ``` -------------------------------- ### Enable Experimental Capabilities for Code Lens Source: https://github.com/docker/docker-language-server/blob/main/README.md Clients supporting `textDocument/codeLens` must provide a command with the id `dockerLspClient.bake.build`. This configuration enables the server to respond to code lens requests for Bake HCL files. ```json { "capabilities": { "experimental:": { "dockerLanguageServerCapabilities": { "commands": [ "dockerLspClient.bake.build" ] } } } } ``` -------------------------------- ### Initialize Telemetry Setting via Initialization Options Source: https://github.com/docker/docker-language-server/blob/main/TELEMETRY.md Set the telemetry level when sending the initial 'initialize' request from the client. This is done by including the 'telemetry' property within the 'initializationOptions' object. ```JSONC { "clientInfo": { "name": "clientName", "version": "1.2.3" }, "initializationOptions": { // you can send enable all telemetry, only send errors, or disable it completely "telemetry": "all" | "error" | "off" } } ``` -------------------------------- ### Validate Pull Requests Source: https://github.com/docker/docker-language-server/blob/main/CONTRIBUTING.md Run this command before submitting pull requests to ensure all validations pass. ```bash $ make validate-all ``` -------------------------------- ### Sign Commit Message Source: https://github.com/docker/docker-language-server/blob/main/CONTRIBUTING.md Append this line to your git commit message to certify your contribution. Ensure you use your real name. ```git Signed-off-by: Joe Smith ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.