Error in .luarc.json prevents loading of .emmyrc.json with no visible warning to user

Open
#311 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
lua, typescript, vscode
Domain
devtools

Research direction

Start by reading the underlying report in issue 1215 and tracing how the VSCode extension handles configuration-loading failures. Reproduce the invalid .luarc.json case and compare the existing Output behavior with the requested user-visible warning. Done means a failed configuration load clearly alerts the user instead of silently leaving changes unapplied.

Written by the indexing model from the issue text.

Description

I have already reported the underlying problem at https://github.com/EmmyLuaLs/emmylua-analyzer-rust/issues/1215 but I am concerned that the VSCode extension didn't surface this failure. The error shows up in the Output of the extension, but I got increasingly confused as my configuration changes were not taking effect. When the configuration fails to load, this should probably produce a warning visible to the user.

Dominant language
TypeScript
Stars
753
Forks
113
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EmmyLua/VSCode-EmmyLua

All issues in EmmyLua/VSCode-EmmyLua

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.