Skip to content

Commit

Permalink
Merge pull request #4465 from cvanwynsberghe/add-annotations-menu
Browse files Browse the repository at this point in the history
PR: Complete annotation types in Preferences and Source toolbox
  • Loading branch information
ccordoba12 authored May 12, 2017
2 parents 67857dd + bd87f27 commit 426184f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spyder/plugins/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ def setup_page(self):
"a comment to ignore style analysis "
"warnings.</p>"))
pep8_box.setEnabled(is_pep8)
todolist_box = newcb(_("Code annotations (TODO, FIXME, XXX, HINT, TIP, @todo)"),
todolist_box = newcb(_("Code annotations (TODO, FIXME, XXX, HINT, TIP,"
" @todo, HACK, BUG, OPTIMIZE, !!!, ???)"),
'todo_list', default=True)
realtime_radio = self.create_radiobutton(
_("Perform analysis when "
Expand Down Expand Up @@ -849,7 +850,8 @@ def get_plugin_actions(self):
# --- Source code Toolbar ---
self.todo_list_action = create_action(self,
_("Show todo list"), icon=ima.icon('todo_list'),
tip=_("Show TODO/FIXME/XXX/HINT/TIP/@todo comments list"),
tip=_("Show comments list (TODO/FIXME/XXX/HINT/TIP/@todo/"
"HACK/BUG/OPTIMIZE/!!!/???)"),
triggered=self.go_to_next_todo)
self.todo_menu = QMenu(self)
self.todo_list_action.setMenu(self.todo_menu)
Expand Down

0 comments on commit 426184f

Please sign in to comment.