Skip to content

import Library by qualified name instead of simple name#24

Open
KotlinIsland wants to merge 1 commit into
lte2000:developfrom
KotlinIsland:import_qualified_name
Open

import Library by qualified name instead of simple name#24
KotlinIsland wants to merge 1 commit into
lte2000:developfrom
KotlinIsland:import_qualified_name

Conversation

@KotlinIsland

Copy link
Copy Markdown

No description provided.

@lte2000

lte2000 commented Apr 23, 2021

Copy link
Copy Markdown
Owner

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

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

@KotlinIsland

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

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

@lte2000

lte2000 commented Apr 23, 2021

Copy link
Copy Markdown
Owner

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

KotlinIsland commented Apr 24, 2021

Copy link
Copy Markdown
Author

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

@KotlinIsland

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