mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
[IFT] Link Java, Python and Go lessons with TipsOfTheDay
GitOrigin-RevId: f48801cca6a176d01600bd3f36e64d3490ea5c00
This commit is contained in:
committed by
intellij-monorepo-bot
parent
adddd63807
commit
769d463a46
@@ -97,4 +97,6 @@ class JavaBasicCompletionLesson : KLesson("Basic completion", LessonsBundle.mess
|
||||
}
|
||||
|
||||
private fun TaskTestContext.invokeCompletion() = invokeActionViaShortcut("CTRL SPACE")
|
||||
|
||||
override val suitableTips = listOf("CodeCompletion")
|
||||
}
|
||||
|
||||
@@ -70,4 +70,6 @@ class JavaSmartTypeCompletionLesson : KLesson("Smart type completion", LessonsBu
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override val suitableTips = listOf("SmartTypeCompletion", "SmartTypeAfterNew", "SecondSmartCompletionToar")
|
||||
}
|
||||
@@ -86,4 +86,6 @@ class JavaStatementCompletionLesson
|
||||
|
||||
return trimmedText == "{if(){}}"
|
||||
}
|
||||
|
||||
override val suitableTips = listOf("CompleteStatement", "FinishBySmartEnter")
|
||||
}
|
||||
@@ -131,4 +131,6 @@ class JavaInheritanceHierarchyLesson
|
||||
|
||||
private fun TaskContext.findToolWindow() = strong(UIBundle.message("tool.window.name.find"))
|
||||
private fun TaskContext.hierarchyToolWindow() = strong(UIBundle.message("tool.window.name.hierarchy"))
|
||||
|
||||
override val suitableTips = listOf("HierarchyBrowser")
|
||||
}
|
||||
|
||||
@@ -63,6 +63,8 @@ class JavaExtractMethodCocktailSortLesson
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override val suitableTips = listOf("ExtractMethod")
|
||||
}
|
||||
|
||||
private val javaSortSample = parseLessonSample("""
|
||||
|
||||
@@ -134,4 +134,6 @@ class JavaRenameLesson
|
||||
if (!Character.isJavaIdentifierStart(newName[0]) || newName.any { !Character.isJavaIdentifierPart(it) }) return null
|
||||
return newName.toString()
|
||||
}
|
||||
|
||||
override val suitableTips = listOf("Rename")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user