WSL2 to Windows Godot LSP proxy
When using Neovim from WSL and Godot from Windows - the LSP file paths are not compatible
This is the simple TCP proxy that mirrors requests that LSP protocol does (JSON RPC), finds and replaces paths both ways: from linux to windows and from windows to linux
It works as a separate server that LSP Client from your editor should connect to
This project is inspired by godot-wsl-lsp but basically does this proxying on a lower level and thanks to that it works very fast
Installation
It is intended to be installed via pipx:
pipx install godot-wsl-proxy
(Not recommended) But you can do it via just pip and install it globally:
pip install --user godot-wsl-proxy
In future I plan to add this to Mason (for Neovim users)
Neovim LSP Config
You can easily configure this via small customization of nvim-lspconfig
if os.getenv("WSL_DISTRO_NAME") ~= nil then -- Easy way to check if it is WSL or no
require("lspconfig").gdscript.setup({
on_attach = on_attach, -- Your buffer on_attach function
cmd = { "godot-wsl-proxy", "run" },
})
else
require("lspconfig").gdscript.setup({
on_attach = on_attach, -- Your buffer on_attach function
})
end
Metadata
Release files for godot-wsl-proxy 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| godot_wsl_proxy-0.2.1.tar.gz | 4.6 kB | Without provenance | Details for godot_wsl_proxy-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| godot_wsl_proxy-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for godot_wsl_proxy-0.2.1-py3-none-any.whl |
Total release size: 10.5 kB
Release files / godot_wsl_proxy-0.2.1.tar.gz
| Download URL | godot_wsl_proxy-0.2.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab7af6f185b05c283a4379aac1e03d6c25cec4e5fc7d1779f350c4aeb122ec15
|
|
BLAKE2b-256 checksum How to use checksums |
282ae3ad05fdbdbb7e20cb9ccbb428c3dd861d3a11133ff94ac9e16e28342925
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.7 Linux/5.15.167.4-microsoft-standard-WSL2
|
Release files / godot_wsl_proxy-0.2.1-py3-none-any.whl
| Download URL | godot_wsl_proxy-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f6ad04fc5e3894b68405988bfb9da1bd9c2a3abe0cf4a3f4be4619e1974930c
|
|
BLAKE2b-256 checksum How to use checksums |
9e3a3d84c110fea5ce65c9015cb5704e6ae562a2fefc9aba845d5576be7d089f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.7 Linux/5.15.167.4-microsoft-standard-WSL2
|
Security for godot-wsl-proxy 0.2.1
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.