Inmanta Language Server
Project description
Inmanta Language server
provides the bridge between the Inmanta compiler and Visual Studio Code ide, by implementing a Language Server
This is alpha software, it may or may not work
Installation
-
mkvirtualenv -p python3 lstesting
-
pip install inmantals
-
install the inmanta extension via marketplace
-
change config for the extension (ctrl+,)
- set
inmanta.pythonPath
to the virtual env you just created~/.virtualenvs/lstesting/bin/python3
- set
inmanta.ls.enabled
totrue
- set
Features
- navigate-to-defintion on types
Not supported yet
- re-load code (not upon edit or upon save, need to close vscode)
- work with incorrect models (needs to compile, all or nothing)
Troubleshooting
No module named x
If compilation fails with the message "no module named x" where x is a Python module, you might need to clean up the virtual environments used by the compiler. This issue can be caused by running the compiler from multiple different environments. To clean up the virtual environment, remove the .env directory in the Inmanta project directory as well as the compiler venv specified by the client, if it exists.
References
https://microsoft.github.io/language-server-protocol/specification
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file inmantals-1.1.0.tar.gz
.
File metadata
- Download URL: inmantals-1.1.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 412d04bd0f771543b96fb733f707cf2200f4a7806f82621d2a00b92887707685 |
|
MD5 | f741036f2164d68d120af74b70e2138e |
|
BLAKE2b-256 | 56c05d62afa47cad52d288fb0df8671bc8b8fcf325fdb55c0dd6e4c3d1a35fe5 |