← 返回首页
How to get LSP to auto refresh when new dependencies are installed? · Issue #364 · nvim-java/nvim-java · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

How to get LSP to auto refresh when new dependencies are installed? #364

New issue
New issue

Description

Hello,

How can I get the LSP to auto refresh/sync when I've added new dependencies to my project?

Example:

  1. I add a new dependency in build.gradle
  2. I download it through Gradle
  3. I reference it in some file - LSP has not refreshed accordingly and marks it as non resolvable
  4. Project builds just fine with gradle build

:LspRestart does not seem to work either

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    • Open in GitHub Copilot app

    Footer

    © 2026 GitHub, Inc.