--- a/eric7/Documentation/Source/eric7.JediInterface.JediServer.html Tue Oct 05 19:47:03 2021 +0200 +++ b/eric7/Documentation/Source/eric7.JediInterface.JediServer.html Tue Oct 05 19:48:08 2021 +0200 @@ -59,6 +59,18 @@ <td>Constructor</td> </tr> <tr> +<td><a href="#JediServer.__applyRefactoring">__applyRefactoring</a></td> +<td>Private method to apply a given refactoring.</td> +</tr> +<tr> +<td><a href="#JediServer.__cancelRefactoring">__cancelRefactoring</a></td> +<td>Private method to cancel a given refactoring.</td> +</tr> +<tr> +<td><a href="#JediServer.__checkRefactoringResult">__checkRefactoringResult</a></td> +<td>Private method to check the refactoring result for errors.</td> +</tr> +<tr> <td><a href="#JediServer.__ensureActive">__ensureActive</a></td> <td>Private method to ensure, that the requested client is active.</td> </tr> @@ -111,6 +123,10 @@ <td>Private slot to handle the projectOpened signal.</td> </tr> <tr> +<td><a href="#JediServer.__showRefactoringDiff">__showRefactoringDiff</a></td> +<td>Private method to show the diff of a refactoring.</td> +</tr> +<tr> <td><a href="#JediServer.__startJediClient">__startJediClient</a></td> <td>Private method to start the Jedi client with the given interpreter.</td> </tr> @@ -151,6 +167,22 @@ <td>Public method to check, if the given language is supported.</td> </tr> <tr> +<td><a href="#JediServer.refactoringExtractFunction">refactoringExtractFunction</a></td> +<td>Public slot to extract an expression to a function.</td> +</tr> +<tr> +<td><a href="#JediServer.refactoringExtractNewVariable">refactoringExtractNewVariable</a></td> +<td>Public slot to extract a statement to a new variable.</td> +</tr> +<tr> +<td><a href="#JediServer.refactoringInlineVariable">refactoringInlineVariable</a></td> +<td>Public slot to inline the selected variable.</td> +</tr> +<tr> +<td><a href="#JediServer.refactoringRenameVariable">refactoringRenameVariable</a></td> +<td>Public slot to rename the selected variable.</td> +</tr> +<tr> <td><a href="#JediServer.requestCodeDocumentation">requestCodeDocumentation</a></td> <td>Public method to request source code documentation for the given editor.</td> </tr> @@ -187,6 +219,48 @@ reference to the user interface </dd> </dl> +<a NAME="JediServer.__applyRefactoring" ID="JediServer.__applyRefactoring"></a> +<h4>JediServer.__applyRefactoring</h4> +<b>__applyRefactoring</b>(<i>uid</i>) + +<p> + Private method to apply a given refactoring. +</p> +<dl> + +<dt><i>uid</i> (str)</dt> +<dd> +UID of the calculated refactoring +</dd> +</dl> +<a NAME="JediServer.__cancelRefactoring" ID="JediServer.__cancelRefactoring"></a> +<h4>JediServer.__cancelRefactoring</h4> +<b>__cancelRefactoring</b>(<i>uid</i>) + +<p> + Private method to cancel a given refactoring. +</p> +<dl> + +<dt><i>uid</i> (str)</dt> +<dd> +UID of the calculated refactoring +</dd> +</dl> +<a NAME="JediServer.__checkRefactoringResult" ID="JediServer.__checkRefactoringResult"></a> +<h4>JediServer.__checkRefactoringResult</h4> +<b>__checkRefactoringResult</b>(<i>result</i>) + +<p> + Private method to check the refactoring result for errors. +</p> +<dl> + +<dt><i>result</i> (dict)</dt> +<dd> +dictionary containing the result data +</dd> +</dl> <a NAME="JediServer.__ensureActive" ID="JediServer.__ensureActive"></a> <h4>JediServer.__ensureActive</h4> <b>__ensureActive</b>(<i>idString</i>) @@ -401,6 +475,20 @@ <p> Private slot to handle the projectOpened signal. </p> +<a NAME="JediServer.__showRefactoringDiff" ID="JediServer.__showRefactoringDiff"></a> +<h4>JediServer.__showRefactoringDiff</h4> +<b>__showRefactoringDiff</b>(<i>result</i>) + +<p> + Private method to show the diff of a refactoring. +</p> +<dl> + +<dt><i>result</i> (dict)</dt> +<dd> +dictionary containing the result data +</dd> +</dl> <a NAME="JediServer.__startJediClient" ID="JediServer.__startJediClient"></a> <h4>JediServer.__startJediClient</h4> <b>__startJediClient</b>(<i>interpreter, idString, clientEnv</i>) @@ -582,6 +670,37 @@ bool </dd> </dl> +<a NAME="JediServer.refactoringExtractFunction" ID="JediServer.refactoringExtractFunction"></a> +<h4>JediServer.refactoringExtractFunction</h4> +<b>refactoringExtractFunction</b>(<i></i>) + +<p> + Public slot to extract an expression to a function. +</p> +<a NAME="JediServer.refactoringExtractNewVariable" ID="JediServer.refactoringExtractNewVariable"></a> +<h4>JediServer.refactoringExtractNewVariable</h4> +<b>refactoringExtractNewVariable</b>(<i></i>) + +<p> + Public slot to extract a statement to a new variable. +</p> +<a NAME="JediServer.refactoringInlineVariable" ID="JediServer.refactoringInlineVariable"></a> +<h4>JediServer.refactoringInlineVariable</h4> +<b>refactoringInlineVariable</b>(<i></i>) + +<p> + Public slot to inline the selected variable. +</p> +<p> + Note: This is the opposite to Extract New Variable. +</p> +<a NAME="JediServer.refactoringRenameVariable" ID="JediServer.refactoringRenameVariable"></a> +<h4>JediServer.refactoringRenameVariable</h4> +<b>refactoringRenameVariable</b>(<i></i>) + +<p> + Public slot to rename the selected variable. +</p> <a NAME="JediServer.requestCodeDocumentation" ID="JediServer.requestCodeDocumentation"></a> <h4>JediServer.requestCodeDocumentation</h4> <b>requestCodeDocumentation</b>(<i>editor</i>)