Skip to content

lib modules are not detected leading to not defined issue #94

Open
@VasLem

Description

@VasLem

Inside lib folder I have added commons-text-1.12.0.jar , so that to be able to use LevenshteinDistance from org.apache.commons.text.similarity . I receive a language server error message whenever I am trying to use an instance of it. Example code:

def levenshtein(str1, str2){
    def obj = new org.apache.commons.text.similarity.LevenshteinDistance()
    obj.apply(str1, str2)
}

Output:

`org.apache.commons.text.similarity.LevenshteinDistance` is not defined

(The code runs just fine)

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