lte2000 / intellibot

IntelliJ/PyCharm plugin for Robot Automation Framework
https://github.com/lte2000/intellibot
MIT License
90 stars 27 forks source link

import Library by qualified name instead of simple name #24

Open KotlinIsland opened 3 years ago

lte2000 commented 3 years ago

@KotlinIsland

When build, I got error: Cannot resolve method 'findByQualifiedName(?, com.intellij.openapi.project.Project, com.intellij.psi.search.GlobalSearchScope)' Cannot resolve symbol 'QualifiedName'

I'm using SDK 191.8026.42. Pycharm 2019.1.3.

Is this method in new SDK only?

KotlinIsland commented 3 years ago

No idea actually, but I tested on 2021.1 because I noticed imports were broken.

KotlinIsland commented 3 years ago

Or maybe I didn't import it or something lol. I can have another look at this later.

KotlinIsland commented 3 years ago

@lte2000 Yeah, I didn't import it sorry. I've fixed that up.

lte2000 commented 3 years ago

report error: "Cannot resolve method 'findByQualifiedName(com.intellij.psi.util.QualifiedName, com.intellij.openapi.project.Project, com.intellij.psi.search.GlobalSearchScope)'"

There is no method findByQualifiedName in class PyModuleNameIndex of old version.

KotlinIsland commented 3 years ago

Ok, so can you update your sdk, or build a seperate 2021.1 jar?

KotlinIsland commented 3 years ago

@lte2000 Wanna take another look at this?