Skip to content
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

failed modify setting in .code-workspace #601

Closed
sumneko opened this issue Jul 15, 2021 · 0 comments
Closed

failed modify setting in .code-workspace #601

sumneko opened this issue Jul 15, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@sumneko
Copy link
Collaborator

sumneko commented Jul 15, 2021

@sumneko

@lhemkendreis I just test it and seems works well. What's your extension version? Is there any error in output?

Thanks for the quick reply and especially for the GIF! That behavior was exactly what I expected, but just didn't happen for me. My extension version is sumneko.lua-2.2.3 and I just reinstalled it just because of this issue.

I did a new test and suddenly it did work! Then I did some further testing. The behavior seems to be as follows.

  • When I don't save the workspace and just work in a folder, then it works as expected. The settings are applied to the local .vscode/settings.json file. I.e. exactly like you showed in your reply.

  • When I do save the workspace in a workspace configuration file (suffix .code-workspace) then it does not work as expected. In this case it only modifies the setting in the workspace configuration file - which would be fine, except that it only applies the setting "Lua.workspace.checkThirdParty": false and nothing else :-(

Conclusion: It does work but not with saved workspaces. Is that intended?

Originally posted by @lhemkendreis in #409 (comment)

@sumneko sumneko added the bug Something isn't working label Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant