liwangqian

Results 21 comments of liwangqian

需要根据网页内容生成json格式的api文档,就可以搞。

嗯,当前是不支持变量重命名的。这个功能是1.x版本以前的,后来更新解析算法后,这个功能就暂时没有实现了。

这个是比较困难的,这依赖于两个脚本加载的先后顺序,而这个顺序,luacheck是无法知道的,只有脚本运行时才能知道。 插件提供了配置已知的global全局变量的配置项`"LuaCoderAssist.luacheck.globals": [ "gRoot" ]`,你可以在这里添加一些常见的全局变量。或者,如果你们项目中所有的全局变量命名都有某种风格,比如添加前缀gXxx,则还可以考虑使用配置项`"LuaCoderAssist.luacheck.ignore": [ "^g[A-Z]\w+" ]`来告诉luacheck忽略变量名字符合这个模式的告警,支持正则表达式,可以参考lua的正则表达式语法。

You need not config the file, it will find from current directory up to the root directory

it seems you use a disk map directory, the extension cannot figure out what the `\\wsl$` means.

Currently, there is no way to prevent the `;` from being removed, the code formatter is base on the `lua-fmt` and `;` is removed after the ast build.

单独安装其中一个插件没有问题吗?

@Nexela thank you for your feedback, this will be fixed the next release.

@DFVSQY 看不到图片呢,如果想要跳转到其他文件中定义的符号,首先需要加载符号所在的文件,要么require这个符号所在的文件,要么可以通过preload配置做预加载。 该插件采用的是懒惰加载的方案,只会加载文件显式依赖(通过require)的外部模块,主要是考虑加载的性能,如果你想全部加载整个工程的文件,可以通过preload配置来实现。 ``` Lua Coder Assist: Preloads Preload modules path, can be file or directory. DO NOT config a dirctory with a lot files for performance consideration. If a...