-
-
Notifications
You must be signed in to change notification settings - Fork 351
Change to luarc is causing some issues #831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
@sumneko can you confirm if in the VS Code we should continue to use the vscode settings file? Because we saw some issues and thought that we should move to |
The second bug should be resolved. |
I guess the third bug is: {
"diagnostics.globals": [
"GLOBAL1"
]
} When you use quickfix to add global {
"Lua.diagnostics.globals": [
"GLOBAL1",
"GLOBAL2"
],
"diagnostics.globals": [
"GLOBAL1"
]
} This caused me to still read the old settings. |
Yes, the third bug is related to what you mention and it's still happening. The other bug if fixed. |
Hello @sumneko . Do we have any change related to this? It seems that the If I try to use the quick fix, it is creating a |
The multi-workspace should be supported in next version, you could checkout the WIP version from https://github.com./sumneko/lua-language-server/actions/runs/1677515565, check if it works. |
@Cussa has your issue been resolved? |
Using quickfix still renames |
The main problem of this issue has not been solved, but the priority is not high. |
Describe the bug
The change from settings.json to the new
.luarc.json
is causing some issues. As all of them are related to this change I will keep all of them in this same ticket. If you think that it would be better to split them in separated tickets, please, just tell me and I will do that.First Bug: configuration is not showing anymore in the settings page
To Reproduce
Steps to reproduce the behavior:
.luarc.json
file, including a globals, for exampleExpected behavior
Show the configurations now coming from
.luarc.json
This was working in the 2.3.7, when the configuration was still in the settings.
Second bug: intellisense in
.luarc.json
doesn't follow the example fileThe example file uses a structured declaration, while the intellisense uses a
single-line
declaration. It seems that there are some issues with that.Third bug: quick fixes are not working.
When finding some issue, VS Code shows the option to do a quick fix. However, the fix is not going to any file, and doesn't works as expected. The error persists.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: