Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
helios-language-server
Advanced tools
Language server for Helios, a non-Haskell Cardano smart contract DSL.
Language server for Helios, a non-Haskell Cardano smart contract language. Uses the pygls lsp framework and tree-sitter for syntax tree generation.
Python >=3.7
python3-pip
(Ubuntu/Debian)python3-venv
(Ubuntu/Debian)Easy way via npm package coc-helios:
:CocInstall coc-helios
Alternatively, if you know how to set up Python virtual environments:
python3 -m venv .venv
source .venv/bin/activate
pip install helios-language-server
Put this in your coc-settings.json
file (:CocConfig
):
{
"languageserver": {
"helios": {
"command": "helios-language-server",
"args": ["--stdio"],
"filetypes": ["*.hl", "hl"]
}
}
The language server should now activate whenever you open .hl
files, provided you have filetype.nvim
plugin installed.
See vscode-helios.
Currently only supports builtin types and methods up until Helios v0.9.2 (apart from import statements).
While in general the tree-sitter parser works okay, there are several shortcomings as it is not always error tolerant. Meaning that if there are syntax errors present in the source code, the parser can sometimes generate error nodes spanning the entire document. This may lead to no/unexpected auto-completions. Unfortunately, not too much can be done about the parser's error recovery ability at this stage, as this is still also an open issue with tree-sitter. I have tried to address some commonly occuring parsing errors.
FAQs
Language server for Helios, a non-Haskell Cardano smart contract DSL.
We found that helios-language-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.