[IFT] Remove Java Jump to Source lesson
authorAlexey Merkulov <alexey.merkulov@jetbrains.com>
Wed, 16 Sep 2020 13:07:54 +0000 (16:07 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Wed, 23 Sep 2020 09:21:48 +0000 (09:21 +0000)
It didn't highlight when this action is needed and what is the difference with Go to Declaration

GitOrigin-RevId: d38249e2cca1121dcee07844666a72ee38d0103c

ide-features-trainer/res/data/modules/java/Navigation.xml
ide-features-trainer/res/data/modules/java/Navigation/01.JumpToSource.xml [deleted file]

index c356ce6a804a36e86996a560dd8fa91151d80831..33cc664593673072ba64c7b9a114b6635240bef4 100755 (executable)
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <module name="Navigation" lessonsPath="Navigation/" version="0.3" id="navigation" fileType="PROJECT" description="Jump to source, declaration/implementation, file structure and next/prev occurrences navigation">
-  <lesson filename="01.JumpToSource.xml" solution="training.training.solutions.Navigation.JumpToSourceSolution" />
   <lesson filename="02.Declaration.xml" solution="training.training.solutions.Navigation.DeclarationSolution"/>
   <lesson filename="03.FileStructure.xml" solution="training.training.solutions.Navigation.FileStructureSolution" />
   <lesson filename="04.Occurrences.xml" solution="training.training.solutions.Navigation.OccurrencesSolution"/>
diff --git a/ide-features-trainer/res/data/modules/java/Navigation/01.JumpToSource.xml b/ide-features-trainer/res/data/modules/java/Navigation/01.JumpToSource.xml
deleted file mode 100755 (executable)
index 201e458..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<xml type="Scenario" name="Jump to source" id="Navigation.JumptoSource" lang="JAVA">
-    <MouseBlock><CopyText><![CDATA[import java.lang.String;
-import java.util.HashMap;
-
-class JumpToSourceDemo {
-
-    public static boolean checkParam(String checkKey, Params parameters){
-        return parameters.hasParameter(checkKey);
-    }
-
-    class Params {
-
-        public HashMap<String, String> myParameters;
-
-        public Params() {
-            myParameters = new HashMap<String, String>();
-        }
-
-        public Params(HashMap<String, String> myParameters) {
-            this.myParameters = myParameters;
-        }
-
-        public void addParameter(String key, String value) {
-            myParameters.put(key, value);
-        }
-
-        public String getParameter(String key) {
-            return myParameters.get(key);
-        }
-
-        public boolean hasParameter(String key) {
-            return myParameters.containsKey(key);
-        }
-
-    }
-}]]></CopyText>
-        <CaretBlock>
-        <MoveCaret position="6:59" />
-            <Text><ide/> offers a wide array of navigation features.</Text>
-            <Try trigger="EditSource">Let's start with one of the most frequently used features, Jump to Source. Press <action>EditSource</action> to look up the source of <code>Params</code>.</Try>
-    </CaretBlock>
-</MouseBlock>
-        <Try check="training.check.CheckJumpFromString" trigger="EditSource">You may also Jump to Source of classes implemented in the JDK. Place the caret on <code>String</code> and press <action>EditSource</action>.</Try>
-    <Win/>
-</xml>
\ No newline at end of file