From f723b072a82bde1aab732a1a3606aec4f21c3893 Mon Sep 17 00:00:00 2001 From: Dmitry Trofimov Date: Wed, 28 May 2014 12:45:22 +0200 Subject: [PATCH] Tips added (PY-12484). --- python/resources/tips/LiveTemplatesRestore.html | 12 ++++++++++++ python/resources/tips/Multicursor.html | 17 +++++++++++++++++ python/resources/tips/Multicursor1.html | 13 +++++++++++++ .../tips/QuickDocInSuggestionList.html | 14 ++++++++++++++ python/resources/tips/QuickDocOnMouseMove.html | 15 +++++++++++++++ python/resources/tips/TerminalOpen.html | 14 ++++++++++++++ python/src/META-INF/IdeTipsAndTricks.xml | 6 ++++++ 7 files changed, 91 insertions(+) create mode 100755 python/resources/tips/LiveTemplatesRestore.html create mode 100755 python/resources/tips/Multicursor.html create mode 100755 python/resources/tips/Multicursor1.html create mode 100755 python/resources/tips/QuickDocInSuggestionList.html create mode 100755 python/resources/tips/QuickDocOnMouseMove.html create mode 100755 python/resources/tips/TerminalOpen.html diff --git a/python/resources/tips/LiveTemplatesRestore.html b/python/resources/tips/LiveTemplatesRestore.html new file mode 100755 index 000000000000..dd090591347f --- /dev/null +++ b/python/resources/tips/LiveTemplatesRestore.html @@ -0,0 +1,12 @@ + + + + + + +

If you've changed a live template, it becomes blue. If you want to return to the +original text, right-click such a blue template, and choose +Restore defaults on the context menu. +

+ + diff --git a/python/resources/tips/Multicursor.html b/python/resources/tips/Multicursor.html new file mode 100755 index 000000000000..251d849acab1 --- /dev/null +++ b/python/resources/tips/Multicursor.html @@ -0,0 +1,17 @@ + + + + + + + +

In &productName;, you can have multiple cursors. +Having pressed Alt, click the left mouse button +at the desired position to set additional cursors in the editor.

+

Press &shortcut:EditorEscape; to remove all the additional cursors +but one that resides at the line at caret.

+

+ + + + diff --git a/python/resources/tips/Multicursor1.html b/python/resources/tips/Multicursor1.html new file mode 100755 index 000000000000..21bf62ffbd90 --- /dev/null +++ b/python/resources/tips/Multicursor1.html @@ -0,0 +1,13 @@ + + + + + + + +

Clone the cursor strictly upwards or downwards. To do that, +press &shortcut:GotoAction; twice, type +Clone caret, and then choose the desired action.

+

+ + diff --git a/python/resources/tips/QuickDocInSuggestionList.html b/python/resources/tips/QuickDocInSuggestionList.html new file mode 100755 index 000000000000..94d0e5a2e0d3 --- /dev/null +++ b/python/resources/tips/QuickDocInSuggestionList.html @@ -0,0 +1,14 @@ + + + + + + + +

When choosing a live template from a suggestion list, press +&shortcut:QuickJavaDoc; to view quick documentation - +to be sure you make a right choice:

+

+ + + diff --git a/python/resources/tips/QuickDocOnMouseMove.html b/python/resources/tips/QuickDocOnMouseMove.html new file mode 100755 index 000000000000..9499aeaeaad5 --- /dev/null +++ b/python/resources/tips/QuickDocOnMouseMove.html @@ -0,0 +1,15 @@ + + + + + + +

You don't need to invoke quick documentation explicitly +(&shortcut:QuickJavaDoc;) - if you just move your mouse +pointer over the desired symbol, the quick documentation pop-up window will show +automatically.

+

To enable this feature, select the check box Show quick doc on mouse move +in the editor settings. +

+ + diff --git a/python/resources/tips/TerminalOpen.html b/python/resources/tips/TerminalOpen.html new file mode 100755 index 000000000000..bb96ceebb64b --- /dev/null +++ b/python/resources/tips/TerminalOpen.html @@ -0,0 +1,14 @@ + + + + + + + +

&productName; makes it possible to +launch the embedded local terminal using keyboard only. Press +&shortcut:ActivateTerminalToolWindow;, +and see the terminal running. +

+ + diff --git a/python/src/META-INF/IdeTipsAndTricks.xml b/python/src/META-INF/IdeTipsAndTricks.xml index 7237331653b9..e920175552b6 100644 --- a/python/src/META-INF/IdeTipsAndTricks.xml +++ b/python/src/META-INF/IdeTipsAndTricks.xml @@ -108,5 +108,11 @@ + + + + + + \ No newline at end of file