Skip to main content

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

Metadata

Release files for hyuga 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hyuga 1.0.0
File Size Uploaded
hyuga-1.0.0.tar.gz 14.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hyuga 1.0.0
File Interpreter ABI Platform
hyuga-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.8 kB

Release files / hyuga-1.0.0.tar.gz

Download URL hyuga-1.0.0.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8286a8d1a0937fb5cc3ea9b47108b79553b760944073cb7e8ce179cf6d808e3e
BLAKE2b-256 checksum
How to use checksums
f7240edb298bd680f97da60dc44d9c9bf09dea01b7e6965df62373b88a679ddf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2

Release files / hyuga-1.0.0-py3-none-any.whl

Download URL hyuga-1.0.0-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6469dd72b61b2d2b6b379863f66cd4ca3f43a605b942dd951f6db28d7f8164e1
BLAKE2b-256 checksum
How to use checksums
25d834dd2224dab0a0eba4cddb253b66d5832360519bcdeaa5cf4d966959bc58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page