Open Hedwig7s opened 1 week ago
Hello! I updated the branch, in case you want to try it out: https://github.com/teal-language/vscode-teal/pull/72
I also enabled verbose logging --verbose=true --log-mode=by_proj_path
. This causes the language server to create log files in <Home directory>/.cache/teal-language-server
.
You currently need to install teal-language-server
separately, using luarocks
.
Also, it seems LSP features won't be enabled unless you create a tlconfig.lua
file in your project.
I would try it out, but I don't exactly know how to
Oh, sorry! Something like this should work (you need to install npm if you don't have it already):
git clone https://github.com/teal-language/vscode-teal.git
cd vscode-teal
git checkout teal-language-server-v2
npm install
code .
Then, press F5 while in vscode to start the language client.
Instead of opening vscode and pressing F5, you can also run npm run package
. This will generate a .vsix file which you can install in the extensions tab.
As mentioned earlier, you also need to install teal-language-server.
luarocks install teal-language-server
Just let me know if it's not working :)
I'll leave issues I find under the PR
Right now this uses its own internal lsp. Since tea leaves was recently made official (rendering #49 likely broken) it would make sense to use it as the lsp of vscode-teal for consistency and so stuff doesn't have to get updated twice by seperate people I am making this issue as while there was work on this it seems to have been abandoned years ago and I'd like to restart the conversation