inmantals


Nameinmantals JSON
Version 1.6.0 PyPI version JSON
download
home_pagehttps://github.com/inmanta/vscode-inmanta
SummaryInmanta Language Server
upload_time2024-04-04 11:53:33
maintainerNone
docs_urlNone
authorInmanta
requires_pythonNone
licenseApache Software License
keywords ide language-server vscode inmanta
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Inmanta Language server

Provides the bridge between the Inmanta compiler and Visual Studio Code IDE, by implementing a Language Server.

For recent versions of `inmanta-core` (`>=6`), the server takes ownership of the Python environment it runs in and installs any
modules and module dependencies in that environment. For older versions of `inmanta-core`, a separate compiler venv is used,
which can be configured with the `compilerVenv` option.

**This is alpha software, it may or may not work**

## Installation

1. mkvirtualenv -p python3 lstesting
2. pip install inmantals
3. install the inmanta extension via marketplace
4. change config for the extension (ctrl+,)

   1. set `inmanta.pythonPath` to the virtual env you just created `~/.virtualenvs/lstesting/bin/python3`
   2. set `inmanta.ls.enabled` to `true`

## Features

1. navigate-to-definition on types
2. docstring display on hover
3. find references to a symbol (e.g. right-click > Find All References)
4. supports working on an Inmanta project or an Inmanta module

## Not supported yet

1. 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](https://microsoft.github.io/language-server-protocol/specification)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/inmanta/vscode-inmanta",
    "name": "inmantals",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "ide, language-server, vscode, inmanta",
    "author": "Inmanta",
    "author_email": "code@inmanta.com",
    "download_url": "https://files.pythonhosted.org/packages/66/e9/962a30cb8595e3674c824736d60019845f4f4fe93efb7447fea3a40406df/inmantals-1.6.0.tar.gz",
    "platform": null,
    "description": "# Inmanta Language server\n\nProvides the bridge between the Inmanta compiler and Visual Studio Code IDE, by implementing a Language Server.\n\nFor recent versions of `inmanta-core` (`>=6`), the server takes ownership of the Python environment it runs in and installs any\nmodules and module dependencies in that environment. For older versions of `inmanta-core`, a separate compiler venv is used,\nwhich can be configured with the `compilerVenv` option.\n\n**This is alpha software, it may or may not work**\n\n## Installation\n\n1. mkvirtualenv -p python3 lstesting\n2. pip install inmantals\n3. install the inmanta extension via marketplace\n4. change config for the extension (ctrl+,)\n\n   1. set `inmanta.pythonPath` to the virtual env you just created `~/.virtualenvs/lstesting/bin/python3`\n   2. set `inmanta.ls.enabled` to `true`\n\n## Features\n\n1. navigate-to-definition on types\n2. docstring display on hover\n3. find references to a symbol (e.g. right-click > Find All References)\n4. supports working on an Inmanta project or an Inmanta module\n\n## Not supported yet\n\n1. work with incorrect models (needs to compile, all or nothing)\n\n## Troubleshooting\n\n### No module named x\n\nIf compilation fails with the message \"no module named x\" where x is a Python module, you might need to clean up the virtual\nenvironments used by the compiler. This issue can be caused by running the compiler from multiple different environments.\nTo clean up the virtual environment, remove the .env directory in the Inmanta project directory as well as the compiler venv\nspecified by the client, if it exists.\n\n## References\n\n[https://microsoft.github.io/language-server-protocol/specification](https://microsoft.github.io/language-server-protocol/specification)\n",
    "bugtrack_url": null,
    "license": "Apache Software License",
    "summary": "Inmanta Language Server",
    "version": "1.6.0",
    "project_urls": {
        "Homepage": "https://github.com/inmanta/vscode-inmanta"
    },
    "split_keywords": [
        "ide",
        " language-server",
        " vscode",
        " inmanta"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "66e9962a30cb8595e3674c824736d60019845f4f4fe93efb7447fea3a40406df",
                "md5": "7d5654c220570790a8271fe357ad5e61",
                "sha256": "7cf3963fc9bd78f7abda30199b603f4a02fa7e03080db511faa432f21291e124"
            },
            "downloads": -1,
            "filename": "inmantals-1.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7d5654c220570790a8271fe357ad5e61",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 25313,
            "upload_time": "2024-04-04T11:53:33",
            "upload_time_iso_8601": "2024-04-04T11:53:33.782775Z",
            "url": "https://files.pythonhosted.org/packages/66/e9/962a30cb8595e3674c824736d60019845f4f4fe93efb7447fea3a40406df/inmantals-1.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-04 11:53:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "inmanta",
    "github_project": "vscode-inmanta",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "inmantals"
}
        
Elapsed time: 0.21119s