Closed
Description
I want to create a VS Code extension which provides EmmyLua annotations to the Lua language server.
https://github.com/Ketho/vscode-wow-api/tree/master/EmmyLua
Currently I'm trying to add a dependency and edit your Lua.workspace.library
configuration.
"extensionDependencies": [
"sumneko.lua"
]
let luaConfig = vscode.workspace.getConfiguration("Lua")
let path = "C:\\Users\\Ketho\\.vscode\\extensions\\ketho.wow-api-0.0.2\\EmmyLua"
luaConfig.workspace.library[path] = true
But this doesn't work since the configuration seems to be a proxy object. I also don't know how to use a relative path to my extension's emmylua folder.
What is the proper way to make an EmmyLua plugin/extension? I looked at https://github.com/sumneko/lua-language-server/wiki/Plugin-(Experimental) but that seems to be for something different 😕
*Sorry if this issue should be filed under https://github.com/sumneko/vscode-lua
Metadata
Metadata
Assignees
Labels
No labels