Skip to content

"Lua PSI Viewer" feature not working. #172

Open

Description

@ltade

Which OS are you using?

Linux

Expected Behaviour

The "Lua PSI Viewer" feature, when ran, it expects some index.html file to be at this path:
~/.vscode/extensions/sumneko.lua-3.15.0-linux-x64/client/web/dist/index.html
but presumably the index.html file path actually exists here
~/.vscode/extensions/sumneko.lua-3.15.0-linux-x64/client/webvue/build/index.html

The error happens because of exactly this line:

private static readonly distDirectory = "client/web/dist";

so just do:

-     private static readonly distDirectory = "client/web/dist";
+     private static readonly distDirectory = "client/webvue/build";

Reproduction steps

Steps to reproduce:

<Ctrl+Shift+P>
Type: Lua PSI Viewer

Image

get this error message:

Image

Additional Notes

the bug got introduces in ~3 years ago, by commit 1c7a326

i actually dont know what this "Lua PSI Viewer" feature is for :P
Im curious to find out when it works (again)

Also, I was considering making this a pull request, but i dont know how to compile/run this project, so i cant test fix sry ):

Activity

  1. Genpretz commented on Oct 30, 2026

    @Genpretz

    This still exists in 3.19.2.

    Other than using Windows 11, everything else appears to be the same as the user above. This includes having no idea what this feature is supposed to do.

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions