Metadata-Version: 2.5
Name: tcl-ls
Version: 1.0.1
Summary: Tcl language server, checker, and metadata toolkit.
Project-URL: Documentation, https://lewis6991.github.io/tcl-ls/
Project-URL: Homepage, https://github.com/lewis6991/tcl-ls
Project-URL: Issues, https://github.com/lewis6991/tcl-ls/issues
Project-URL: Repository, https://github.com/lewis6991/tcl-ls
Project-URL: Changelog, https://github.com/lewis6991/tcl-ls/blob/main/CHANGELOG.md
Author-email: Lewis Russell <lewis6991@gmail.com>
License-File: LICENSE
Keywords: language-server,lint,lsp,static-analysis,tcl
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: pygls>=2.1.0
Description-Content-Type: text/markdown

# tcl-ls

A Tcl language server, batch checker, and metadata toolkit. It provides
diagnostics, navigation, completion, rename, signature help, and semantic tokens.
The project is in alpha and analyzes Tcl statically; dynamic APIs can need
additional metadata.

## Install

The server and checker require `tclsh` on `PATH`, including when using a
prebuilt server. The Python package also requires Python 3.12 or newer:

```sh
python3 -m pip install tcl-ls
```

Standalone server archives and VS Code extension packages are also available
from [GitHub Releases](https://github.com/lewis6991/tcl-ls/releases).
See [Getting Started](https://lewis6991.github.io/tcl-ls/getting-started.html)
for installation choices.

## Use

Set up the server in [Neovim](editors/nvim/README.md) or
[VS Code](editors/vscode/README.md), or connect another editor's LSP client to
`tcl-ls` over stdio.

Check a Tcl file or project directory from the terminal:

```sh
tcl-check path/to/project
```

Use `tcllsrc.tcl` to load project metadata, locate libraries, and configure
diagnostics. For settings shared across projects, use
`$XDG_CONFIG_HOME/tcl-ls/tcllsrc.tcl` (default: `~/.config/tcl-ls/tcllsrc.tcl`).
Metadata can describe custom procedure declarations and use Tcl
parameter parser hooks to retain the original parameter locations.
The [documentation](https://lewis6991.github.io/tcl-ls/) covers:

* [Project configuration](https://lewis6991.github.io/tcl-ls/user-guide/configuration.html)
* [Metadata authoring and generation](https://lewis6991.github.io/tcl-ls/meta.html)
* [Command-line options](https://lewis6991.github.io/tcl-ls/reference/cli.html)
* [Troubleshooting](https://lewis6991.github.io/tcl-ls/support.html)
* [Development and documentation builds](https://lewis6991.github.io/tcl-ls/development.html)
