Tue, 07 Nov 2023 15:17:48 +0100
Implemented the first iteration of the pyright typing checker interface.
1
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1 | <!DOCTYPE html> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2 | <html><head> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
3 | <title>Plugin_Checker_Pyright.PluginPyright</title> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
4 | <meta charset="UTF-8"> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
5 | <link rel="stylesheet" href="styles.css"> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
6 | </head> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
7 | <body> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
8 | <a NAME="top" ID="top"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
9 | <h1>Plugin_Checker_Pyright.PluginPyright</h1> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
10 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
11 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
12 | Module implementing the pyright plug-in. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
13 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
14 | <h3>Global Attributes</h3> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
15 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
16 | <table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
17 | <tr><td>__header__</td></tr><tr><td>error</td></tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
18 | </table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
19 | <h3>Classes</h3> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
20 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
21 | <table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
22 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
23 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
24 | <td><a href="#PyrightPlugin">PyrightPlugin</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
25 | <td>Class documentation goes here.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
26 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
27 | </table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
28 | <h3>Functions</h3> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
29 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
30 | <table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
31 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
32 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
33 | <td><a href="#installDependencies">installDependencies</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
34 | <td>Function to install dependencies of this plug-in.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
35 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
36 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
37 | <td><a href="#prepareUninstall">prepareUninstall</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
38 | <td>Module function to prepare for an uninstallation.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
39 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
40 | </table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
41 | <hr /> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
42 | <hr /> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
43 | <a NAME="PyrightPlugin" ID="PyrightPlugin"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
44 | <h2>PyrightPlugin</h2> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
45 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
46 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
47 | Class documentation goes here. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
48 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
49 | <h3>Derived from</h3> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
50 | QObject |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
51 | <h3>Class Attributes</h3> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
52 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
53 | <table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
54 | <tr><td>PreferencesKey</td></tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
55 | </table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
56 | <h3>Class Methods</h3> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
57 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
58 | <table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
59 | <tr><td>None</td></tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
60 | </table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
61 | <h3>Methods</h3> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
62 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
63 | <table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
64 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
65 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
66 | <td><a href="#PyrightPlugin.__init__">PyrightPlugin</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
67 | <td>Constructor</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
68 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
69 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
70 | <td><a href="#PyrightPlugin.__editorClosed">__editorClosed</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
71 | <td>Private slot called, when an editor was closed.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
72 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
73 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
74 | <td><a href="#PyrightPlugin.__editorOpened">__editorOpened</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
75 | <td>Private slot called, when a new editor was opened.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
76 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
77 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
78 | <td><a href="#PyrightPlugin.__editorPyrightCheck">__editorPyrightCheck</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
79 | <td>Private slot to handle the code style check context menu action of the editors.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
80 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
81 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
82 | <td><a href="#PyrightPlugin.__editorShowMenu">__editorShowMenu</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
83 | <td>Private slot called, when the the editor context menu or a submenu is about to be shown.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
84 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
85 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
86 | <td><a href="#PyrightPlugin.__initialize">__initialize</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
87 | <td>Private slot to (re)initialize the plug-in.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
88 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
89 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
90 | <td><a href="#PyrightPlugin.__loadTranslator">__loadTranslator</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
91 | <td>Private method to load the translation file.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
92 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
93 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
94 | <td><a href="#PyrightPlugin.__projectBrowserPyrightCheck">__projectBrowserPyrightCheck</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
95 | <td>Private method to handle the static typing check context menu action of the project sources browser.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
96 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
97 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
98 | <td><a href="#PyrightPlugin.__projectBrowserShowMenu">__projectBrowserShowMenu</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
99 | <td>Private slot called, when the the project browser menu or a submenu is about to be shown.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
100 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
101 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
102 | <td><a href="#PyrightPlugin.__projectPyrightCheck">__projectPyrightCheck</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
103 | <td>Private slot used to check the project for static typing issues.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
104 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
105 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
106 | <td><a href="#PyrightPlugin.__projectShowMenu">__projectShowMenu</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
107 | <td>Private slot called, when the the project menu or a submenu is about to be shown.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
108 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
109 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
110 | <td><a href="#PyrightPlugin.activate">activate</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
111 | <td>Public method to activate this plug-in.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
112 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
113 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
114 | <td><a href="#PyrightPlugin.deactivate">deactivate</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
115 | <td>Public method to deactivate this plug-in.</td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
116 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
117 | </table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
118 | <h3>Static Methods</h3> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
119 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
120 | <table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
121 | <tr><td>None</td></tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
122 | </table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
123 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
124 | <a NAME="PyrightPlugin.__init__" ID="PyrightPlugin.__init__"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
125 | <h4>PyrightPlugin (Constructor)</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
126 | <b>PyrightPlugin</b>(<i>ui</i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
127 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
128 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
129 | Constructor |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
130 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
131 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
132 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
133 | <dt><i>ui</i> (UI.UserInterface)</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
134 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
135 | reference to the user interface object |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
136 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
137 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
138 | <a NAME="PyrightPlugin.__editorClosed" ID="PyrightPlugin.__editorClosed"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
139 | <h4>PyrightPlugin.__editorClosed</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
140 | <b>__editorClosed</b>(<i>editor</i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
141 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
142 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
143 | Private slot called, when an editor was closed. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
144 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
145 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
146 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
147 | <dt><i>editor</i> (QScintilla.Editor)</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
148 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
149 | reference to the editor |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
150 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
151 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
152 | <a NAME="PyrightPlugin.__editorOpened" ID="PyrightPlugin.__editorOpened"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
153 | <h4>PyrightPlugin.__editorOpened</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
154 | <b>__editorOpened</b>(<i>editor</i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
155 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
156 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
157 | Private slot called, when a new editor was opened. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
158 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
159 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
160 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
161 | <dt><i>editor</i> (QScintilla.Editor)</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
162 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
163 | reference to the new editor |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
164 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
165 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
166 | <a NAME="PyrightPlugin.__editorPyrightCheck" ID="PyrightPlugin.__editorPyrightCheck"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
167 | <h4>PyrightPlugin.__editorPyrightCheck</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
168 | <b>__editorPyrightCheck</b>(<i></i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
169 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
170 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
171 | Private slot to handle the code style check context menu action |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
172 | of the editors. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
173 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
174 | <a NAME="PyrightPlugin.__editorShowMenu" ID="PyrightPlugin.__editorShowMenu"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
175 | <h4>PyrightPlugin.__editorShowMenu</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
176 | <b>__editorShowMenu</b>(<i>menuName, menu, editor</i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
177 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
178 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
179 | Private slot called, when the the editor context menu or a submenu is |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
180 | about to be shown. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
181 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
182 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
183 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
184 | <dt><i>menuName</i> (str)</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
185 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
186 | name of the menu to be shown |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
187 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
188 | <dt><i>menu</i> (QMenu)</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
189 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
190 | reference to the menu |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
191 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
192 | <dt><i>editor</i> (QScintilla.Editor)</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
193 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
194 | reference to the editor |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
195 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
196 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
197 | <a NAME="PyrightPlugin.__initialize" ID="PyrightPlugin.__initialize"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
198 | <h4>PyrightPlugin.__initialize</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
199 | <b>__initialize</b>(<i></i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
200 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
201 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
202 | Private slot to (re)initialize the plug-in. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
203 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
204 | <a NAME="PyrightPlugin.__loadTranslator" ID="PyrightPlugin.__loadTranslator"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
205 | <h4>PyrightPlugin.__loadTranslator</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
206 | <b>__loadTranslator</b>(<i></i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
207 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
208 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
209 | Private method to load the translation file. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
210 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
211 | <a NAME="PyrightPlugin.__projectBrowserPyrightCheck" ID="PyrightPlugin.__projectBrowserPyrightCheck"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
212 | <h4>PyrightPlugin.__projectBrowserPyrightCheck</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
213 | <b>__projectBrowserPyrightCheck</b>(<i></i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
214 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
215 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
216 | Private method to handle the static typing check context menu action of |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
217 | the project sources browser. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
218 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
219 | <a NAME="PyrightPlugin.__projectBrowserShowMenu" ID="PyrightPlugin.__projectBrowserShowMenu"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
220 | <h4>PyrightPlugin.__projectBrowserShowMenu</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
221 | <b>__projectBrowserShowMenu</b>(<i>menuName, menu</i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
222 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
223 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
224 | Private slot called, when the the project browser menu or a submenu is |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
225 | about to be shown. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
226 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
227 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
228 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
229 | <dt><i>menuName</i> (str)</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
230 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
231 | name of the menu to be shown |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
232 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
233 | <dt><i>menu</i> (QMenu)</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
234 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
235 | reference to the menu |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
236 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
237 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
238 | <a NAME="PyrightPlugin.__projectPyrightCheck" ID="PyrightPlugin.__projectPyrightCheck"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
239 | <h4>PyrightPlugin.__projectPyrightCheck</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
240 | <b>__projectPyrightCheck</b>(<i></i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
241 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
242 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
243 | Private slot used to check the project for static typing issues. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
244 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
245 | <a NAME="PyrightPlugin.__projectShowMenu" ID="PyrightPlugin.__projectShowMenu"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
246 | <h4>PyrightPlugin.__projectShowMenu</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
247 | <b>__projectShowMenu</b>(<i>menuName, menu, </i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
248 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
249 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
250 | Private slot called, when the the project menu or a submenu is |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
251 | about to be shown. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
252 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
253 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
254 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
255 | <dt><i>menuName</i> (str)</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
256 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
257 | name of the menu to be shown |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
258 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
259 | <dt><i>menu</i> (QMenu)</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
260 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
261 | reference to the menu |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
262 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
263 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
264 | <a NAME="PyrightPlugin.activate" ID="PyrightPlugin.activate"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
265 | <h4>PyrightPlugin.activate</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
266 | <b>activate</b>(<i></i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
267 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
268 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
269 | Public method to activate this plug-in. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
270 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
271 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
272 | <dt>Return:</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
273 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
274 | tuple of None and activation status |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
275 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
276 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
277 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
278 | <dt>Return Type:</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
279 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
280 | bool |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
281 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
282 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
283 | <a NAME="PyrightPlugin.deactivate" ID="PyrightPlugin.deactivate"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
284 | <h4>PyrightPlugin.deactivate</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
285 | <b>deactivate</b>(<i></i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
286 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
287 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
288 | Public method to deactivate this plug-in. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
289 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
290 | <div align="right"><a href="#top">Up</a></div> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
291 | <hr /> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
292 | <hr /> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
293 | <a NAME="installDependencies" ID="installDependencies"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
294 | <h2>installDependencies</h2> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
295 | <b>installDependencies</b>(<i>pipInstall</i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
296 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
297 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
298 | Function to install dependencies of this plug-in. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
299 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
300 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
301 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
302 | <dt><i>pipInstall</i> (function)</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
303 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
304 | function to be called with a list of package names. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
305 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
306 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
307 | <div align="right"><a href="#top">Up</a></div> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
308 | <hr /> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
309 | <hr /> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
310 | <a NAME="prepareUninstall" ID="prepareUninstall"></a> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
311 | <h2>prepareUninstall</h2> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
312 | <b>prepareUninstall</b>(<i></i>) |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
313 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
314 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
315 | Module function to prepare for an uninstallation. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
316 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
317 | <div align="right"><a href="#top">Up</a></div> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
318 | <hr /> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
319 | </body></html> |