[IFT] Link Java, Python and Go lessons with TipsOfTheDay

GitOrigin-RevId: f48801cca6a176d01600bd3f36e64d3490ea5c00
This commit is contained in:
Konstantin Hudyakov
2021-09-28 19:47:06 +03:00
committed by intellij-monorepo-bot
parent adddd63807
commit 769d463a46
39 changed files with 78 additions and 0 deletions

View File

@@ -97,4 +97,6 @@ class JavaBasicCompletionLesson : KLesson("Basic completion", LessonsBundle.mess
}
private fun TaskTestContext.invokeCompletion() = invokeActionViaShortcut("CTRL SPACE")
override val suitableTips = listOf("CodeCompletion")
}

View File

@@ -70,4 +70,6 @@ class JavaSmartTypeCompletionLesson : KLesson("Smart type completion", LessonsBu
}
}
}
override val suitableTips = listOf("SmartTypeCompletion", "SmartTypeAfterNew", "SecondSmartCompletionToar")
}

View File

@@ -86,4 +86,6 @@ class JavaStatementCompletionLesson
return trimmedText == "{if(){}}"
}
override val suitableTips = listOf("CompleteStatement", "FinishBySmartEnter")
}

View File

@@ -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")
}

View File

@@ -63,6 +63,8 @@ class JavaExtractMethodCocktailSortLesson
}
}
}
override val suitableTips = listOf("ExtractMethod")
}
private val javaSortSample = parseLessonSample("""

View File

@@ -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")
}