70 <td>Private slot called, when the the editor context menu or a submenu is about to be shown.</td> |
70 <td>Private slot called, when the the editor context menu or a submenu is about to be shown.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#SyntaxCheckerPlugin.__editorSyntaxCheck">__editorSyntaxCheck</a></td> |
72 <td><a href="#SyntaxCheckerPlugin.__editorSyntaxCheck">__editorSyntaxCheck</a></td> |
73 <td>Private slot to handle the syntax check context menu action of the editors.</td> |
73 <td>Private slot to handle the syntax check context menu action of the editors.</td> |
74 </tr><tr> |
74 </tr><tr> |
|
75 <td><a href="#SyntaxCheckerPlugin.__getPythonOptions">__getPythonOptions</a></td> |
|
76 <td>Private methode to determine the syntax check options.</td> |
|
77 </tr><tr> |
75 <td><a href="#SyntaxCheckerPlugin.__initialize">__initialize</a></td> |
78 <td><a href="#SyntaxCheckerPlugin.__initialize">__initialize</a></td> |
76 <td>Private slot to (re)initialize the plugin.</td> |
79 <td>Private slot to (re)initialize the plugin.</td> |
77 </tr><tr> |
80 </tr><tr> |
78 <td><a href="#SyntaxCheckerPlugin.__projectBrowserShowMenu">__projectBrowserShowMenu</a></td> |
81 <td><a href="#SyntaxCheckerPlugin.__projectBrowserShowMenu">__projectBrowserShowMenu</a></td> |
79 <td>Private slot called, when the the project browser menu or a submenu is about to be shown.</td> |
82 <td>Private slot called, when the the project browser menu or a submenu is about to be shown.</td> |
84 <td><a href="#SyntaxCheckerPlugin.__projectShowMenu">__projectShowMenu</a></td> |
87 <td><a href="#SyntaxCheckerPlugin.__projectShowMenu">__projectShowMenu</a></td> |
85 <td>Private slot called, when the the project menu or a submenu is about to be shown.</td> |
88 <td>Private slot called, when the the project menu or a submenu is about to be shown.</td> |
86 </tr><tr> |
89 </tr><tr> |
87 <td><a href="#SyntaxCheckerPlugin.__projectSyntaxCheck">__projectSyntaxCheck</a></td> |
90 <td><a href="#SyntaxCheckerPlugin.__projectSyntaxCheck">__projectSyntaxCheck</a></td> |
88 <td>Public slot used to check the project files for syntax errors.</td> |
91 <td>Public slot used to check the project files for syntax errors.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#SyntaxCheckerPlugin.__translateSyntaxCheck">__translateSyntaxCheck</a></td> |
|
94 <td>Slot to translate the resulting messages.</td> |
89 </tr><tr> |
95 </tr><tr> |
90 <td><a href="#SyntaxCheckerPlugin.activate">activate</a></td> |
96 <td><a href="#SyntaxCheckerPlugin.activate">activate</a></td> |
91 <td>Public method to activate this plugin.</td> |
97 <td>Public method to activate this plugin.</td> |
92 </tr><tr> |
98 </tr><tr> |
93 <td><a href="#SyntaxCheckerPlugin.deactivate">deactivate</a></td> |
99 <td><a href="#SyntaxCheckerPlugin.deactivate">deactivate</a></td> |
149 <h4>SyntaxCheckerPlugin.__editorSyntaxCheck</h4> |
155 <h4>SyntaxCheckerPlugin.__editorSyntaxCheck</h4> |
150 <b>__editorSyntaxCheck</b>(<i></i>) |
156 <b>__editorSyntaxCheck</b>(<i></i>) |
151 <p> |
157 <p> |
152 Private slot to handle the syntax check context menu action of the |
158 Private slot to handle the syntax check context menu action of the |
153 editors. |
159 editors. |
154 </p><a NAME="SyntaxCheckerPlugin.__initialize" ID="SyntaxCheckerPlugin.__initialize"></a> |
160 </p><a NAME="SyntaxCheckerPlugin.__getPythonOptions" ID="SyntaxCheckerPlugin.__getPythonOptions"></a> |
|
161 <h4>SyntaxCheckerPlugin.__getPythonOptions</h4> |
|
162 <b>__getPythonOptions</b>(<i></i>) |
|
163 <p> |
|
164 Private methode to determine the syntax check options. |
|
165 </p><dl> |
|
166 <dt>Returns:</dt> |
|
167 <dd> |
|
168 state of checkFlakes and ignoreStarImportWarnings (bool, bool) |
|
169 </dd> |
|
170 </dl><a NAME="SyntaxCheckerPlugin.__initialize" ID="SyntaxCheckerPlugin.__initialize"></a> |
155 <h4>SyntaxCheckerPlugin.__initialize</h4> |
171 <h4>SyntaxCheckerPlugin.__initialize</h4> |
156 <b>__initialize</b>(<i></i>) |
172 <b>__initialize</b>(<i></i>) |
157 <p> |
173 <p> |
158 Private slot to (re)initialize the plugin. |
174 Private slot to (re)initialize the plugin. |
159 </p><a NAME="SyntaxCheckerPlugin.__projectBrowserShowMenu" ID="SyntaxCheckerPlugin.__projectBrowserShowMenu"></a> |
175 </p><a NAME="SyntaxCheckerPlugin.__projectBrowserShowMenu" ID="SyntaxCheckerPlugin.__projectBrowserShowMenu"></a> |
193 </dl><a NAME="SyntaxCheckerPlugin.__projectSyntaxCheck" ID="SyntaxCheckerPlugin.__projectSyntaxCheck"></a> |
209 </dl><a NAME="SyntaxCheckerPlugin.__projectSyntaxCheck" ID="SyntaxCheckerPlugin.__projectSyntaxCheck"></a> |
194 <h4>SyntaxCheckerPlugin.__projectSyntaxCheck</h4> |
210 <h4>SyntaxCheckerPlugin.__projectSyntaxCheck</h4> |
195 <b>__projectSyntaxCheck</b>(<i></i>) |
211 <b>__projectSyntaxCheck</b>(<i></i>) |
196 <p> |
212 <p> |
197 Public slot used to check the project files for syntax errors. |
213 Public slot used to check the project files for syntax errors. |
198 </p><a NAME="SyntaxCheckerPlugin.activate" ID="SyntaxCheckerPlugin.activate"></a> |
214 </p><a NAME="SyntaxCheckerPlugin.__translateSyntaxCheck" ID="SyntaxCheckerPlugin.__translateSyntaxCheck"></a> |
|
215 <h4>SyntaxCheckerPlugin.__translateSyntaxCheck</h4> |
|
216 <b>__translateSyntaxCheck</b>(<i>fn, problems</i>) |
|
217 <p> |
|
218 Slot to translate the resulting messages. |
|
219 </p><p> |
|
220 If checkFlakes is True, warnings contains a list of strings containing |
|
221 the warnings (marker, file name, line number, message) |
|
222 The values are only valid, if nok is False. |
|
223 </p><dl> |
|
224 <dt><i>fn</i></dt> |
|
225 <dd> |
|
226 filename of the checked file (str) |
|
227 </dd><dt><i>problems</i></dt> |
|
228 <dd> |
|
229 dictionary with the keys 'error' and 'warnings' which |
|
230 hold a list containing details about the error/ warnings |
|
231 (file name, line number, column, codestring (only at syntax |
|
232 errors), the message, a list with arguments for the message) |
|
233 </dd> |
|
234 </dl><a NAME="SyntaxCheckerPlugin.activate" ID="SyntaxCheckerPlugin.activate"></a> |
199 <h4>SyntaxCheckerPlugin.activate</h4> |
235 <h4>SyntaxCheckerPlugin.activate</h4> |
200 <b>activate</b>(<i></i>) |
236 <b>activate</b>(<i></i>) |
201 <p> |
237 <p> |
202 Public method to activate this plugin. |
238 Public method to activate this plugin. |
203 </p><dl> |
239 </p><dl> |