Update tips and tricks (RM-17709)

This commit is contained in:
Dmitry Trofimov
2018-07-19 20:25:17 +03:00
parent 4db54ee6e5
commit 6586a60cc7
20 changed files with 142 additions and 4 deletions
@@ -0,0 +1,15 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>
In case there are several debuggers that can be used for the selected process, you can
choose among them in the pop-up menu. </p>
<p>You can enable showing only specific processes in the <span class="control">Attach to Process</span> list. <br/>
Add the required pattern to the corresponding field in the <span class="control">Python Debugger</span> settings
(<span class="control">Settings/Preferences | Build, Execution, Deployment | Python Debugger</span>).</p>
<p class="image"><img src="images/py_attach_to_process.png" width="400"/></p>
</body>
</html>
@@ -0,0 +1,16 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>
<p>
If you want to update a package for your project interperter
to any pre-release version (such as beta or release candidate),
click <span class="control">Show early releases</span> in the <span class="control">Project Interpreter</span> dialog (<span class="control">Settings/Preferences | Project |
Project Interpreter</span>), then proceed with package updating.
</p>
<p class="image">
<img src="images/py_show_earlier_releases.png" width="400"></p>
</body>
</html>
@@ -0,0 +1,11 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>
Quickly jump from the <i>pytest fixture</i> to the tested code. Right-click on the selected fixture in the
<span class="control">Editor</span> and select <span class="control">Go to | Declaration</span> from the context menu.
</p>
</body>
</html>
@@ -0,0 +1,15 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>
Use the <span class="control">Run/Debug Configuration</span> dialog to automatically submit input values
from a text file instead of typing them in the <span class="control">Run</span> tool window.<br/>
To enable redirecting, select the <span class="control">Redirect input</span> from checkbox and specify the
path to the target file.
</p>
<p class="image">
<img src="images/py_redirect_input.png" width="400"></p>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

@@ -125,5 +125,9 @@
<tipAndTrick file="PrintKeywords.html"/>
<tipAndTrick file="RichTextCopy.html"/>
<tipAndTrick file="ScratchesView.html"/>
<tipAndTrick file="AttachToProcess.html"/>
<tipAndTrick file="PreReleasedPackages.html"/>
<tipAndTrick file="PytestFixtures.html"/>
<tipAndTrick file="RedirectingInput.html"/>
</extensions>
</idea-plugin>
@@ -123,5 +123,10 @@
<tipAndTrick file="PrintKeywords.html"/>
<tipAndTrick file="RichTextCopy.html"/>
<tipAndTrick file="ScratchesView.html"/>
<tipAndTrick file="AttachToProcess.html"/>
<tipAndTrick file="OnDemandLoadingPolicy.html"/>
<tipAndTrick file="PreReleasedPackages.html"/>
<tipAndTrick file="PytestFixtures.html"/>
<tipAndTrick file="RedirectingInput.html"/>
</extensions>
</idea-plugin>
@@ -0,0 +1,15 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>
In case there are several debuggers that can be used for the selected process, you can
choose among them in the pop-up menu. </p>
<p>You can enable showing only specific processes in the <span class="control">Attach to Process</span> list. <br/>
Add the required pattern to the corresponding field in the <span class="control">Python Debugger</span> settings
(<span class="control">Settings/Preferences | Build, Execution, Deployment | Python Debugger</span>).</p>
<p class="image"><img src="images/py_attach_to_process.png" width="400"/></p>
</body>
</html>
@@ -4,11 +4,11 @@
</head>
<body>
<p>
While debugging, you might need an interactive console at hand... This is most easy.
During the debugging session, switch to the Debugger Console,
and then press the very lowest button in its toolbar.
While debugging, you may need an interactive console at hand... This is mostly easy.
During debugging, switch to the <span class="control">Debugger Console</span>,
and then press the lowest button in its toolbar.
</p>
<p>The console becomes interactive, and shows a prompt, where you can enter commands, and view output.</p>
<p>The console becomes interactive and it shows a prompt, where you can enter commands and view output.</p>
<p class="image"><img src="images/launch_console_in_debugger.png" alt="launch_console_in_debugger"/></p>
</body>
@@ -0,0 +1,15 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>
If loading variables during debugging takes a long time, you might see the
<span class="control">Loading timed out</span> warning messages. </p>
<p>Click the <span class="control">Switch to loading on demand</span> link in the <span class="control">Variables</span>
window to switch to the mode when variables are loaded on user's request.
</p>
<p class="image">
<img src="images/py_loading_variables_timed_out.png" width="700"></p>
</body>
</html>
@@ -0,0 +1,16 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>
<p>
If you want to update a package for your project interperter
to any pre-release version (such as beta or release candidate),
click <span class="control">Show early releases</span> in the <span class="control">Project Interpreter</span> dialog (<span class="control">Settings/Preferences | Project |
Project Interpreter</span>), then proceed with package updating.
</p>
<p class="image">
<img src="images/py_show_earlier_releases.png" width="400"></p>
</body>
</html>
@@ -0,0 +1,11 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>
Quickly jump from the <i>pytest fixture</i> to the tested code. Right-click on the selected fixture in the
<span class="control">Editor</span> and select <span class="control">Go to | Declaration</span> from the context menu.
</p>
</body>
</html>
@@ -0,0 +1,15 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/tips.css">
</head>
<body>
<p>
Use the <span class="control">Run/Debug Configuration</span> dialog to automatically submit input values
from a text file instead of typing them in the <span class="control">Run</span> tool window.<br/>
To enable redirecting, select the <span class="control">Redirect input</span> from checkbox and specify the
path to the target file.
</p>
<p class="image">
<img src="images/py_redirect_input.png" width="400"></p>
</body>
</html>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB