v1.5.8
Adding LSP support to Lama2
Previous Functionality:
- In version v1.5.7, the suggestenvs feature was using command line driven request, ex:
l2 -e="searchquery"
What's New:
- In current version we have converted the feature to use a custom LSP method called
suggest/environmentVariables
. - Extensions can simply call this method using relevant JSON RPC params
Request body
{
"jsonrpc": "2.0",
"id": 2,
"method": "suggest/environmentVariables",
"params": {
"textDocument": {
"uri": "file:///home/Lama2/elfparser/ElfTestSuite/root_variable_override/api/y_0020_root_override.l2"
},
"position": {
"line": 1,
"character": 2
},
"searchQuery": "<your_search_string>"
}
}
Replace your_search_string
with the desired search query, and the method will output environment variables based on that string.
Enhanced testing: Additional test cases have been introduced, and existing ones have been updated to support these changes.
Thank you for choosing our binary.
We appreciate the continued support and contributions from our community.
Your feedback and involvement are what make this project thrive!
Related vsc extension release
Releaese in progress
Checkout PR
Full Changelog: v1.5.7...v1.5.8