Description
Info:
After two days of searching, I found the problem mentioned here, and by improving the code, I was able to solve the problem mentioned in this issue.
This issue is only used to report the progress, and I will put the subsequent updates in the PR.
It is also to inform all of you who are troubled by this problem: this problem has been solved.
This issue is quite widespread, and I've seen more than one bug in the PR about Luals' ability to export documents.
(This issue is for a placeholder use, it may be modified, because it is already 1.30 in the middle of the night, I have to go to work tomorrow, and the details will be changed when I am free.)
I'm going to sleep 💤
Effect:
the command:
./bin/lua-language-server.exe --configpath ./test/.luarc.doc.json --doc ./test/main.lua --doc_out_path ./test/
test1
env
By the way, post the renderings after my restoration,I commented out the 'string' library option in the config file in this issue..:
{
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
"runtime.version": "Lua 5.1",
"runtime.builtin": {
"basic": "disable",
"bit": "disable",
"bit32": "disable",
"builtin": "disable",
"coroutine": "disable",
"debug": "disable",
"ffi": "disable",
"io": "disable",
"jit": "disable",
"math": "disable",
"os": "disable",
"package": "disable",
"table": "disable",
"table.clear": "disable",
"table.new": "disable",
"utf8": "disable"
}
}
effect img
test2 :
.luarc.doc.json
Add: "string": "disable",
lua file:
M = {}