Sort files according to given scope in debugger (KT-21931)
#KT-21931 Fixed
This commit is contained in:
@@ -96,8 +96,10 @@ object DebuggerUtils {
|
|||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun findFilesByNameInPackage(className: JvmClassName, fileName: String, project: Project, searchScope: GlobalSearchScope)
|
private fun findFilesByNameInPackage(className: JvmClassName, fileName: String, project: Project, searchScope: GlobalSearchScope): List<KtFile> {
|
||||||
= findFilesWithExactPackage(className.packageFqName, searchScope, project).filter { it.name == fileName }
|
val files = findFilesWithExactPackage(className.packageFqName, searchScope, project).filter { it.name == fileName }
|
||||||
|
return files.sortedWith(JavaElementFinder.byClasspathComparator(searchScope))
|
||||||
|
}
|
||||||
|
|
||||||
fun analyzeInlinedFunctions(
|
fun analyzeInlinedFunctions(
|
||||||
resolutionFacadeForFile: ResolutionFacade,
|
resolutionFacadeForFile: ResolutionFacade,
|
||||||
|
|||||||
Reference in New Issue
Block a user