Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions EasyClangComplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class EccShowPopupInfoCommand(sublime_plugin.TextCommand):
def run(self, edit):
"""Run show popup info command."""
position = self.view.sel()[0].begin()
EasyClangComplete.begin_show_info_job(self.view, position)
EasyClangComplete.begin_show_info_job(self.view, position, True)


class EasyClangComplete(sublime_plugin.EventListener):
Expand Down Expand Up @@ -548,7 +548,7 @@ def on_hover(self, view, point, hover_zone):
EasyClangComplete.begin_show_info_job(view, point)

@staticmethod
def begin_show_info_job(view, position):
def begin_show_info_job(view, position, force=False):
"""Start thead job to show popup info.

Triggers showing popup with additional information about about
Expand All @@ -560,7 +560,7 @@ def begin_show_info_job(view, position):
settings = EasyClangComplete.settings_manager.settings_for_view(view)
if not SublBridge.has_valid_syntax(view, settings):
return
if not settings.show_type_info:
if not force and not settings.show_type_info:
return

tooltip_request = ActionRequest(view, position)
Expand Down