Skip to content

Filename/breadcrumbs don't show when opening a file in node_modules with "document_symbols": "on" #60905

Description

@afgomez

Reproduction steps

From a TS project (you can use https://github.com/afgomez/debugger-test-app), open any file and use "Go to definition" on an import that points to something in node_modules.

Use "document_symbols": "on" to reproduce.

Current vs. Expected behavior

Current behaviour: Nothing shows

Screen.Recording.2026-07-13.at.15.15.56.mov

Expected behaviour:

filename/breadbrumbs show

Zed version and system specs

Zed: v1.11.3+preview.323.2b71e458379590339d96baa7ea78548f9243c899 (Zed Preview)
OS: macOS 26.5.2
Memory: 48 GiB
Architecture: aarch64

Image

Attach Zed log file

Zed.log

Relevant Zed settings

settings.json
  // LSP overrides
  "lsp": {
    "oxlint": {
      "initialization_options": {
        "typeAware": true,
      },
    },
    "vtsls": {
      "settings": {
        "typescript": {
          "preferences": {
            "preferTypeOnlyAutoImports": true,
          },
          "updateImportsOnFileMove": {
            "enabled": "always",
          },
        },
        "javascript": {
          "preferences": {
            "preferTypeOnlyAutoImports": true,
          },
          "updateImportsOnFileMove": {
            "enabled": "always",
          },
        },
      },
    },
  },

Relevant Keymap

n/a

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Activity

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

    area:language serverAn umbrella label for all language serversarea:navigationFeedback for workspace navigation, breadcrumbs, definitions, files, panels, etcreach:some usersBugs that happen for less than one-third of users, special configurations, rare circumstances, etcseverity:S3Papercuts, minor issues with a clear non-tedious workaround, cosmetic bugs

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions