[IFT] Use sentence case in lesson names
authorAlexey Merkulov <alexey.merkulov@jetbrains.com>
Thu, 16 Jul 2020 22:39:55 +0000 (01:39 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Wed, 22 Jul 2020 08:09:45 +0000 (08:09 +0000)
GitOrigin-RevId: a8616dcf9f56f4eae1cabca0c2e29fba1c165be2

34 files changed:
ide-features-trainer/res/data/modules/java/CodeAssistance/02.CodeFormat.xml
ide-features-trainer/res/data/modules/java/CodeAssistance/03.ParameterInfo.xml
ide-features-trainer/res/data/modules/java/CodeAssistance/04.QuickPopups.xml
ide-features-trainer/res/data/modules/java/CodeAssistance/05.EditorCodingAssistance.xml
ide-features-trainer/res/data/modules/java/Navigation/01.JumpToSource.xml
ide-features-trainer/res/data/modules/java/Navigation/02.Declaration.xml
ide-features-trainer/res/data/modules/java/Navigation/03.FileStructure.xml
ide-features-trainer/res/data/modules/java/Navigation/04.Occurrences.xml
ide-features-trainer/res/data/modules/java/Refactorings/02.Extract Variable.xml
ide-features-trainer/res/data/modules/java/Refactorings/03.Extract Method.xml
ide-features-trainer/res/data/modules/java/Refactorings/04.RefactoringBasics.xml
ide-features-trainer/src/training/learn/lesson/general/CompletionWithTabLesson.kt
ide-features-trainer/src/training/learn/lesson/general/DuplicateLesson.kt
ide-features-trainer/src/training/learn/lesson/general/MultipleSelectionHtmlLesson.kt
ide-features-trainer/src/training/learn/lesson/general/SingleLineCommentLesson.kt
ide-features-trainer/src/training/learn/lesson/general/SurroundAndUnwrapLesson.kt
ide-features-trainer/src/training/learn/lesson/general/completion/BasicCompletionLessonBase.kt
ide-features-trainer/src/training/learn/lesson/general/refactorings/ExtractMethodCocktailSortLesson.kt
ide-features-trainer/src/training/learn/lesson/general/refactorings/ExtractVariableFromBubleLesson.kt
ide-features-trainer/src/training/learn/lesson/java/completion/BasicCompletionLesson.kt
ide-features-trainer/src/training/learn/lesson/java/completion/PostfixCompletionLesson.kt
ide-features-trainer/src/training/learn/lesson/java/completion/SmartTypeCompletionLesson.kt
ide-features-trainer/src/training/learn/lesson/java/completion/StatementCompletionLesson.kt
ide-features-trainer/src/training/learn/lesson/java/run/JavaDebugLesson.kt
ide-features-trainer/src/training/learn/lesson/java/run/JavaRunConfigurationLesson.kt
ide-features-trainer/src/training/learn/lesson/python/completion/PythonPostfixCompletionLesson.kt
ide-features-trainer/src/training/learn/lesson/python/completion/PythonSmartCompletionLesson.kt
ide-features-trainer/src/training/learn/lesson/python/completion/PythonTabCompletionLesson.kt
ide-features-trainer/src/training/learn/lesson/python/navigation/PythonSearchEverywhereLesson.kt
ide-features-trainer/src/training/learn/lesson/python/refactorings/PythonInPlaceRefactoringLesson.kt
ide-features-trainer/src/training/learn/lesson/python/refactorings/PythonQuickFixesRefactoringLesson.kt
ide-features-trainer/src/training/learn/lesson/python/refactorings/PythonRefactorMenuLesson.kt
ide-features-trainer/src/training/learn/lesson/ruby/completion/RubyPostfixCompletionLesson.kt
ide-features-trainer/src/training/learn/lesson/ruby/refactorings/RubyRefactorMenuLesson.kt

index 0d6141e486e260f44a7196bcdce9c8590b0cf53f..ac25a893c8b6ee605ed731440ac4cc3297a72f7f 100755 (executable)
@@ -1,4 +1,4 @@
-<xml type="Scenario" name="Code Formatting" id="CodeAssistance.CodeFormatting" lang="JAVA">
+<xml type="Scenario" name="Code formatting" id="CodeAssistance.CodeFormatting" lang="JAVA">
         <CopyText><![CDATA[class CodeFormatDemo{
 
     final static int a_const = 10000;
index c56f0d7fd0e40f5ef8d94b32efdb49bb966a8e9d..95ff438e975195e3aa11ae5f3b2f984af46140c2 100755 (executable)
@@ -1,4 +1,4 @@
-<xml type="Scenario" name="Parameter Info" id="CodeAssistance.ParameterInfo" lang="JAVA">
+<xml type="Scenario" name="Parameter info" id="CodeAssistance.ParameterInfo" lang="JAVA">
     <MouseBlock><CopyText><![CDATA[import javax.swing.*;
 
 class FrameDemo {
index 36e66b6469210a0c58f21e9281cadc559eec31e8..ef426a21cc8d0a4d786843b79a2b80598005a22b 100755 (executable)
@@ -1,4 +1,4 @@
-<xml type="Scenario" name="Quick Popups" id="CodeAssistance.QuickPopups" lang="JAVA">
+<xml type="Scenario" name="Quick popups" id="CodeAssistance.QuickPopups" lang="JAVA">
     <MouseBlock><CopyText><![CDATA[import java.text.*;
 
 class DecimalFormatDemo {
index 07599aefc98b1d92dfd6e7b4879850efe39a3a96..28cabc78a5670f061ac88cff787f3f1415ce28b5 100755 (executable)
@@ -1,4 +1,4 @@
-<xml type="Scenario" name="Editor Coding Assistance" id="CodeAssistance.EditorCodingAssistance" lang="JAVA">
+<xml type="Scenario" name="Editor coding assistance" id="CodeAssistance.EditorCodingAssistance" lang="JAVA">
     <MouseBlock><CopyText><![CDATA[import java.io.BufferedReader;
 import java.io.FileNotFoundException;
 import java.io.FileReader;
index cdc38bb1e7b0fa71d435df628dda3806be848538..201e458616848da4e25d9b48441e2d20e7df6879 100755 (executable)
@@ -1,4 +1,4 @@
-<xml type="Scenario" name="Jump to Source" id="Navigation.JumptoSource" lang="JAVA">
+<xml type="Scenario" name="Jump to source" id="Navigation.JumptoSource" lang="JAVA">
     <MouseBlock><CopyText><![CDATA[import java.lang.String;
 import java.util.HashMap;
 
index 9f33d274821ec39b12c658a4c8166bf9964b095c..01a95586c4d96131d49ac8b7d59749a7c17853bb 100755 (executable)
@@ -1,4 +1,4 @@
-<xml type="Scenario" name="Declaration/Implementation" id="Navigation.Declaration/Implementation" lang="JAVA">
+<xml type="Scenario" name="Declaration/implementation" id="Navigation.Declaration/Implementation" lang="JAVA">
         <CopyText><![CDATA[import java.util.LinkedList;
 import java.util.List;
 
index 113a8dd729b8f23f822341934960bd43ea8059a9..05e29d5c0b0d855f98f7773d4e012cb0a14b4f5b 100755 (executable)
@@ -1,4 +1,4 @@
-<xml type="Scenario" name="File Structure" id="Navigation.FileStructure" lang="JAVA">
+<xml type="Scenario" name="File structure" id="Navigation.FileStructure" lang="JAVA">
     <MouseBlock>
         <CopyText><![CDATA[class FileStructureDemo{
 
index 697afc2724d066738fc2ac95bf757569fa606be4..4264cb07a9c2d0a78a61a16ab7ca613c561f719a 100755 (executable)
@@ -1,4 +1,4 @@
-<xml type="Scenario" name="Next/Previous Occurrences" id="Navigation.Next/PreviousOccurrences" lang="JAVA">
+<xml type="Scenario" name="Next/previous occurrences" id="Navigation.Next/PreviousOccurrences" lang="JAVA">
     <MouseBlock>
         <CopyText><![CDATA[class FileStructureDemo{
 
index 71229f7502238f60e17b28ab552e7af6f613f1af..abda55e0de62514fdb0005fb6777f4f1d85e6086 100755 (executable)
@@ -1,4 +1,4 @@
-<xml type="Scenario" name="Extract Variable/Field" id="Refactorings.ExtractVariable/Field" lang="JAVA">
+<xml type="Scenario" name="Extract variable/field" id="Refactorings.ExtractVariable/Field" lang="JAVA">
     <MouseBlock>
         <CopyText><![CDATA[class ExtractVar{
 
index cdbc450eed304eda98ddf3fffd00eb50ade11acc..0c9f2185e92e4951024c5575662b2e2ab46677c3 100755 (executable)
@@ -1,4 +1,4 @@
-<xml type="Scenario" name="Extract Method" id="Refactorings.ExtractMethod" lang="JAVA">
+<xml type="Scenario" name="Extract method" id="Refactorings.ExtractMethod" lang="JAVA">
         <CopyText><![CDATA[import javax.swing.*;
 import java.awt.*;
 
index 63b21dad9cc53d4fa4ddb9e058d1c35ce3fab354..e8d7428527fa1db9989d5987c538ff4e5aa0a458 100755 (executable)
@@ -1,4 +1,4 @@
-<xml type="Scenario" name="Refactoring Basics" id="Refactorings.RefactoringBasics" lang="JAVA">
+<xml type="Scenario" name="Refactoring basics" id="Refactorings.RefactoringBasics" lang="JAVA">
     <MouseBlock><CopyText><![CDATA[import java.io.BufferedReader;
 import java.io.FileReader;
 import java.io.IOException;
index b04ae006fcd5f0d248bb39a053a0308bff5196d1..7b488064d41bba71723fc88ae5d5ca125986dfd6 100644 (file)
@@ -7,7 +7,7 @@ import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.LessonSample
 
 abstract class CompletionWithTabLesson(module: Module, lang: String, private val proposal: String) :
-  KLesson("Completion with Tab", module, lang) {
+  KLesson("Completion with tab", module, lang) {
 
   abstract val sample: LessonSample
 
index 172b74caf30ead419d70ffc48d0d35efb58be50a..cd7a1cd55e6bb01075275af4edd7d3a146b5f98a 100644 (file)
@@ -7,7 +7,7 @@ import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.LessonSample
 
 class DuplicateLesson(module: Module, lang: String, private val sample: LessonSample) :
-  KLesson("Duplicate", "Duplicate and Delete Lines", module, lang) {
+  KLesson("Duplicate", "Duplicate and delete lines", module, lang) {
   override val lessonContent: LessonContext.() -> Unit
     get() = {
       prepareSample(sample)
index 4cfbd2d798d1f265324f53b0a46a55b86b019227..faaa433361c39890f116b59a0a216b91b6dc6959 100644 (file)
@@ -10,7 +10,7 @@ import training.learn.lesson.kimpl.KLesson
 import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.parseLessonSample
 
-class MultipleSelectionHtmlLesson(module: Module) : KLesson("Multiple Selections", module, "HTML") {
+class MultipleSelectionHtmlLesson(module: Module) : KLesson("Multiple selections", module, "HTML") {
   private val sample = parseLessonSample("""<!doctype html>
 <html lang="en">
     <head>
index 618deca697655b0054fdce06e8aa043579d2581c..c5e57a86fe5fdbb8b1a9bdcf0760ee464ea14974 100644 (file)
@@ -11,7 +11,7 @@ import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.LessonSample
 
 class SingleLineCommentLesson(module: Module, lang: String, private val sample: LessonSample) :
-  KLesson("Comment Line", module, lang) {
+  KLesson("Comment line", module, lang) {
 
   override val lessonContent: LessonContext.() -> Unit
     get() = {
index 738a1b755db820221cbeccca950ce36394233eb2..0d18d698624d412a425a660bf18b6264ca0805ed 100644 (file)
@@ -9,7 +9,7 @@ import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.LessonSample
 
 abstract class SurroundAndUnwrapLesson(module: Module, lang: String) :
-  KLesson("Surround and Unwrap", module, lang) {
+  KLesson("Surround and unwrap", module, lang) {
 
   protected abstract val sample: LessonSample
 
index 3545db7ae852dea930a85b570bae4ef056846e05..816ef549dc0f229f3ccd3f68390307fb9bdb08c7 100644 (file)
@@ -10,7 +10,7 @@ import training.learn.lesson.kimpl.LessonSample
 import training.learn.lesson.kimpl.LessonUtil
 import javax.swing.JList
 
-abstract class BasicCompletionLessonBase(module: Module, lang: String) : KLesson("Basic Completion", module, lang) {
+abstract class BasicCompletionLessonBase(module: Module, lang: String) : KLesson("Basic completion", module, lang) {
   protected abstract val sample1: LessonSample
   protected abstract val sample2: LessonSample
 
index 858286ede2a87ef88190ef510d0a2de319923c8a..4b16d80200ad187ee72b41426fff1557316e47f8 100644 (file)
@@ -9,7 +9,7 @@ import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.LessonSample
 import javax.swing.JDialog
 
-class ExtractMethodCocktailSortLesson(module: Module, lang: String, private val sample: LessonSample) : KLesson("Extract Method", module, lang) {
+class ExtractMethodCocktailSortLesson(module: Module, lang: String, private val sample: LessonSample) : KLesson("Extract method", module, lang) {
   override val lessonContent: LessonContext.() -> Unit
     get() = {
       prepareSample(sample)
index e57f214cf769aa442b46b883691ad4093558db1f..c8ff359492ffd1d77cfa14e041c077b4d23baaa4 100644 (file)
@@ -7,7 +7,7 @@ import training.learn.lesson.kimpl.KLesson
 import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.LessonSample
 
-class ExtractVariableFromBubbleLesson(module: Module, lang: String, private val sample: LessonSample) : KLesson("Extract Variable", module, lang) {
+class ExtractVariableFromBubbleLesson(module: Module, lang: String, private val sample: LessonSample) : KLesson("Extract variable", module, lang) {
   override val lessonContent: LessonContext.() -> Unit
     get() = {
       prepareSample(sample)
index 66afbdaa5930c6d4f104882135ea65d2036dde3e..8f01cfc4c9823d56f2d2f5b661bdedfdee2ce626 100644 (file)
@@ -7,7 +7,7 @@ import training.learn.lesson.kimpl.KLesson
 import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.parseLessonSample
 
-class BasicCompletionLesson(module: Module) : KLesson("Basic Completion", module, JavaLangSupport.lang) {
+class BasicCompletionLesson(module: Module) : KLesson("Basic completion", module, JavaLangSupport.lang) {
 
   val sample = parseLessonSample("""import java.lang.*;
 import java.util.*;
index cae023e21a6a699e2aa57bb997a4108241a4160e..bfc1252ce9aa57177f3d8d538c741d2398fbdfa8 100644 (file)
@@ -7,7 +7,7 @@ import training.learn.lesson.kimpl.KLesson
 import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.parseLessonSample
 
-class PostfixCompletionLesson(module: Module) : KLesson("Postfix Completion", module, JavaLangSupport.lang) {
+class PostfixCompletionLesson(module: Module) : KLesson("Postfix completion", module, JavaLangSupport.lang) {
 
   val sample = parseLessonSample("""class PostfixCompletionDemo{
 
index 2d52a5a1c72ca6257a3a38934c4ac5119461bf09..948bad95502c41f942ea1a8f179e26f838442a50 100644 (file)
@@ -7,7 +7,7 @@ import training.learn.lesson.kimpl.KLesson
 import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.parseLessonSample
 
-class SmartTypeCompletionLesson(module: Module) : KLesson("Smart Type Completion", module, JavaLangSupport.lang) {
+class SmartTypeCompletionLesson(module: Module) : KLesson("Smart type completion", module, JavaLangSupport.lang) {
 
   val sample = parseLessonSample("""import java.lang.String;
 import java.util.HashSet;
index e5d1b5339741c266485a39efdc524a1f67981975..ff64470bf226af62cdeded74f39baa21b5b99ce9 100644 (file)
@@ -11,7 +11,7 @@ import training.learn.lesson.kimpl.KLesson
 import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.parseLessonSample
 
-class StatementCompletionLesson(module: Module) : KLesson("Statement Completion", module, JavaLangSupport.lang) {
+class StatementCompletionLesson(module: Module) : KLesson("Statement completion", module, JavaLangSupport.lang) {
 
   val sample = parseLessonSample("""class PrimeNumbers {
     public static void main(String[] args) {
index 4821a10d168195ec5f5f613d18e4c559fc38f2d5..e9a01c109476425603b18005c2bb50eee314d956 100644 (file)
@@ -44,7 +44,7 @@ import java.lang.Thread.sleep
 import java.util.concurrent.TimeUnit
 import javax.swing.text.JTextComponent
 
-class JavaDebugLesson(module: Module) : KLesson("Debug Workflow", module, "JAVA") {
+class JavaDebugLesson(module: Module) : KLesson("Debug workflow", module, "JAVA") {
   private val demoClassName = JavaRunLessonsUtils.demoClassName
   private val sample = JavaRunLessonsUtils.demoSample
 
index 739ba25be3899a159b77a8ec397e529aeb0c3e1f..87a9507a71f4dd26835a971a4079450c45453378 100644 (file)
@@ -20,7 +20,7 @@ import training.ui.LearningUiHighlightingManager
 import java.awt.Rectangle
 import javax.swing.JButton
 
-class JavaRunConfigurationLesson(module: Module) : KLesson("Run Configuration", module, "JAVA") {
+class JavaRunConfigurationLesson(module: Module) : KLesson("Run configuration", module, "JAVA") {
   private val demoClassName = JavaRunLessonsUtils.demoClassName
 
   private fun TaskRuntimeContext.runManager() = RunManager.getInstance(project)
index 0d7e01c567a00a1abbc6067ecce662894b056585..d0359e863b0d56ed482613b9cff5293ead15bffc 100644 (file)
@@ -11,7 +11,7 @@ import training.learn.lesson.kimpl.parseLessonSample
 
 private const val completionSuffix = ".ifnn"
 
-class PythonPostfixCompletionLesson(module: Module) : KLesson("Postfix Completion", module, "Python") {
+class PythonPostfixCompletionLesson(module: Module) : KLesson("Postfix completion", module, "Python") {
   private val sample = parseLessonSample("""
     movies_dict = {
         'title': 'Aviator',
index f4ad92d6d611e17dc9516a1a3c75268f22daf1a9..d34eb4645c472cfa045f3af07dc37b68d641cb74 100644 (file)
@@ -8,7 +8,7 @@ import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.LessonUtil
 import training.learn.lesson.kimpl.parseLessonSample
 
-class PythonSmartCompletionLesson(module: Module) : KLesson("Smart Completion", module, "Python") {
+class PythonSmartCompletionLesson(module: Module) : KLesson("Smart completion", module, "Python") {
   private val sample = parseLessonSample("""
     def f(x, file):
       x.append(file)
index 1c9766ee88b039cdc42f5fbecb5e0eaa98c22207..d0daee9dbd59115801a86a9434da82fdfa04ddcd 100644 (file)
@@ -9,7 +9,7 @@ import training.learn.interfaces.Module
 import training.learn.lesson.kimpl.*
 import javax.swing.JList
 
-class PythonTabCompletionLesson(module: Module) : KLesson("Tab Completion", module, "Python") {
+class PythonTabCompletionLesson(module: Module) : KLesson("Tab completion", module, "Python") {
   private val template = parseLessonSample("""
     class Calculator:
         def __init__(self):
index 5f55664bb815e87c18aaeff3245b11849f7770ca..a57b66a692760de8bf5de2490e884c8d0968804b 100644 (file)
@@ -18,7 +18,7 @@ import training.ui.LearningUiHighlightingManager
 import java.awt.event.InputEvent
 import java.awt.event.KeyEvent
 
-class PythonSearchEverywhereLesson(module: Module) : KLesson("Search Everywhere", module, "Python") {
+class PythonSearchEverywhereLesson(module: Module) : KLesson("Search everywhere", module, "Python") {
   override val lessonContent: LessonContext.() -> Unit = {
     caret(0)
 
index 21a3ec4fb5c6881914842d1bdbcaf1cba1ee2fdc..2e76d95b2a8c7e12ff2cc409260904043ae42fc7 100644 (file)
@@ -9,7 +9,7 @@ import training.learn.lesson.kimpl.*
 import javax.swing.JLabel
 import javax.swing.JPanel
 
-class PythonInPlaceRefactoringLesson(module: Module) : KLesson("In Place Refactoring", module, "Python") {
+class PythonInPlaceRefactoringLesson(module: Module) : KLesson("In place refactoring", module, "Python") {
   private val template = """
     def fibonacci(stop):
         first = 0
index 857c9a5800483be6060c477649aa54d463e6b889..06d23fad37e79a41670f471088b9ec14f520179b 100644 (file)
@@ -13,7 +13,7 @@ import training.learn.lesson.kimpl.parseLessonSample
 import javax.swing.JDialog
 import javax.swing.JLabel
 
-class PythonQuickFixesRefactoringLesson(module: Module) : KLesson("quick-fix-refactoring", "Quick Fix Refactoring", module, "Python") {
+class PythonQuickFixesRefactoringLesson(module: Module) : KLesson("quick-fix-refactoring", "Quick fix refactoring", module, "Python") {
   private val sample = parseLessonSample("""
     def foo(x):
         print("Hello ", x)
index d711f559a5675f277985a937e8563be88a83ca42..a55e5b4db43ec09a2890091a74dddf58be8f702d 100644 (file)
@@ -11,7 +11,7 @@ import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.parseLessonSample
 import javax.swing.JList
 
-class PythonRefactorMenuLesson(module: Module) : KLesson("Refactoring Menu", module, "Python") {
+class PythonRefactorMenuLesson(module: Module) : KLesson("Refactoring menu", module, "Python") {
   private val sample = parseLessonSample("""
     # Need to think about better sample!
     import random
index c35730616a83065f13f837af2a1025cc8a2648cc..02f9df8ae708dfaf8793c7a57cc811b5d83d376f 100644 (file)
@@ -9,7 +9,7 @@ import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.LessonUtil
 import training.learn.lesson.kimpl.parseLessonSample
 
-class RubyPostfixCompletionLesson(module: Module) : KLesson("Postfix Completion", module, "ruby") {
+class RubyPostfixCompletionLesson(module: Module) : KLesson("Postfix completion", module, "ruby") {
   private val sample = parseLessonSample("""class SomeExampleClass
   # @param string_array [Array<String>]
   def second_value(string_array)
index 4db4485299850647161818a5af8b41c3864ce960..d4ed676f93e450c5ff4f40bf35aaf2f1441a1e7b 100644 (file)
@@ -13,7 +13,7 @@ import training.learn.lesson.kimpl.KLesson
 import training.learn.lesson.kimpl.LessonContext
 import training.learn.lesson.kimpl.parseLessonSample
 
-class RubyRefactorMenuLesson(module: Module) : KLesson("Refactoring Menu", module, "ruby") {
+class RubyRefactorMenuLesson(module: Module) : KLesson("Refactoring menu", module, "ruby") {
   private val sample = parseLessonSample("""
     class Animal
       def legs_number