No description
- Go 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| cmd | ||
| internal | ||
| pkg | ||
| test | ||
| third_party/lsp | ||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| mise.toml | ||
| README.md | ||
mals
Components
mals- main server componentmals-adapter- LSP stdio to TCP adaptermals-ctl- utility command line toolmals-vscode- VSCode Extension LSP client wrappermals-test- testing application and other testing utilities
Generate LSP protocol structures
Build utility script to fetch latest changes:
go build -o build/lsp-gen cmd/lsp-gen/*.go
Generate lsp protocol structures and helpers:
./build/lsp-gen
Build
go build -o build/mals cmd/mals/*.go
Usage
./build/mals -h
Generate openapi schema (v3.1, v3.0):
curl $LISTENER_API_HOST:$LISTENER_API_PORT/openapi.{json,yml}
curl $LISTENER_API_HOST:$LISTENER_API_PORT/openapi-3.0.{json,yml}
TODO
- Optimization of requests and caching:
- Drop autocompletion requests that are old (may be checked by document version id) to skip answering to them if model can't pace
- Skip if user triggers autocompletion too often and drop older requests