diff options
| author | Wim Jongman | 2018-05-09 11:58:08 +0000 |
|---|---|---|
| committer | Wim Jongman | 2018-05-09 17:35:26 +0000 |
| commit | e9730f84082fac7af44e9d6e2b19dd696a2c87c5 (patch) | |
| tree | 4e372e95d2db717736cb1d631f70ec0962a47108 | |
| parent | 6f8b075c1253180c3b6ec10fc9b3837001390179 (diff) | |
| download | eclipse.platform.common-e9730f84082fac7af44e9d6e2b19dd696a2c87c5.tar.gz eclipse.platform.common-e9730f84082fac7af44e9d6e2b19dd696a2c87c5.tar.xz eclipse.platform.common-e9730f84082fac7af44e9d6e2b19dd696a2c87c5.zip | |
Bug 534073: [Tips] Create JSon based Tip Providers
Fix HTML content
language quoted
Change-Id: Ieac9601c1fc60a6f8c433718ac0380b222c8e7e7
Signed-off-by: Wim Jongman <wim.jongman@remainsoftware.com>
39 files changed, 378 insertions, 20 deletions
diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/855062302655209472/855062302655209472.html b/bundles/org.eclipse.jdt.tips.user/content/content/855062302655209472/855062302655209472.html index 28eac18f8..a4d4d7383 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/855062302655209472/855062302655209472.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/855062302655209472/855062302655209472.html @@ -1 +1,20 @@ -<h2>Description here</h2>The 'enclosing' selection (Alt+Shift+Up/Dn) is a great shortcut. Selects the enclosing structure, e.g. var->if->method->class https://t.co/joGBu9IzdB<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="C93Kg1sXsAAJuGu.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>Select Enclosing Structure</title> +</head> +<body> + <h2>Select Enclosing Structure</h2> + The 'enclosing' selection (Alt+Shift+Up/Dn) shortcut selects the + enclosing structure, e.g. var->if->method->class + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="C93Kg1sXsAAJuGu.mp4" type="video/mp4"> + <source src="C93Kg1sXsAAJuGu.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/855062302655209472/C93Kg1sXsAAJuGu.webm b/bundles/org.eclipse.jdt.tips.user/content/content/855062302655209472/C93Kg1sXsAAJuGu.webm Binary files differnew file mode 100644 index 000000000..5928a23bb --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/855062302655209472/C93Kg1sXsAAJuGu.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/856867463409041410/856867463409041410.html b/bundles/org.eclipse.jdt.tips.user/content/content/856867463409041410/856867463409041410.html index 17516f1a9..c3925730e 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/856867463409041410/856867463409041410.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/856867463409041410/856867463409041410.html @@ -1 +1,20 @@ -<h2>Description here</h2>Ever looked at a method thinking 'what does this one do'? Press Shift while hovering it and it will show implementation in-place! https://t.co/5Qym5CkcJN<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="C-Q0ThlXcAQpVvX.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>Show Implementation In-place</title> +</head> +<body> + <h2>Show Implementation In-place</h2> + Press Shift while hovering a method and it will show implementation + in-place. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="C-Q0ThlXcAQpVvX.mp4" type="video/mp4"> + <source src="C-Q0ThlXcAQpVvX.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/856867463409041410/C-Q0ThlXcAQpVvX.webm b/bundles/org.eclipse.jdt.tips.user/content/content/856867463409041410/C-Q0ThlXcAQpVvX.webm Binary files differnew file mode 100644 index 000000000..d64b09af1 --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/856867463409041410/C-Q0ThlXcAQpVvX.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/860125970556223489/860125970556223489.html b/bundles/org.eclipse.jdt.tips.user/content/content/860125970556223489/860125970556223489.html index 7dbfe57f2..0696d9b08 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/860125970556223489/860125970556223489.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/860125970556223489/860125970556223489.html @@ -1 +1,20 @@ -<h2>Description here</h2>If you want to know where and how a variable was declared just press Shift while hovering and you'll get it in-place! https://t.co/4Vpz4JKW0w<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="C-_HuR4XkAMj9oJ.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>Inspect Variable Declaration</title> +</head> +<body> + <h2>Inspect Variable Declaration</h2> + If you want to see where and how a variable was declared press Shift + while hovering and you'll see it in-place. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="C-_HuR4XkAMj9oJ.mp4" type="video/mp4"> + <source src="C-_HuR4XkAMj9oJ.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/860125970556223489/C-_HuR4XkAMj9oJ.webm b/bundles/org.eclipse.jdt.tips.user/content/content/860125970556223489/C-_HuR4XkAMj9oJ.webm Binary files differnew file mode 100644 index 000000000..30ee719b4 --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/860125970556223489/C-_HuR4XkAMj9oJ.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/864423629697822720/864423629697822720.html b/bundles/org.eclipse.jdt.tips.user/content/content/864423629697822720/864423629697822720.html index ad5f17067..9b23fdccb 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/864423629697822720/864423629697822720.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/864423629697822720/864423629697822720.html @@ -1 +1,20 @@ -<h2>Description here</h2>Here's our Edit -> Toggle Block Selection tool (or just hit Shift+Alt+A) in action. Very useful! https://t.co/myMI2oaLLG<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="C_8MakOVwAAyGbU.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>Toggle Block Selection</title> +</head> +<body> + <h2>Toggle Block Selection</h2> + Edit -> Toggle Block Selection tool (or just hit Shift+Alt+A) is + demonstrated below. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="C_8MakOVwAAyGbU.mp4" type="video/mp4"> + <source src="C_8MakOVwAAyGbU.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/864423629697822720/C_8MakOVwAAyGbU.webm b/bundles/org.eclipse.jdt.tips.user/content/content/864423629697822720/C_8MakOVwAAyGbU.webm Binary files differnew file mode 100644 index 000000000..5422f1c7f --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/864423629697822720/C_8MakOVwAAyGbU.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/870170548722184192/870170548722184192.html b/bundles/org.eclipse.jdt.tips.user/content/content/870170548722184192/870170548722184192.html index bdcb0e4ef..bc496cf18 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/870170548722184192/870170548722184192.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/870170548722184192/870170548722184192.html @@ -1 +1,20 @@ -<h2>Description here</h2>Often you want to move lines up/down. Press Alt+Up/Dn to move the lines along with the cursor. Indenting is corrected for you. https://t.co/5tnaajebZf<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DBNlR-jXkAAnqvd.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>>Alt+Up and Alt+Down</title> +</head> +<body> + <h2>Alt+Up and Alt+Down</h2> + Press Alt+Up/Dn to move the selected lines along with the cursor. + Indenting is corrected for you. Alt+Shift+Up/Down copies the selection. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DBNlR-jXkAAnqvd.mp4" type="video/mp4"> + <source src="DBNlR-jXkAAnqvd.webm" type="video/webm"> + </video> +</body> +</html> diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/870170548722184192/DBNlR-jXkAAnqvd.webm b/bundles/org.eclipse.jdt.tips.user/content/content/870170548722184192/DBNlR-jXkAAnqvd.webm Binary files differnew file mode 100644 index 000000000..b2e802522 --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/870170548722184192/DBNlR-jXkAAnqvd.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/874600197195796482/874600197195796482.html b/bundles/org.eclipse.jdt.tips.user/content/content/874600197195796482/874600197195796482.html index 3450419eb..0993b753d 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/874600197195796482/874600197195796482.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/874600197195796482/874600197195796482.html @@ -1 +1,20 @@ -<h2>Description here</h2>Whatever element you have selected, code or item, 'Show in...' (Alt+Shift+W) command pops up useful views for various details! https://t.co/6GVpSPKOdT<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DCM0FlMXgAE4Zi0.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>Show in' for more Details</title> +</head> +<body> + <h2>'Show in' for more Details</h2> + Whatever element you have selected, code or item, 'Show in...' + (Alt+Shift+W) command pops up useful views for various details. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DCM0FlMXgAE4Zi0.mp4" type="video/mp4"> + <source src="DCM0FlMXgAE4Zi0.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/874600197195796482/DCM0FlMXgAE4Zi0.webm b/bundles/org.eclipse.jdt.tips.user/content/content/874600197195796482/DCM0FlMXgAE4Zi0.webm Binary files differnew file mode 100644 index 000000000..a68df7b42 --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/874600197195796482/DCM0FlMXgAE4Zi0.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/884689449917050880/884689449917050880.html b/bundles/org.eclipse.jdt.tips.user/content/content/884689449917050880/884689449917050880.html index ab8199641..d3f72ac11 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/884689449917050880/884689449917050880.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/884689449917050880/884689449917050880.html @@ -1 +1,20 @@ -<h2>Description here</h2>Always safer to 'Invert equals' on literal strings in order to avoid the horrible NullPointerException! Ctrl+1 does it for you. https://t.co/DmjMWgiySM<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DEcLzIkXkAA7Ehm.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>Invert Equals</title> +</head> +<body> + <h2>Invert Equals</h2> + Always safer to 'Invert equals' on literal strings in order to avoid a + NullPointerException! Ctrl+1 does it for you. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DEcLzIkXkAA7Ehm.mp4" type="video/mp4"> + <source src="DEcLzIkXkAA7Ehm.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/884689449917050880/DEcLzIkXkAA7Ehm.webm b/bundles/org.eclipse.jdt.tips.user/content/content/884689449917050880/DEcLzIkXkAA7Ehm.webm Binary files differnew file mode 100644 index 000000000..80dc7575e --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/884689449917050880/DEcLzIkXkAA7Ehm.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/888360858119745536/888360858119745536.html b/bundles/org.eclipse.jdt.tips.user/content/content/888360858119745536/888360858119745536.html index 13fa5c04f..05c315953 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/888360858119745536/888360858119745536.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/888360858119745536/888360858119745536.html @@ -1 +1,20 @@ -<h2>Description here</h2>Private methods in interfaces will be allowed in Here's an example use case with a shared 'worker' method. https://t.co/cdRcETAmMV<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DFQXckeXYAEYvWH.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>Private Methods in Interfaces</title> +</head> +<body> + <h2>Private Methods in Interfaces</h2> + Private methods in interfaces are allowed in Java9. Here's an example + use case with a shared 'worker' method. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DFQXckeXYAEYvWH.mp4" type="video/mp4"> + <source src="DFQXckeXYAEYvWH.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/888360858119745536/DFQXckeXYAEYvWH.webm b/bundles/org.eclipse.jdt.tips.user/content/content/888360858119745536/DFQXckeXYAEYvWH.webm Binary files differnew file mode 100644 index 000000000..f51d230ac --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/888360858119745536/DFQXckeXYAEYvWH.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/889435990976323584/889435990976323584.html b/bundles/org.eclipse.jdt.tips.user/content/content/889435990976323584/889435990976323584.html index e7512d423..92efe63aa 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/889435990976323584/889435990976323584.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/889435990976323584/889435990976323584.html @@ -1 +1,20 @@ -<h2>Description here</h2>Use the 'Quick Access' box (Ctrl+3) extensively to be more productive. Just type what you want and you'll probably find it. https://t.co/KQB2i4BuDU<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DFfpOZ1XkAAODhc.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>CTRL+3 - The Master Shortcut</title> +</head> +<body> + <h2>CTRL+3 - The Master Shortcut</h2> + Use the 'Quick Access' box (Ctrl+3) to be more productive. Just type + what you want and you'll probably find it. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DFfpOZ1XkAAODhc.mp4" type="video/mp4"> + <source src="DFfpOZ1XkAAODhc.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/889435990976323584/DFfpOZ1XkAAODhc.webm b/bundles/org.eclipse.jdt.tips.user/content/content/889435990976323584/DFfpOZ1XkAAODhc.webm Binary files differnew file mode 100644 index 000000000..ca78aff89 --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/889435990976323584/DFfpOZ1XkAAODhc.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/902851499503607808/902851499503607808.html b/bundles/org.eclipse.jdt.tips.user/content/content/902851499503607808/902851499503607808.html index 9db2fafdd..069cdbb18 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/902851499503607808/902851499503607808.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/902851499503607808/902851499503607808.html @@ -1 +1,20 @@ -<h2>Description here</h2>Put your cursor on a class name (or method) and press Shift+F2 to jump to the web version of your library's Javadoc! https://t.co/vpUavzUgk6<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DIeSlFiUwAAWjcg.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>Jump to Javadoc on Web</title> +</head> +<body> + <h2>Jump to Javadoc on Web</h2> + Put your cursor on a class name (or method) and press Shift+F2 to jump + to the web version of your library's Javadoc. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DIeSlFiUwAAWjcg.mp4" type="video/mp4"> + <source src="DIeSlFiUwAAWjcg.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/902851499503607808/DIeSlFiUwAAWjcg.webm b/bundles/org.eclipse.jdt.tips.user/content/content/902851499503607808/DIeSlFiUwAAWjcg.webm Binary files differnew file mode 100644 index 000000000..ac5a08044 --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/902851499503607808/DIeSlFiUwAAWjcg.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/910089046600425472/910089046600425472.html b/bundles/org.eclipse.jdt.tips.user/content/content/910089046600425472/910089046600425472.html index 546a7f5c5..a6ec40023 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/910089046600425472/910089046600425472.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/910089046600425472/910089046600425472.html @@ -1 +1,20 @@ -<h2>Description here</h2>You can use methods returning streams as a source of parameters in tests. Use @MethodSource as shown below. https://t.co/Jr1o00YEof<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DKFJClMW4AAK2pR.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>Streams as Test Parameters</title> +</head> +<body> + <h2>Streams as Test Parameters</h2> + You can use methods returning Java streams as a source of parameters in + JUnit5 tests. Use @MethodSource as shown below. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DKFJClMW4AAK2pR.mp4" type="video/mp4"> + <source src="DKFJClMW4AAK2pR.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/910089046600425472/DKFJClMW4AAK2pR.webm b/bundles/org.eclipse.jdt.tips.user/content/content/910089046600425472/DKFJClMW4AAK2pR.webm Binary files differnew file mode 100644 index 000000000..e51e9ee1c --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/910089046600425472/DKFJClMW4AAK2pR.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/920608130274381825/920608130274381825.html b/bundles/org.eclipse.jdt.tips.user/content/content/920608130274381825/920608130274381825.html index 6daf77ad5..ff4017af1 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/920608130274381825/920608130274381825.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/920608130274381825/920608130274381825.html @@ -1 +1,20 @@ -<h2>Description here</h2>In parameterized tests also accept CSV literals (and files) as a source of parameters. Quite handy to feed your tests! https://t.co/T7Lphj5eyl<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DMaoGYlXUAMDRFF.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>CSV in Parameterised Tests</title> +</head> +<body> + <h2>CSV in Parameterised Tests</h2> + In JUnit5 parameterised tests also accept CSV literals (and files) as a + source of parameters. Quite handy to feed your tests! + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DMaoGYlXUAMDRFF.mp4" type="video/mp4"> + <source src="DMaoGYlXUAMDRFF.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/920608130274381825/DMaoGYlXUAMDRFF.webm b/bundles/org.eclipse.jdt.tips.user/content/content/920608130274381825/DMaoGYlXUAMDRFF.webm Binary files differnew file mode 100644 index 000000000..84f5600be --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/920608130274381825/DMaoGYlXUAMDRFF.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/927527210772258816/927527210772258816.html b/bundles/org.eclipse.jdt.tips.user/content/content/927527210772258816/927527210772258816.html index 2823b8b8f..44a8027ab 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/927527210772258816/927527210772258816.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/927527210772258816/927527210772258816.html @@ -1 +1,20 @@ -<h2>Description here</h2>You can directly use a CSV file as a parameter source in parameterized tests. Very handy to feed a large nr of cases! https://t.co/FDMPAzR2em<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DN88_JCXcAAJaaX.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>Use CSV as Parameter Source</title> +</head> +<body> + <h2>Use CSV as Parameter Source</h2> + You can directly use a CSV file as a parameter source in JUnit5 + parameterised tests for a large number of cases. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DN88_JCXcAAJaaX.mp4" type="video/mp4"> + <source src="DN88_JCXcAAJaaX.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/927527210772258816/DN88_JCXcAAJaaX.webm b/bundles/org.eclipse.jdt.tips.user/content/content/927527210772258816/DN88_JCXcAAJaaX.webm Binary files differnew file mode 100644 index 000000000..73e3c7dd4 --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/927527210772258816/DN88_JCXcAAJaaX.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/931124796502536192/931124796502536192.html b/bundles/org.eclipse.jdt.tips.user/content/content/931124796502536192/931124796502536192.html index 0c56747d4..98466da52 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/931124796502536192/931124796502536192.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/931124796502536192/931124796502536192.html @@ -1 +1,19 @@ -<h2>Description here</h2>Enjoy the Edit -> Block Selection (Alt+Shift+A) while working on your https://t.co/txMxd39pJ0 https://t.co/X63mh9uDd7<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DOwE-C_X0AA6bb5.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>Block Selection</title> +</head> +<body> + <h2>Block Selection</h2> + Use the Edit -> Block Selection (Alt+Shift+A) while working with Java9. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DOwE-C_X0AA6bb5.mp4" type="video/mp4"> + <source src="DOwE-C_X0AA6bb5.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/931124796502536192/DOwE-C_X0AA6bb5.webm b/bundles/org.eclipse.jdt.tips.user/content/content/931124796502536192/DOwE-C_X0AA6bb5.webm Binary files differnew file mode 100644 index 000000000..ec63b0b73 --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/931124796502536192/DOwE-C_X0AA6bb5.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/941264226940850177/941264226940850177.html b/bundles/org.eclipse.jdt.tips.user/content/content/941264226940850177/941264226940850177.html index 45de9f41c..80b96f6a5 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/941264226940850177/941264226940850177.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/941264226940850177/941264226940850177.html @@ -1 +1,19 @@ -<h2>Description here</h2>Need to check for null? Use the ifnull template and don't slow down! https://t.co/FrDemG6rPS<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DRAKxCrWkAEMkEm.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>The 'ifnull' Template</title> +</head> +<body> + <h2>The 'ifnull' Template</h2> + Use the 'ifnull' template to quickly create an if null check. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DRAKxCrWkAEMkEm.mp4" type="video/mp4"> + <source src="DRAKxCrWkAEMkEm.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/941264226940850177/DRAKxCrWkAEMkEm.webm b/bundles/org.eclipse.jdt.tips.user/content/content/941264226940850177/DRAKxCrWkAEMkEm.webm Binary files differnew file mode 100644 index 000000000..1d1a44851 --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/941264226940850177/DRAKxCrWkAEMkEm.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/941624342282108929/941624342282108929.html b/bundles/org.eclipse.jdt.tips.user/content/content/941624342282108929/941624342282108929.html index 88f32ecfd..b76f238fe 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/941624342282108929/941624342282108929.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/941624342282108929/941624342282108929.html @@ -1 +1,19 @@ -<h2>Description here</h2>You don't need to know which module contains a class in Ctrl-1 can identify the module and add it for you! https://t.co/OGjB3V7vJJ<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DRFSS0sWsAEDJb-.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>Add Module</title> +</head> +<body> + <h2>Add Module</h2> + You don't need to know which module contains a class in Java9. Ctrl-1 + can identify the module and add it for you. + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DRFSS0sWsAEDJb-.mp4" type="video/mp4"> + <source src="DRFSS0sWsAEDJb-.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/941624342282108929/DRFSS0sWsAEDJb-.webm b/bundles/org.eclipse.jdt.tips.user/content/content/941624342282108929/DRFSS0sWsAEDJb-.webm Binary files differnew file mode 100644 index 000000000..9b2af9d59 --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/941624342282108929/DRFSS0sWsAEDJb-.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/949238007051235328/949238007051235328.html b/bundles/org.eclipse.jdt.tips.user/content/content/949238007051235328/949238007051235328.html index 2ec93333c..6946e7da4 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/949238007051235328/949238007051235328.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/949238007051235328/949238007051235328.html @@ -1 +1,21 @@ -<h2>Description here</h2>The 'Extract class...' refactoring (from Alt+Shift+T) extracts a group of fields into a separate class and replaces all occurrences to fit the new structure. See example. https://t.co/tEI7ic7C1g<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DSxe5wyW4AAebyT.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>Extract class refactoring (Alt+Shift+T)</title> +</head> +<body> + <h2>Extract class refactoring (Alt+Shift+T)</h2> + The 'Extract class...' refactoring (from Alt+Shift+T) extracts a group + of fields into a separate class and replaces all occurrences to fit the + new structure. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DSxe5wyW4AAebyT.mp4" type="video/mp4"> + <source src="DSxe5wyW4AAebyT.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/949238007051235328/DSxe5wyW4AAebyT.webm b/bundles/org.eclipse.jdt.tips.user/content/content/949238007051235328/DSxe5wyW4AAebyT.webm Binary files differnew file mode 100644 index 000000000..995aae42c --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/949238007051235328/DSxe5wyW4AAebyT.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/950773930775793664/950773930775793664.html b/bundles/org.eclipse.jdt.tips.user/content/content/950773930775793664/950773930775793664.html index 49f3eabc8..9a9af5412 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/950773930775793664/950773930775793664.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/950773930775793664/950773930775793664.html @@ -1 +1,19 @@ -<h2>Description here</h2>Use the 'new' template for quick object creation. https://t.co/yI33PEmfkm<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DTHT0RbXUAAnGoJ.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>The 'new' Template</title> +</head> +<body> + <h2>The 'new' Template</h2> + Use the 'new' template for quick object creation. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DTHT0RbXUAAnGoJ.mp4" type="video/mp4"> + <source src="DTHT0RbXUAAnGoJ.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/950773930775793664/DTHT0RbXUAAnGoJ.webm b/bundles/org.eclipse.jdt.tips.user/content/content/950773930775793664/DTHT0RbXUAAnGoJ.webm Binary files differnew file mode 100644 index 000000000..116d72f8d --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/950773930775793664/DTHT0RbXUAAnGoJ.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/976836214857740288/976836214857740288.html b/bundles/org.eclipse.jdt.tips.user/content/content/976836214857740288/976836214857740288.html index 3864c82f6..4aeb54e43 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/content/976836214857740288/976836214857740288.html +++ b/bundles/org.eclipse.jdt.tips.user/content/content/976836214857740288/976836214857740288.html @@ -1 +1,21 @@ -<h2>Description here</h2>is out. Time to play with 'var'. Try it out with @EclipseJavaIDE and its new quick assists (Ctrl+1). https://t.co/iUJcGjV1Ts https://t.co/HfJqlymzZb<br><br><br><br><center><video style="width: 80%;" autoplay="true"> <source src="DY5qzHEXkAAc-7O.mp4" type="video/mp4"></video></center>
\ No newline at end of file +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="UTF-8"> +<title>Java 10 'var'</title> +</head> +<body> + <h2>Java 10 'var'</h2> + Use Java 10 and the new 'var' statement in Eclipse with its quick + assists (Ctrl+1). Install Java 10 support from Eclipse Marketplace + first. + <br> + <br> + <br> + <br> + <video style="width: 80%; display: block; margin: 0 auto;" autoplay> + <source src="DY5qzHEXkAAc-7O.mp4" type="video/mp4"> + <source src="DY5qzHEXkAAc-7O.webm" type="video/webm"> + </video> +</body> +</html>
\ No newline at end of file diff --git a/bundles/org.eclipse.jdt.tips.user/content/content/976836214857740288/DY5qzHEXkAAc-7O.webm b/bundles/org.eclipse.jdt.tips.user/content/content/976836214857740288/DY5qzHEXkAAc-7O.webm Binary files differnew file mode 100644 index 000000000..d580ecc74 --- /dev/null +++ b/bundles/org.eclipse.jdt.tips.user/content/content/976836214857740288/DY5qzHEXkAAc-7O.webm diff --git a/bundles/org.eclipse.jdt.tips.user/content/jdttips.json b/bundles/org.eclipse.jdt.tips.user/content/jdttips.json index 989e6a6ae..2c3add5f4 100644 --- a/bundles/org.eclipse.jdt.tips.user/content/jdttips.json +++ b/bundles/org.eclipse.jdt.tips.user/content/jdttips.json @@ -4,7 +4,6 @@ "description": "Java and JDT Tips", "expression": "<with variable=\"activeWorkbenchWindow.activePerspective\"><equals value=\"org.eclipse.jdt.ui.JavaPerspective\"></equals></with>", "variables": { - "baseUrlx": "file:///C:/Users/jongw/git/eclipse.platform.common/tips/org.eclipse.jdt.ui", "baseUrl": "http://www.eclipse.org/downloads/download.php?r=1&file=/e4/tips/org.eclipse.jdt.tips.user" }, "tips": [{ |
