Skip to main content

Hyuga - Yet Another Hy Language Server

Project description

Hyuga - Yet Another Hy Language Server

PyPI version

Forked from hy-language-server.

This software is still in the experimental stage!

Please be aware that specifications may change without prior notice.

Status

Verified-working Hy version: 1.0.0

Hy version Hyuga Support
0.24 0.2.1
0.25 ?
0.26 ?
0.27 ?
0.28 ?
0.28 1.0.0

We need your help to check the support status for each hy version.

Please report the results in issues!

Feature

  • textDocument/did{Open,Change}
  • textDocument/completion
    • Display a list of all modules installed in your system, including classes/functions in the currently opening source. (Plain Python symbols are also included.)
  • textDocument/definition
    • Jump to the definition. (Currently, this refers to hy-source only.)
  • textDocument/hover

Screenshots

Completion

Hyuga sample movie: completion on neovim Hyuga sample movie: completion on vscode

Jump to definition

Hyuga sample movie: jump-to-definition on neovim Hyuga sample movie: jump-to-definition on vscode

Install

plain install

pip3 install hyuga

neovim(nvim) + vim-lsp + vim-lsp-settings

Install vim-lsp and vim-lsp-settings, open a *.hy file with filetype=hy, then run :LspInstallServer

Visual Studio Code(VSCode)

  • Install hyuga to your python environment. (Refer to the Plain install section for details.)
  • In VSCode, open Extensions view, search for hyuga, and install Hyuga VSCode Client.

Development

Setup

  • Install poetry.
  • Clone this project: git clone https://github.com/sakuraiyuta/hyuga.git
  • In project directory, execute poetry install.

Test

poetry run pytest tests

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hyuga-1.0.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

hyuga-1.0.0-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file hyuga-1.0.0.tar.gz.

File metadata

  • Download URL: hyuga-1.0.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for hyuga-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8286a8d1a0937fb5cc3ea9b47108b79553b760944073cb7e8ce179cf6d808e3e
MD5 11ea67ddbf1f7c0b117708d2454f4b8f
BLAKE2b-256 f7240edb298bd680f97da60dc44d9c9bf09dea01b7e6965df62373b88a679ddf

See more details on using hashes here.

File details

Details for the file hyuga-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: hyuga-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for hyuga-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6469dd72b61b2d2b6b379863f66cd4ca3f43a605b942dd951f6db28d7f8164e1
MD5 c6b40877a7a810e996ea1a821cf45f60
BLAKE2b-256 25d834dd2224dab0a0eba4cddb253b66d5832360519bcdeaa5cf4d966959bc58

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page