Skip to content

Change to luarc is causing some issues #831

@Cussa

Description

@Cussa

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:

  1. Configure the .luarc.json file, including a globals, for example
  2. Open the settings
  3. Search for lua
  4. Verify the global

Expected 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 file

The 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):

  • OS: Ubuntu
  • WSL 2 and Docker (tested in both)
  • Client: VSCode

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionUser has a question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions