Skip to content

Project is not getting indexed on LSP initialize #48

Open

Description

@hugeblank

On project open, the plugin refuses to acknowledge the existence of a documented class that exists in a different file.
There are only 2 states that I can find that will cause the plugin to detect the documented class:

  1. The file is opened and present in the tab list. Demonstration of the broken state, and its fix:
    Before opening the file containing java_lang_Object

    After opening the file:
  2. The file gets written to or modified in some way.

Activity

  1. CppCXY commented on Feb 25, 2026

    @CppCXY
    Member

    I suggest you add extension config

    Image
  2. CppCXY commented on Feb 25, 2026

    @CppCXY
    Member

    and your use of @module is incorrect; its role is the same as @type, but it refers to a module.

  3. hugeblank commented on Feb 25, 2026

    @hugeblank
    Author

    Is there documentation somewhere for what the path/name of this config file would be?

  4. CppCXY commented on Feb 25, 2026

    @CppCXY
    Member
  5. hugeblank commented on Feb 26, 2026

    @hugeblank
    Author

    I added the extensions, like suggested. The classes still do not resolve. Could it be because they're in a symlinked directory?

  6. hugeblank commented on Feb 26, 2026

    @hugeblank
    Author

    Here's my full config, I even tried pointing to the path that the files are located (docs):

    {
      "$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json",
      "runtime": {
        "extensions": [
          ".d.lua",
          ".lua"
        ]
      },
      "workspace": {
        "ignoreDir": [
          ".gradle",
          "build",
          ".idea",
          "run"
        ]
      },
      "resource": {
        "paths": [
          "docs"
        ]
      }
    }
  7. CppCXY commented on Feb 27, 2026

    @CppCXY
    Member

    can you shared me some code?

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