src/eric7/Documentation/Source/eric7.Project.ProjectSourcesBrowser.html

branch
eric7
changeset 9454
f3cf935c0c66
parent 9215
30d7f7fd2b4a
child 9530
c30f02ea1b27
diff -r e5065dde905d -r f3cf935c0c66 src/eric7/Documentation/Source/eric7.Project.ProjectSourcesBrowser.html
--- a/src/eric7/Documentation/Source/eric7.Project.ProjectSourcesBrowser.html	Mon Oct 31 15:29:18 2022 +0100
+++ b/src/eric7/Documentation/Source/eric7.Project.ProjectSourcesBrowser.html	Mon Oct 31 15:34:41 2022 +0100
@@ -124,6 +124,10 @@
 <td>Private method to format the selected project sources using the 'Black' tool.</td>
 </tr>
 <tr>
+<td><a href="#ProjectSourcesBrowser.__performImportSortingWithIsort">__performImportSortingWithIsort</a></td>
+<td>Private method to sort the import statements of the selected project sources using the 'isort' tool.</td>
+</tr>
+<tr>
 <td><a href="#ProjectSourcesBrowser.__showApplicationDiagram">__showApplicationDiagram</a></td>
 <td>Private method to handle the application diagram context menu action.</td>
 </tr>
@@ -343,6 +347,31 @@
 formatting operation to be performed
 </dd>
 </dl>
+<a NAME="ProjectSourcesBrowser.__performImportSortingWithIsort" ID="ProjectSourcesBrowser.__performImportSortingWithIsort"></a>
+<h4>ProjectSourcesBrowser.__performImportSortingWithIsort</h4>
+<b>__performImportSortingWithIsort</b>(<i>action</i>)
+
+<p>
+        Private method to sort the import statements of the selected project sources
+        using the 'isort' tool.
+</p>
+<p>
+        Following actions are supported.
+        <ul>
+        <li>IsortFormattingAction.Sort - the import statement sorting is performed</li>
+        <li>IsortFormattingAction.Check - a check is performed, if import statement
+            resorting is necessary</li>
+        <li>IsortFormattingAction.Diff - a unified diff of potential import statement
+            changes is generated</li>
+        </ul>
+</p>
+<dl>
+
+<dt><i>action</i> (IsortFormattingAction)</dt>
+<dd>
+sorting operation to be performed
+</dd>
+</dl>
 <a NAME="ProjectSourcesBrowser.__showApplicationDiagram" ID="ProjectSourcesBrowser.__showApplicationDiagram"></a>
 <h4>ProjectSourcesBrowser.__showApplicationDiagram</h4>
 <b>__showApplicationDiagram</b>(<i></i>)

eric ide

mercurial