Tue, 10 Dec 2024 15:48:51 +0100
Updated copyright for 2025.
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> |
3
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
33 | <td><a href="#exeDisplayData">exeDisplayData</a></td> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
34 | <td>Public method to support the display of some executable info.</td> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
35 | </tr> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
36 | <tr> |
1
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
37 | <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
|
38 | <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
|
39 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
40 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
41 | <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
|
42 | <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
|
43 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
44 | </table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
45 | <hr /> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
46 | <hr /> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
47 | <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
|
48 | <h2>PyrightPlugin</h2> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
49 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
50 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
51 | Class documentation goes here. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
52 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
53 | <h3>Derived from</h3> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
54 | QObject |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
55 | <h3>Class Attributes</h3> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
56 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
57 | <table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
58 | <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
|
59 | </table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
60 | <h3>Class Methods</h3> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
61 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
62 | <table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
63 | <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
|
64 | </table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
65 | <h3>Methods</h3> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
66 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
67 | <table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
68 | |
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.__init__">PyrightPlugin</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
71 | <td>Constructor</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.__editorClosed">__editorClosed</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 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
|
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.__editorOpened">__editorOpened</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 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
|
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.__editorPyrightCheck">__editorPyrightCheck</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 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
|
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.__editorShowMenu">__editorShowMenu</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 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
|
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.__initialize">__initialize</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 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
|
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.__loadTranslator">__loadTranslator</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 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
|
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.__projectBrowserPyrightCheck">__projectBrowserPyrightCheck</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 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
|
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.__projectBrowserShowMenu">__projectBrowserShowMenu</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 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
|
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.__projectPyrightCheck">__projectPyrightCheck</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 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
|
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.__projectShowMenu">__projectShowMenu</a></td> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
111 | <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
|
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.activate">activate</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 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
|
116 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
117 | <tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
118 | <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
|
119 | <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
|
120 | </tr> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
121 | </table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
122 | <h3>Static Methods</h3> |
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 | <table> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
125 | <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
|
126 | </table> |
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 | <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
|
129 | <h4>PyrightPlugin (Constructor)</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
130 | <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
|
131 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
132 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
133 | Constructor |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
134 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
135 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
136 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
137 | <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
|
138 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
139 | 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
|
140 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
141 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
142 | <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
|
143 | <h4>PyrightPlugin.__editorClosed</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
144 | <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
|
145 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
146 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
147 | 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
|
148 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
149 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
150 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
151 | <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
|
152 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
153 | reference to the editor |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
154 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
155 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
156 | <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
|
157 | <h4>PyrightPlugin.__editorOpened</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
158 | <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
|
159 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
160 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
161 | 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
|
162 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
163 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
164 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
165 | <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
|
166 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
167 | 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
|
168 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
169 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
170 | <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
|
171 | <h4>PyrightPlugin.__editorPyrightCheck</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
172 | <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
|
173 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
174 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
175 | 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
|
176 | of the editors. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
177 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
178 | <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
|
179 | <h4>PyrightPlugin.__editorShowMenu</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
180 | <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
|
181 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
182 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
183 | 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
|
184 | about to be shown. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
185 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
186 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
187 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
188 | <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
|
189 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
190 | 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
|
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>menu</i> (QMenu)</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 menu |
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 | <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
|
197 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
198 | reference to the editor |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
199 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
200 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
201 | <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
|
202 | <h4>PyrightPlugin.__initialize</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
203 | <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
|
204 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
205 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
206 | 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
|
207 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
208 | <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
|
209 | <h4>PyrightPlugin.__loadTranslator</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
210 | <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
|
211 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
212 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
213 | 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
|
214 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
215 | <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
|
216 | <h4>PyrightPlugin.__projectBrowserPyrightCheck</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
217 | <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
|
218 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
219 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
220 | 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
|
221 | the project sources browser. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
222 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
223 | <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
|
224 | <h4>PyrightPlugin.__projectBrowserShowMenu</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
225 | <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
|
226 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
227 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
228 | 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
|
229 | about to be shown. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
230 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
231 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
232 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
233 | <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
|
234 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
235 | 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
|
236 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
237 | <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
|
238 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
239 | reference to the menu |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
240 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
241 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
242 | <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
|
243 | <h4>PyrightPlugin.__projectPyrightCheck</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
244 | <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
|
245 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
246 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
247 | 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
|
248 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
249 | <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
|
250 | <h4>PyrightPlugin.__projectShowMenu</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
251 | <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
|
252 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
253 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
254 | 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
|
255 | about to be shown. |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
256 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
257 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
258 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
259 | <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
|
260 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
261 | 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
|
262 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
263 | <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
|
264 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
265 | reference to the menu |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
266 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
267 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
268 | <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
|
269 | <h4>PyrightPlugin.activate</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
270 | <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
|
271 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
272 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
273 | 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
|
274 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
275 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
276 | <dt>Return:</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
277 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
278 | 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
|
279 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
280 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
281 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
282 | <dt>Return Type:</dt> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
283 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
284 | bool |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
285 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
286 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
287 | <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
|
288 | <h4>PyrightPlugin.deactivate</h4> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
289 | <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
|
290 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
291 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
292 | 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
|
293 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
294 | <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
|
295 | <hr /> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
296 | <hr /> |
3
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
297 | <a NAME="exeDisplayData" ID="exeDisplayData"></a> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
298 | <h2>exeDisplayData</h2> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
299 | <b>exeDisplayData</b>(<i></i>) |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
300 | |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
301 | <p> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
302 | Public method to support the display of some executable info. |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
303 | </p> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
304 | <dl> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
305 | <dt>Return:</dt> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
306 | <dd> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
307 | dictionary containing the data to query the presence of |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
308 | the executable |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
309 | </dd> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
310 | </dl> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
311 | <dl> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
312 | <dt>Return Type:</dt> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
313 | <dd> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
314 | dict |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
315 | </dd> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
316 | </dl> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
317 | <div align="right"><a href="#top">Up</a></div> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
318 | <hr /> |
109b8e5513d8
Added the plugin function to determine the interfaced executable version information.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
1
diff
changeset
|
319 | <hr /> |
1
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
320 | <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
|
321 | <h2>installDependencies</h2> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
322 | <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
|
323 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
324 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
325 | 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
|
326 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
327 | <dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
328 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
329 | <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
|
330 | <dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
331 | 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
|
332 | </dd> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
333 | </dl> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
334 | <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
|
335 | <hr /> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
336 | <hr /> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
337 | <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
|
338 | <h2>prepareUninstall</h2> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
339 | <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
|
340 | |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
341 | <p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
342 | 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
|
343 | </p> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
344 | <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
|
345 | <hr /> |
191e9ec72893
Implemented the first iteration of the pyright typing checker interface.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
346 | </body></html> |