Skip to main content

ZedScripts LSP

License Code Size PyPi Version PyPi Downloads PyPI Python Version

ZedScripts LSP is a language server protocol implementation in Python for the scripting format of Project Zomboid. Previously a VSCode extension, it is now reimplemented as a standalone LSP.

Installation

Releases

Python package

Git
pip install git+https://github.com/PZ-Wiki-Modding/ZedScripts-LSP.git
Local
pip install .

Usage

You can either launch the LSP from Python or you can launch the software as is.

LSP cache directory

The LSP uses a cache directory on your system to store temporary files and logs as well as configuration files. You can find it here:

Linux
~/.zedscripts
Windows
%USERPROFILE%\.zedscripts

Configuration

The LSP uses configurations files which provide information to the LSP about various settings. You have access to a global configuration file

Example configuration:

{
    "dataset": {
        "latest": true
    },
    "libraries": [
        "/home/simon/.steam/debian-installation/steamapps/common/ProjectZomboid/projectzomboid/media",
    ]
}

WIP: proper documentation will come soon

IDE configuration

Based on the IDE you use, you may need to install the ZedScripts LSP application for your OS in the releases (Linux, Windows).

Visual Studio Code

Install the ZedScripts extension from the Visual Studio Code marketplace. The extension will handle the downloading and setup of the ZedScripts LSP server for you.

VIM

Using yegappan/lsp, setup the ZedScripts LSP server as follows:

let lspServers = [
      \ #{
      \   name: 'zedscripts',
      \   filetype: ['text', 'zedscripts'],
      \   path: 'path/to/ZedScripts',
      \   args: []
      \ }
      \ ]

autocmd User LspSetup call LspAddServer(lspServers)

License

See LICENSE for details.

Metadata

Release files for ZedScripts 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ZedScripts 0.0.3
File Size Uploaded Provenance
zedscripts-0.0.3.tar.gz 52.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ZedScripts 0.0.3
File Interpreter ABI Platform
zedscripts-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 113.9 kB

Release files / zedscripts-0.0.3.tar.gz

Download URL zedscripts-0.0.3.tar.gz
Size 52.6 kB
Tags Source
SHA-256 checksum
How to use checksums
55c30de753e0e4b9b83297ba64167c23b370596142d03097bd0a640d3c4bb0f4
BLAKE2b-256 checksum
How to use checksums
f1b12ccd315a528d5623698cb2dca847a155ccec68ec19fc9ec8984e40373496
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / zedscripts-0.0.3-py3-none-any.whl

Download URL zedscripts-0.0.3-py3-none-any.whl
Size 61.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1294b7eb0eef4f462ccf4ccfe72a2201b98cb1e69000f1e1eae3d8a6faea78f
BLAKE2b-256 checksum
How to use checksums
cc76b447563b54ac65ce6d5051658f3b0050fa41818743f1b9e819c2b7475236
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for ZedScripts 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page