Skip to content

How to report undefined variables, etc.? #95

Description

@plt3

Hello,

I recently installed groovy-language-server (via mason.nvim) to use to work on Jenkinsfiles in Neovim. Functionality like go to definition, autocomplete, or even variable rename work great, and I also get syntax error warnings to appear as expected if I don't close a quote or parenthesis. However, something like

def my_var = "test"
println(other_var)

does not show any errors, even though I am trying to print an undefined variable. Is there something in groovy-language-server to be configured to get this sort of behavior?

Thank you for this project!

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions