A very simple language server for smali
Project description
smalisp
A very simple language server for smali with definition support & auto-completion.
| Code completion | Docs |
|---|---|
Installation
pip
pip install -U smalisp
From source
pip install -U git+https://github.com/AbhiTheModder/smalisp.git
Extensions & Setup
Zed Extension (Local Development)
Prerequisites: Zed editor installed.
- Extension path:
extensions/zed.
- Open the Extensions page in Zed.
- Click the Install Dev Extension button (or run the
zed: Install Dev Extensioncommand). - Select the directory containing your Zed extension (the folder that contains the manifest and source).
Reference: https://zed.dev/docs/extensions/developing-extensions#developing-an-extension-locally
Note: These dev extensions are not yet officially accepted in the Zed extension registry; acceptance is expected soon.
VSCode Extension (Local Development)
Prerequisites: VSCode installed.
- Extension path:
extensions/vscode.
- Build or obtain the VSIX package for the extension from the releases page of this repository.
- In VSCode, go to Extensions view, click the three-dot menu, choose Install from VSIX..., and select the downloaded
.vsixfile. - Alternatively, run
code --install-extension path/to/extension.vsixfrom the terminal.
Note: The VSCode extension is not yet published in the official VSCode Marketplace; use local VSIX for testing.
Helix
- Prerequisites: Helix installed.
Install/ensure smalisp is installed in your Python environment (e.g. pip install -U smalisp). Then edit ~/.config/helix/languages.toml and add the following:
[language-server.smalisp]
command = "smalisp" # Or path to smalisp binary
[[language]]
name = "smali"
language-servers = [ "smalisp" ]
- Official integration PR for Helix has been submitted; Smalisp should be available out-of-the-box soon.
Vim/NeoVim
- Associate smali filetype with file extensions:
autocmd BufNewFile,BufRead *.smali setlocal filetype=smali
- In order to install syntax highlighting declare it with your plugin manager (for example vim-plug):
Plug 'Snape3058/vim-smali'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
{
"languageserver": {
"smalisp": {
"command": "smalisp",
"filetypes": ["smali"]
}
}
}
Plug 'prabirshrestha/vim-lsp'
autocmd User lsp_setup call lsp#register_server({
\ 'name': 'smalisp',
\ 'cmd': {server_info->['smalisp']},
\ 'whitelist': ['smali'],
})
Emacs (lsp-mode)
- Prerequisites: Emacs with lsp-mode and eglot options.
- Setup: enable lsp for
smali-modeand configure the server to runsmalisp. - See lsp-mode docs for exact config syntax.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smalisp-0.1.0.tar.gz.
File metadata
- Download URL: smalisp-0.1.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbc9de8a6cd846301352d8b51f73b808c11860370f6585c0d390172eac3ba48f
|
|
| MD5 |
7bb73ceb316936016e712168ec10083a
|
|
| BLAKE2b-256 |
01a2fa9f1187edde28732cc4df7a4881ab884ef2a6524e8a6e2bf1661e7e3fa4
|
Provenance
The following attestation bundles were made for smalisp-0.1.0.tar.gz:
Publisher:
python-publish.yml on AbhiTheModder/smalisp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
smalisp-0.1.0.tar.gz -
Subject digest:
fbc9de8a6cd846301352d8b51f73b808c11860370f6585c0d390172eac3ba48f - Sigstore transparency entry: 853571955
- Sigstore integration time:
-
Permalink:
AbhiTheModder/smalisp@07efb845049f6bd8754493265024272b14741042 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/AbhiTheModder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@07efb845049f6bd8754493265024272b14741042 -
Trigger Event:
release
-
Statement type:
File details
Details for the file smalisp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: smalisp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41a0c8eedb5e9914641829519179d66359406b8708d999d9ebb5f22d6691b714
|
|
| MD5 |
1aa00c40e5613c480a97a90bb6ac7116
|
|
| BLAKE2b-256 |
bc26e54a6fdb107ebe6a3756e1ea869087b4e5ed4ad8906a1dc3fb3572023f85
|
Provenance
The following attestation bundles were made for smalisp-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on AbhiTheModder/smalisp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
smalisp-0.1.0-py3-none-any.whl -
Subject digest:
41a0c8eedb5e9914641829519179d66359406b8708d999d9ebb5f22d6691b714 - Sigstore transparency entry: 853571996
- Sigstore integration time:
-
Permalink:
AbhiTheModder/smalisp@07efb845049f6bd8754493265024272b14741042 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/AbhiTheModder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@07efb845049f6bd8754493265024272b14741042 -
Trigger Event:
release
-
Statement type: