Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import Library by qualified name instead of simple name #24

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

KotlinIsland
Copy link

No description provided.

@lte2000
Copy link
Owner

lte2000 commented Apr 23, 2021

@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
Copy link
Author

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

@KotlinIsland
Copy link
Author

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

@KotlinIsland KotlinIsland force-pushed the import_qualified_name branch from eb4cebf to 99230ac Compare April 23, 2021 06:00
@KotlinIsland
Copy link
Author

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

@lte2000
Copy link
Owner

lte2000 commented Apr 23, 2021

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
Copy link
Author

KotlinIsland commented Apr 24, 2021

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

@KotlinIsland
Copy link
Author

@lte2000 Wanna take another look at this?

@KotlinIsland KotlinIsland force-pushed the import_qualified_name branch from 99230ac to 083a788 Compare August 27, 2021 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants