Skip to content

Commit 426184f

Browse files
authored
Merge pull request #4465 from cvanwynsberghe/add-annotations-menu
PR: Complete annotation types in Preferences and Source toolbox
2 parents 67857dd + bd87f27 commit 426184f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: spyder/plugins/editor.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,8 @@ def setup_page(self):
244244
"a comment to ignore style analysis "
245245
"warnings.</p>"))
246246
pep8_box.setEnabled(is_pep8)
247-
todolist_box = newcb(_("Code annotations (TODO, FIXME, XXX, HINT, TIP, @todo)"),
247+
todolist_box = newcb(_("Code annotations (TODO, FIXME, XXX, HINT, TIP,"
248+
" @todo, HACK, BUG, OPTIMIZE, !!!, ???)"),
248249
'todo_list', default=True)
249250
realtime_radio = self.create_radiobutton(
250251
_("Perform analysis when "
@@ -849,7 +850,8 @@ def get_plugin_actions(self):
849850
# --- Source code Toolbar ---
850851
self.todo_list_action = create_action(self,
851852
_("Show todo list"), icon=ima.icon('todo_list'),
852-
tip=_("Show TODO/FIXME/XXX/HINT/TIP/@todo comments list"),
853+
tip=_("Show comments list (TODO/FIXME/XXX/HINT/TIP/@todo/"
854+
"HACK/BUG/OPTIMIZE/!!!/???)"),
853855
triggered=self.go_to_next_todo)
854856
self.todo_menu = QMenu(self)
855857
self.todo_list_action.setMenu(self.todo_menu)

0 commit comments

Comments
 (0)