requirements-language-server

🛠️ python's requirements.txt language server

GPL-3.0 License

Downloads
300
Stars
10

requirements-language-server

Language server for requirements.txt.

Currently python's requirement.txt has 2 types:

The difference is that PEP508 doesn't support pip's options.

For pyproject.toml:

[tool.setuptools.dynamic.dependencies]
file = "requirements.txt"

[tool.setuptools.dynamic.optional-dependencies.dev]
file = "requirements/dev.txt"

We recognize requirements.txt and requirements/dev.txt as PEP508's requirements.txts and display errors for all pip's options. For other requirements.txts, we recognize them as pip's requirements.txts.

Features:

Other features:

Screenshots

Diagnostic

Hover

Completion

How Does It Work

See here.

Read to know more.

Related Projects